Class MdSalRegistrationUtils
java.lang.Object
org.opendaylight.openflowplugin.impl.util.MdSalRegistrationUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
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
-