public interface VirtualNetworkProvider
extends org.onosproject.net.provider.Provider
| Modifier and Type | Method and Description |
|---|---|
TunnelId |
createTunnel(NetworkId networkId,
org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst)
Creates a network tunnel for all traffic from the specified source
connection point to the indicated destination connection point.
|
void |
destroyTunnel(NetworkId networkId,
TunnelId tunnelId)
Destroys the specified network tunnel.
|
boolean |
isTraversable(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst)
Indicates whether or not the specified connect points on the underlying
network are traversable/reachable.
|
boolean isTraversable(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst)
src - source connection pointdst - destination connection pointTunnelId createTunnel(NetworkId networkId, org.onosproject.net.ConnectPoint src, org.onosproject.net.ConnectPoint dst)
networkId - virtual network identifiersrc - source connection pointdst - destination connection point