public final class VInterfaceService extends Object implements VtnVinterfaceService, VtnPortMapService
VInterfaceService provides RPC services related to virtual
interface.| Constructor and Description |
|---|
VInterfaceService(VTNManagerProvider provider)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initRpcServices(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcReg,
CompositeAutoCloseable regs)
Register RPC services.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<RemovePortMapOutput>> |
removePortMap(RemovePortMapInput input)
Remove the port mapping from the specified virtual interface.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> |
removeVinterface(RemoveVinterfaceInput input)
Remove the specified virtual interface.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<SetPortMapOutput>> |
setPortMap(SetPortMapInput input)
Configure the port mapping in the specified virtual interface.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<UpdateVinterfaceOutput>> |
updateVinterface(UpdateVinterfaceInput input)
Create or modify the specified virtual interface.
|
public VInterfaceService(VTNManagerProvider provider)
provider - A VTN Manager provider service.public void initRpcServices(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcReg,
CompositeAutoCloseable regs)
rpcReg - A RpcProviderRegistry service instance.regs - A CompositeAutoCloseable instance to store
RPC registration.public Future<org.opendaylight.yangtools.yang.common.RpcResult<UpdateVinterfaceOutput>> updateVinterface(UpdateVinterfaceInput input)
updateVinterface in interface VtnVinterfaceServiceinput - Input of the RPC.Future associated with the RPC task.public Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> removeVinterface(RemoveVinterfaceInput input)
removeVinterface in interface VtnVinterfaceServiceinput - Input of the RPC.Future associated with the RPC task.public Future<org.opendaylight.yangtools.yang.common.RpcResult<SetPortMapOutput>> setPortMap(SetPortMapInput input)
setPortMap in interface VtnPortMapServiceinput - Input of the RPC.Future associated with the RPC task.public Future<org.opendaylight.yangtools.yang.common.RpcResult<RemovePortMapOutput>> removePortMap(RemovePortMapInput input)
removePortMap in interface VtnPortMapServiceinput - Input of the RPC.Future associated with the RPC task.Copyright © 2018 OpenDaylight. All rights reserved.