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 notificationProviderService)
|
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()
dataService
public void setDataService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService)
dataService
dataService
- public org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalFlowService> getFlowRegistration()
flowRegistration
public void setFlowRegistration(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalFlowService> flowRegistration)
flowRegistration
flowRegistration
- public org.opendaylight.controller.sal.binding.api.NotificationProviderService getNotificationService()
notificationProviderService
public void setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationProviderService notificationProviderService)
notificationProviderService
- public void start()
public void close() throws Exception
close
in interface AutoCloseable
Exception
public Future<org.opendaylight.yangtools.yang.common.RpcResult<AddFlowOutput>> addFlow(AddFlowInput input)
SalFlowService
addFlow
in interface SalFlowService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFlowOutput>> removeFlow(RemoveFlowInput input)
SalFlowService
removeFlow
in interface SalFlowService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<UpdateFlowOutput>> updateFlow(UpdateFlowInput input)
SalFlowService
updateFlow
in interface SalFlowService
public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginTestServiceProvider> register(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext ctx)
ctx
- ObjectRegistration
Copyright © 2018 OpenDaylight. All rights reserved.