public final class VtnNodeManager extends Object implements NodeRpcWatcher
NodeManager keeps all the VTN nodes in the vtn-nodes container.| Constructor and Description |
|---|
VtnNodeManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
add(VtnNode vnode)
Add the specified VTN node information.
|
void |
close()
Close the VTN node management.
|
void |
registerRpc(NodeRpcInvocation<?,?> rpc)
Register the specified RPC invocation routed to the specifiec switch.
|
String |
remove(VtnNode vnode)
Remove the specified VTN node information.
|
void |
unregisterRpc(NodeRpcInvocation<?,?> rpc)
Unregister the specified RPC invocation.
|
public String add(VtnNode vnode)
vnode - A VtnNode instance.null otherwise.public String remove(VtnNode vnode)
This method cancels all the RPC invocations routed to the specified node.
vnode - A VtnNode instance.null otherwise.public void close()
public void registerRpc(NodeRpcInvocation<?,?> rpc)
registerRpc in interface NodeRpcWatcherrpc - An RPC invocation to be registered.public void unregisterRpc(NodeRpcInvocation<?,?> rpc)
unregisterRpc in interface NodeRpcWatcherrpc - An RPC invocation to be unregistered.Copyright © 2018 OpenDaylight. All rights reserved.