Package org.onosproject.net.behaviour
Interface TunnelDescription
-
- All Superinterfaces:
Annotated
,Description
- All Known Implementing Classes:
DefaultTunnelDescription
@Beta public interface TunnelDescription extends Description, Annotated
Describes a tunnel interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TunnelDescription.Builder
Builder of tunnel interface description entities.static class
TunnelDescription.Type
Tunnel technology type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>
deviceId()
Returns the identifier of the device where the interface is.String
ifaceName()
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.TunnelDescription.Type
type()
Returns the tunnel type.-
Methods inherited from interface org.onosproject.net.Description
annotations
-
-
-
-
Method Detail
-
deviceId
Optional<String> deviceId()
Returns the identifier of the device where the interface is.- Returns:
- device identifier
-
ifaceName
String ifaceName()
Return the name of the tunnel interface.- Returns:
- tunnel interface name
-
type
TunnelDescription.Type type()
Returns the tunnel type.- Returns:
- tunnel type
-
local
Optional<TunnelEndPoint> local()
Returns the local connection point.- Returns:
- tunnel source ConnectionPoint
-
remote
Optional<TunnelEndPoint> remote()
Returns the remote connection point.- Returns:
- tunnel destination
-
-