Class MdSalRegistrationUtils
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.util.MdSalRegistrationUtils
-
public final class MdSalRegistrationUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
registerServices(@NonNull RpcContext rpcContext, @NonNull DeviceContext deviceContext, ExtensionConverterProvider extensionConverterProvider, ConvertorExecutor convertorExecutor)
Method registers all OF services for roleOfpRole.BECOMEMASTER
.static void
registerStatCompatibilityServices(RpcContext rpcContext, DeviceContext deviceContext, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, ConvertorExecutor convertorExecutor)
Support deprecated statistic related services for backward compatibility.
-
-
-
Method Detail
-
registerServices
public static void registerServices(@NonNull RpcContext rpcContext, @NonNull DeviceContext deviceContext, ExtensionConverterProvider extensionConverterProvider, ConvertorExecutor convertorExecutor)
Method registers all OF services for roleOfpRole.BECOMEMASTER
.- Parameters:
rpcContext
- - registration processing is implemented inRpcContext
deviceContext
- - every service needsDeviceContext
as input parameterconvertorExecutor
- convertor executor
-
registerStatCompatibilityServices
public static void registerStatCompatibilityServices(RpcContext rpcContext, DeviceContext deviceContext, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, ConvertorExecutor convertorExecutor)
Support deprecated statistic related services for backward compatibility. The only exception from deprecation is the aggregated flow statistic with match criteria input.- Parameters:
rpcContext
- - registration processing is implemented inRpcContext
deviceContext
- - every service needsDeviceContext
as input parameternotificationPublishService
- - notification serviceconvertorExecutor
- - convertor executor
-
-