Class MdSalRegistrationUtils

java.lang.Object
org.opendaylight.openflowplugin.impl.util.MdSalRegistrationUtils

public final class MdSalRegistrationUtils extends Object
  • Method Details

    • registerServices

      public static void registerServices(@NonNull RpcContext rpcContext, @NonNull DeviceContext deviceContext, ExtensionConverterProvider extensionConverterProvider, ConvertorExecutor convertorExecutor)
      Method registers all OF services for role OfpRole.BECOMEMASTER.
      Parameters:
      rpcContext - - registration processing is implemented in RpcContext
      deviceContext - - every service needs DeviceContext as input parameter
      convertorExecutor - 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 in RpcContext
      deviceContext - - every service needs DeviceContext as input parameter
      notificationPublishService - - notification service
      convertorExecutor - - convertor executor