DeviceState changes
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / statistics / services / direct / FlowDirectStatisticsService.java
index 72066b0395f578dc3f72600e121d2b347f04ba93..34f32b9d73a2d27201fd67175756190e2256621e 100644 (file)
@@ -132,7 +132,7 @@ public class FlowDirectStatisticsService extends AbstractDirectStatisticsService
     @Override
     protected void storeStatistics(GetFlowStatisticsOutput output) throws Exception {
         final InstanceIdentifier<FlowCapableNode> nodePath = getDeviceContext()
-                .getDeviceState().getNodeInstanceIdentifier().augmentation(FlowCapableNode.class);
+                .getDeviceInfo().getNodeInstanceIdentifier().augmentation(FlowCapableNode.class);
 
         for (final FlowAndStatisticsMapList flowStatistics : output.getFlowAndStatisticsMapList()) {
             final FlowId flowId = generateFlowId(flowStatistics);