Package org.onosproject.net.behaviour
Class DefaultTunnelDescription
- java.lang.Object
- 
- org.onosproject.net.AbstractDescription
- 
- org.onosproject.net.behaviour.DefaultTunnelDescription
 
 
- 
- All Implemented Interfaces:
- Annotated,- TunnelDescription,- Description
 
 public final class DefaultTunnelDescription extends AbstractDescription implements TunnelDescription Default implementation of immutable tunnel interface description entity.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDefaultTunnelDescription.Builder- 
Nested classes/interfaces inherited from interface org.onosproject.net.behaviour.TunnelDescriptionTunnelDescription.Type
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultTunnelDescription.Builderbuilder()Creates and returns a new builder instance.Optional<String>deviceId()Returns the identifier of the device where the interface is.StringifaceName()Return the name of the tunnel interface.Optional<TunnelKey>key()Returns the tunnel key.Optional<TunnelEndPoint>local()Returns the local connection point.Optional<TunnelEndPoint>remote()Returns the remote connection point.StringtoString()TunnelDescription.Typetype()Returns the tunnel type.- 
Methods inherited from class org.onosproject.net.AbstractDescriptionannotations, equals, hashCode
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.onosproject.net.Descriptionannotations
 
- 
 
- 
- 
- 
Method Detail- 
deviceIdpublic Optional<String> deviceId() Description copied from interface:TunnelDescriptionReturns the identifier of the device where the interface is.- Specified by:
- deviceIdin interface- TunnelDescription
- Returns:
- device identifier
 
 - 
ifaceNamepublic String ifaceName() Description copied from interface:TunnelDescriptionReturn the name of the tunnel interface.- Specified by:
- ifaceNamein interface- TunnelDescription
- Returns:
- tunnel interface name
 
 - 
typepublic TunnelDescription.Type type() Description copied from interface:TunnelDescriptionReturns the tunnel type.- Specified by:
- typein interface- TunnelDescription
- Returns:
- tunnel type
 
 - 
localpublic Optional<TunnelEndPoint> local() Description copied from interface:TunnelDescriptionReturns the local connection point.- Specified by:
- localin interface- TunnelDescription
- Returns:
- tunnel source ConnectionPoint
 
 - 
remotepublic Optional<TunnelEndPoint> remote() Description copied from interface:TunnelDescriptionReturns the remote connection point.- Specified by:
- remotein interface- TunnelDescription
- Returns:
- tunnel destination
 
 - 
keypublic Optional<TunnelKey> key() Description copied from interface:TunnelDescriptionReturns the tunnel key.- Specified by:
- keyin interface- TunnelDescription
- Returns:
- tunnel key
 
 - 
builderpublic static DefaultTunnelDescription.Builder builder() Creates and returns a new builder instance.- Returns:
- default tunnel description builder
 
 
- 
 
-