public class DeviceServiceProvider extends Object implements P4pluginDeviceService
Constructor and Description |
---|
DeviceServiceProvider() |
Modifier and Type | Method and Description |
---|---|
Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> |
addDevice(AddDeviceInput input) |
void |
close() |
Future<org.opendaylight.yangtools.yang.common.RpcResult<ConnectToDeviceOutput>> |
connectToDevice(ConnectToDeviceInput input) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetPipelineConfigOutput>> |
getPipelineConfig(GetPipelineConfigInput input) |
void |
init() |
Future<org.opendaylight.yangtools.yang.common.RpcResult<QueryDevicesOutput>> |
queryDevices() |
Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> |
removeDevice(RemoveDeviceInput input) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> |
setPipelineConfig(SetPipelineConfigInput input) |
public void init()
public void close()
public Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> addDevice(AddDeviceInput input)
addDevice
in interface P4pluginDeviceService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> removeDevice(RemoveDeviceInput input)
removeDevice
in interface P4pluginDeviceService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<ConnectToDeviceOutput>> connectToDevice(ConnectToDeviceInput input)
connectToDevice
in interface P4pluginDeviceService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> setPipelineConfig(SetPipelineConfigInput input)
setPipelineConfig
in interface P4pluginDeviceService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<GetPipelineConfigOutput>> getPipelineConfig(GetPipelineConfigInput input)
getPipelineConfig
in interface P4pluginDeviceService
java.util.concurrent.Future
pipelineConfig
, or null
if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<QueryDevicesOutput>> queryDevices()
queryDevices
in interface P4pluginDeviceService
Copyright © 2018 OpenDaylight. All rights reserved.