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 Constructor Description OpenflowpluginGroupTestServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddGroupOutput>>
addGroup(AddGroupInput input)
Invokeadd-group
RPC.void
close()
org.opendaylight.yangtools.concepts.ObjectRegistration<SalGroupService>
getGroupRegistration()
Get group registration.org.opendaylight.mdsal.binding.api.NotificationPublishService
getNotificationService()
Get 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-group
RPC.void
setGroupRegistration(org.opendaylight.yangtools.concepts.ObjectRegistration<SalGroupService> groupRegistration)
SetgroupRegistration
.void
setNotificationService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService)
SetnotificationService
.void
start()
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupOutput>>
updateGroup(UpdateGroupInput input)
Invokeupdate-group
RPC.
-
-
-
Method Detail
-
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:
close
in interfaceAutoCloseable
-
addGroup
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddGroupOutput>> addGroup(AddGroupInput input)
Description copied from interface:SalGroupService
Invokeadd-group
RPC.Adding group to openflow device
- Specified by:
addGroup
in 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:SalGroupService
Invokeremove-group
RPC.Removing group from openflow device
- Specified by:
removeGroup
in 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:SalGroupService
Invokeupdate-group
RPC.Updating group on openflow device
- Specified by:
updateGroup
in 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)
-
-