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)
Adding group to openflow devicevoid
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)
Removing group from openflow devicevoid
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)
Updating group on openflow device
-
-
-
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
Adding group to openflow device- Specified by:
addGroup
in interfaceSalGroupService
-
removeGroup
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveGroupOutput>> removeGroup(RemoveGroupInput input)
Description copied from interface:SalGroupService
Removing group from openflow device- Specified by:
removeGroup
in interfaceSalGroupService
-
updateGroup
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateGroupOutput>> updateGroup(UpdateGroupInput input)
Description copied from interface:SalGroupService
Updating group on openflow device- Specified by:
updateGroup
in interfaceSalGroupService
-
register
public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginGroupTestServiceProvider> register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)
-
-