FlowConverter bugfix
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / AbstractModelDrivenSwitch.java
index a0f72da8f67fe135a8afe27f42f7547751605870..ffaddf73168034c46fd4f54bcc2d66e803d45aa3 100644 (file)
@@ -63,17 +63,17 @@ public abstract class AbstractModelDrivenSwitch implements ModelDrivenSwitch {
         flowRegistration.registerPath(NodeContext.class, getIdentifier());
         builder.add(flowRegistration);
 
-        //meterRegistration = ctx.addRoutedRpcImplementation(SalMeterService.class, this);
-        //meterRegistration.registerPath(NodeContext.class, getIdentifier());
-        //builder.add(meterRegistration);
+        meterRegistration = ctx.addRoutedRpcImplementation(SalMeterService.class, this);
+        meterRegistration.registerPath(NodeContext.class, getIdentifier());
+        builder.add(meterRegistration);
 
-        //groupRegistration = ctx.addRoutedRpcImplementation(SalGroupService.class, this);
-        //groupRegistration.registerPath(NodeContext.class, getIdentifier());
-        //builder.add(groupRegistration);
+        groupRegistration = ctx.addRoutedRpcImplementation(SalGroupService.class, this);
+        groupRegistration.registerPath(NodeContext.class, getIdentifier());
+        builder.add(groupRegistration);
 
-        //packetRegistration = ctx.addRoutedRpcImplementation(PacketProcessingService.class, this);
-        //packetRegistration.registerPath(NodeContext.class, getIdentifier());
-        //builder.add(packetRegistration);
+        packetRegistration = ctx.addRoutedRpcImplementation(PacketProcessingService.class, this);
+        packetRegistration.registerPath(NodeContext.class, getIdentifier());
+        builder.add(packetRegistration);
         
         groupStatisticsRegistration = ctx.addRoutedRpcImplementation(OpendaylightGroupStatisticsService.class, this);
         groupStatisticsRegistration.registerPath(NodeContext.class, getIdentifier());