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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddGroupOutput>>addGroup(AddGroupInput input) Invokeadd-groupRPC.voidclose()org.opendaylight.yangtools.concepts.ObjectRegistration<SalGroupService>Get group registration.org.opendaylight.mdsal.binding.api.NotificationPublishServiceGet notification service.org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginGroupTestServiceProvider>register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry) com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupOutput>>removeGroup(RemoveGroupInput input) Invokeremove-groupRPC.voidsetGroupRegistration(org.opendaylight.yangtools.concepts.ObjectRegistration<SalGroupService> groupRegistration) SetgroupRegistration.voidsetNotificationService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService) SetnotificationService.voidstart()com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupOutput>>updateGroup(UpdateGroupInput input) Invokeupdate-groupRPC.
-
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) SetgroupRegistration. -
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) SetnotificationService. -
start
public void start() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
addGroup
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddGroupOutput>> addGroup(AddGroupInput input) Description copied from interface:SalGroupServiceInvokeadd-groupRPC.Adding group to openflow device- Specified by:
addGroupin interfaceSalGroupService- Parameters:
input- ofadd-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:SalGroupServiceInvokeremove-groupRPC.Removing group from openflow device- Specified by:
removeGroupin interfaceSalGroupService- Parameters:
input- ofremove-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:SalGroupServiceInvokeupdate-groupRPC.Updating group on openflow device- Specified by:
updateGroupin interfaceSalGroupService- Parameters:
input- ofupdate-group- Returns:
- output of
update-group
-
register
public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginGroupTestServiceProvider> register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)
-