public class OpenflowpluginTestServiceProvider extends Object implements AutoCloseable, SalFlowService
| Constructor and Description |
|---|
OpenflowpluginTestServiceProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService,
org.opendaylight.controller.sal.binding.api.NotificationProviderService notificationProviderService) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> |
addFlow(AddFlowInput input)
Adding flow to openflow device.
|
void |
close() |
org.opendaylight.controller.md.sal.binding.api.DataBroker |
getDataService()
Get data service.
|
org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalFlowService> |
getFlowRegistration()
Get flow registration.
|
org.opendaylight.controller.sal.binding.api.NotificationProviderService |
getNotificationService()
Get notification service.
|
org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTestServiceProvider> |
register(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> |
removeFlow(RemoveFlowInput input)
Removing flow from openflow device.
|
void |
setFlowRegistration(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalFlowService> flowRegistration)
Set
flowRegistration. |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> |
updateFlow(UpdateFlowInput input)
Updating flow on openflow device.
|
public OpenflowpluginTestServiceProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService,
org.opendaylight.controller.sal.binding.api.NotificationProviderService notificationProviderService)
public org.opendaylight.controller.md.sal.binding.api.DataBroker getDataService()
dataServicepublic org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalFlowService> getFlowRegistration()
flowRegistrationpublic void setFlowRegistration(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalFlowService> flowRegistration)
flowRegistration.public org.opendaylight.controller.sal.binding.api.NotificationProviderService getNotificationService()
notificationProviderServicepublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow(AddFlowInput input)
SalFlowServiceaddFlow in interface SalFlowServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow(RemoveFlowInput input)
SalFlowServiceremoveFlow in interface SalFlowServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> updateFlow(UpdateFlowInput input)
SalFlowServiceupdateFlow in interface SalFlowServicepublic org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTestServiceProvider> register(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry)
Copyright © 2019 OpenDaylight. All rights reserved.