import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration;
-import org.opendaylight.openflowplugin.openflow.md.ModelDrivenSwitch;
-import org.opendaylight.openflowplugin.openflow.md.core.session.SessionContext;
+import org.opendaylight.openflowplugin.api.openflow.md.ModelDrivenSwitch;
+import org.opendaylight.openflowplugin.api.openflow.md.core.session.SessionContext;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.statistics.rev130819.OpendaylightFlowStatisticsService;
import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.table.statistics.rev131215.OpendaylightFlowTableStatisticsService;
private RoutedRpcRegistration<SalTableService> tableRegistration;
private RoutedRpcRegistration<SalMeterService> meterRegistration;
+
+ private RoutedRpcRegistration<SalPortService> portRegistration;
private RoutedRpcRegistration<PacketProcessingService> packetRegistration;
- private RoutedRpcRegistration<SalPortService> portRegistration;
-
private RoutedRpcRegistration<OpendaylightFlowStatisticsService> flowStatisticsRegistration;
private RoutedRpcRegistration<OpendaylightGroupStatisticsService> groupStatisticsRegistration;
flowRegistration = ctx.addRoutedRpcImplementation(SalFlowService.class, this);
flowRegistration.registerPath(NodeContext.class, getIdentifier());
builder.add(flowRegistration);
+
+ portRegistration = ctx.addRoutedRpcImplementation(SalPortService.class, this);
+ portRegistration.registerPath(NodeContext.class, getIdentifier());
+ builder.add(portRegistration);
meterRegistration = ctx.addRoutedRpcImplementation(SalMeterService.class, this);
meterRegistration.registerPath(NodeContext.class, getIdentifier());
tableRegistration.registerPath(NodeContext.class, getIdentifier());
builder.add(tableRegistration);
- portRegistration = ctx.addRoutedRpcImplementation(SalPortService.class, this);
- portRegistration.registerPath(NodeContext.class, getIdentifier());
- builder.add(portRegistration);
-
-
packetRegistration = ctx.addRoutedRpcImplementation(PacketProcessingService.class, this);
packetRegistration.registerPath(NodeContext.class, getIdentifier());
builder.add(packetRegistration);