Class OpenflowpluginGroupTestServiceProvider

java.lang.Object
org.opendaylight.openflowplugin.test.OpenflowpluginGroupTestServiceProvider
All Implemented Interfaces:
AutoCloseable, SalGroupService, org.opendaylight.yangtools.yang.binding.RpcService

public class OpenflowpluginGroupTestServiceProvider extends Object implements AutoCloseable, SalGroupService
  • Constructor Details

    • OpenflowpluginGroupTestServiceProvider

      public OpenflowpluginGroupTestServiceProvider()
  • Method Details

    • getGroupRegistration

      public org.opendaylight.yangtools.concepts.ObjectRegistration<SalGroupService> getGroupRegistration()
      Get group registration.
      Returns:
      groupRegistration
    • setGroupRegistration

      public void setGroupRegistration(org.opendaylight.yangtools.concepts.ObjectRegistration<SalGroupService> groupRegistration)
      Set groupRegistration.
    • getNotificationService

      public org.opendaylight.mdsal.binding.api.NotificationPublishService getNotificationService()
      Get notification service.
      Returns:
      notificationService
    • setNotificationService

      public void setNotificationService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService)
      Set notificationService.
    • start

      public void start()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • addGroup

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddGroupOutput>> addGroup(AddGroupInput input)
      Description copied from interface: SalGroupService
      Invoke add-group RPC.
           
               Adding group to openflow device
           
       
      Specified by:
      addGroup in interface SalGroupService
      Parameters:
      input - of add-group
      Returns:
      output of add-group
    • removeGroup

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupOutput>> removeGroup(RemoveGroupInput input)
      Description copied from interface: SalGroupService
      Invoke remove-group RPC.
           
               Removing group from openflow device
           
       
      Specified by:
      removeGroup in interface SalGroupService
      Parameters:
      input - of remove-group
      Returns:
      output of remove-group
    • updateGroup

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupOutput>> updateGroup(UpdateGroupInput input)
      Description copied from interface: SalGroupService
      Invoke update-group RPC.
           
               Updating group on openflow device
           
       
      Specified by:
      updateGroup in interface SalGroupService
      Parameters:
      input - of update-group
      Returns:
      output of update-group
    • register

      public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginGroupTestServiceProvider> register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)