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()
dataService
public void setDataService(org.opendaylight.controller.md.sal.binding.api.DataBroker 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
.public org.opendaylight.controller.sal.binding.api.NotificationProviderService getNotificationService()
notificationProviderService
public void setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationProviderService service)
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)
Copyright © 2018 OpenDaylight. All rights reserved.