SalMeterService, //
SalPortService, //
PacketProcessingService, //
- OpendaylightGroupStatisticsService,
- OpendaylightMeterStatisticsService,
+ OpendaylightGroupStatisticsService, //
+ OpendaylightMeterStatisticsService, //
Identifiable<InstanceIdentifier<Node>> {
CompositeObjectRegistration<ModelDrivenSwitch> register(ProviderContext ctx);
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());
//Generate xid to associate it with the request
Long xid = this.getSessionContext().getNextXid();
- LOG.debug("Prepare statistics request for group ({}) - Transaction id - {}",input.getId().toString(),xid);
+ LOG.debug("Prepare statistics request for node {} group ({}) - Transaction id - {}",input.getNode(),input.getGroupId(),xid);
// Create multipart request header
MultipartRequestInputBuilder mprInput = new MultipartRequestInputBuilder();