X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Futil%2FMdSalRegistratorUtils.java;h=26d081d4cb40a8bd69897841d01abc1ab1ca7ca3;hb=0fafeeacf4661085eb97a79d002e1d125c0a232a;hp=be5ebd442dfd6d3b70518415a709e5c590a84bdc;hpb=e0f6475b38f0e21de167b2fec166431db29fe036;p=openflowplugin.git diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/util/MdSalRegistratorUtils.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/util/MdSalRegistratorUtils.java index be5ebd442d..26d081d4cb 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/util/MdSalRegistratorUtils.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/util/MdSalRegistratorUtils.java @@ -33,10 +33,11 @@ public class MdSalRegistratorUtils { public static void registerServices(final RpcContext rpcContext, final DeviceContext deviceContext) { rpcContext.registerRpcServiceImplementation(SalFlowService.class, new SalFlowServiceImpl(rpcContext, deviceContext)); + //TODO: add constructors with rcpContext and deviceContext to meter, group, table constructors rpcContext.registerRpcServiceImplementation(SalMeterService.class, new SalMeterServiceImpl()); rpcContext.registerRpcServiceImplementation(SalGroupService.class, new SalGroupServiceImpl()); rpcContext.registerRpcServiceImplementation(SalTableService.class, new SalTableServiceImpl()); - rpcContext.registerRpcServiceImplementation(PacketProcessingService.class, new PacketProcessingServiceImpl()); + rpcContext.registerRpcServiceImplementation(PacketProcessingService.class, new PacketProcessingServiceImpl(rpcContext, deviceContext)); rpcContext.registerRpcServiceImplementation(NodeConfigService.class, new NodeConfigServiceImpl()); } }