@Beta public class DefaultTunnelDescription extends AbstractDescription implements TunnelDescription
| Constructor and Description |
|---|
DefaultTunnelDescription(TunnelId id,
TunnelEndPoint src,
TunnelEndPoint dst,
Tunnel.Type type,
GroupId groupId,
ProviderId producerName,
TunnelName tunnelName,
Path path,
NetworkResource networkRes,
SparseAnnotations... annotations)
Creates a tunnel description using the supplied information.
|
DefaultTunnelDescription(TunnelId id,
TunnelEndPoint src,
TunnelEndPoint dst,
Tunnel.Type type,
GroupId groupId,
ProviderId producerName,
TunnelName tunnelName,
Path path,
SparseAnnotations... annotations)
Creates a tunnel description using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
TunnelEndPoint |
dst()
Returns the connection point destination.
|
GroupId |
groupId()
Returns group flow table id which a tunnel match up.
|
TunnelId |
id()
Returns the tunnel id.
|
Path |
path()
Returns the path of the tunnel.
|
ProviderId |
producerName()
Returns tunnel producer name.
|
NetworkResource |
resource()
Returns the network resource backing the tunnel, e.g.
|
TunnelEndPoint |
src()
Returns the connection point source.
|
java.lang.String |
toString() |
TunnelName |
tunnelName()
Return the name of a tunnel.
|
Tunnel.Type |
type()
Returns the tunnel type.
|
annotations, equals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic DefaultTunnelDescription(TunnelId id, TunnelEndPoint src, TunnelEndPoint dst, Tunnel.Type type, GroupId groupId, ProviderId producerName, TunnelName tunnelName, Path path, SparseAnnotations... annotations)
id - TunnelIdsrc - TunnelPoint sourcedst - TunnelPoint destinationtype - tunnel typegroupId - groupIdproducerName - tunnel producertunnelName - tunnel namepath - the path of tunnelannotations - optional key/value annotationspublic DefaultTunnelDescription(TunnelId id, TunnelEndPoint src, TunnelEndPoint dst, Tunnel.Type type, GroupId groupId, ProviderId producerName, TunnelName tunnelName, Path path, NetworkResource networkRes, SparseAnnotations... annotations)
id - TunnelIdsrc - TunnelPoint sourcedst - TunnelPoint destinationtype - tunnel typegroupId - groupIdproducerName - tunnel producertunnelName - tunnel namepath - the path of tunnelnetworkRes - network resource of tunnelannotations - optional key/value annotationspublic TunnelId id()
TunnelDescriptionid in interface TunnelDescriptionpublic TunnelEndPoint src()
TunnelDescriptionsrc in interface TunnelDescriptionpublic TunnelEndPoint dst()
TunnelDescriptiondst in interface TunnelDescriptionpublic Tunnel.Type type()
TunnelDescriptiontype in interface TunnelDescriptionpublic GroupId groupId()
TunnelDescriptiongroupId in interface TunnelDescriptionpublic ProviderId producerName()
TunnelDescriptionproducerName in interface TunnelDescriptionpublic TunnelName tunnelName()
TunnelDescriptiontunnelName in interface TunnelDescriptionpublic Path path()
TunnelDescriptionpath in interface TunnelDescriptionpublic NetworkResource resource()
TunnelDescriptionresource in interface TunnelDescriptionpublic java.lang.String toString()
toString in class java.lang.Object