Class OpenflowpluginTableFeaturesTestServiceProvider
java.lang.Object
org.opendaylight.openflowplugin.test.OpenflowpluginTableFeaturesTestServiceProvider
- All Implemented Interfaces:
AutoCloseable,SalTableService,org.opendaylight.yangtools.yang.binding.RpcService
public class OpenflowpluginTableFeaturesTestServiceProvider
extends Object
implements AutoCloseable, SalTableService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.opendaylight.mdsal.binding.api.NotificationPublishServiceGet notification service.org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService>Get table registration.org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTableFeaturesTestServiceProvider>register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry) voidsetNotificationService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService) SetnotificationService.voidsetTableRegistration(org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService> tableRegistration) SettableRegistration.voidstart()com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateTableOutput>>updateTable(UpdateTableInput input) Invokeupdate-tableRPC.
-
Constructor Details
-
OpenflowpluginTableFeaturesTestServiceProvider
public OpenflowpluginTableFeaturesTestServiceProvider()
-
-
Method Details
-
getTableRegistration
public org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService> getTableRegistration()Get table registration.- Returns:
tableRegistration
-
setTableRegistration
public void setTableRegistration(org.opendaylight.yangtools.concepts.ObjectRegistration<SalTableService> tableRegistration) SettableRegistration. -
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
-
updateTable
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateTableOutput>> updateTable(UpdateTableInput input) Description copied from interface:SalTableServiceInvokeupdate-tableRPC.Configuring openflow table.- Specified by:
updateTablein interfaceSalTableService- Parameters:
input- ofupdate-table- Returns:
- output of
update-table
-
register
public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTableFeaturesTestServiceProvider> register(org.opendaylight.mdsal.binding.api.RpcProviderService rpcRegistry)
-