public class OpenflowpluginMeterTestServiceProvider extends Object implements AutoCloseable, SalMeterService
Constructor and Description |
---|
OpenflowpluginMeterTestServiceProvider() |
Modifier and Type | Method and Description |
---|---|
Future<org.opendaylight.yangtools.yang.common.RpcResult<AddMeterOutput>> |
addMeter(AddMeterInput input)
Adding meter to openflow device.
|
void |
close() |
org.opendaylight.controller.md.sal.binding.api.DataBroker |
getDataService()
Gets the data service.
|
org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalMeterService> |
getMeterRegistration()
Gets the meter registration.
|
org.opendaylight.controller.sal.binding.api.NotificationProviderService |
getNotificationService()
Gets the notification service.
|
org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginMeterTestServiceProvider> |
register(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext ctx) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMeterOutput>> |
removeMeter(RemoveMeterInput input)
Removing metere from openflow device.
|
void |
setDataService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService)
Sets the
dataService . |
void |
setMeterRegistration(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalMeterService> meterRegistration)
Sets the
meterRegistration . |
void |
setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationProviderService notificationService)
Sets the
notificationService . |
void |
start() |
Future<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMeterOutput>> |
updateMeter(UpdateMeterInput input)
Updating meter on openflow device.
|
public OpenflowpluginMeterTestServiceProvider()
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<SalMeterService> getMeterRegistration()
meterRegistration
public void setMeterRegistration(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.RoutedRpcRegistration<SalMeterService> meterRegistration)
meterRegistration
.public org.opendaylight.controller.sal.binding.api.NotificationProviderService getNotificationService()
notificationService
public void setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationProviderService notificationService)
notificationService
.public void start()
public void close()
close
in interface AutoCloseable
public Future<org.opendaylight.yangtools.yang.common.RpcResult<AddMeterOutput>> addMeter(AddMeterInput input)
SalMeterService
addMeter
in interface SalMeterService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMeterOutput>> removeMeter(RemoveMeterInput input)
SalMeterService
removeMeter
in interface SalMeterService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMeterOutput>> updateMeter(UpdateMeterInput input)
SalMeterService
updateMeter
in interface SalMeterService
public org.opendaylight.yangtools.concepts.ObjectRegistration<OpenflowpluginMeterTestServiceProvider> register(org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext ctx)
Copyright © 2018 OpenDaylight. All rights reserved.