public class OpenflowpluginTestServiceProvider extends Object implements AutoCloseable, SalFlowService
| Constructor and Description |
|---|
OpenflowpluginTestServiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
Future<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.BindingAwareBroker.ProviderContext ctx) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> |
removeFlow(RemoveFlowInput input)
Removing flow from openflow device.
|
void |
setDataService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService)
Set
dataService. |
void |
setFlowRegistration(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalFlowService> flowRegistration)
Set
flowRegistration. |
void |
setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationProviderService service)
|
void |
start() |
Future<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> |
updateFlow(UpdateFlowInput input)
Updating flow on openflow device.
|
public org.opendaylight.controller.md.sal.binding.api.DataBroker getDataService()
dataServicepublic void setDataService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService)
dataService.public 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 setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationProviderService service)
public void start()
public void close()
throws Exception
close in interface AutoCloseableExceptionpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow(AddFlowInput input)
SalFlowServiceaddFlow in interface SalFlowServicepublic Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow(RemoveFlowInput input)
SalFlowServiceremoveFlow in interface SalFlowServicepublic Future<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.BindingAwareBroker.ProviderContext ctx)
Copyright © 2018 OpenDaylight. All rights reserved.