Interface InternalTunnel
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<InternalTunnel>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<TunnelList>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<InternalTunnelKey>
public interface InternalTunnel extends org.opendaylight.yangtools.yang.binding.ChildOf<TunnelList>, org.opendaylight.yangtools.yang.binding.Augmentable<InternalTunnel>, org.opendaylight.yangtools.yang.binding.Identifiable<InternalTunnelKey>
This class represents the following YANG schema fragment defined in module itm-state
list internal-tunnel { key "source-DPN destination-DPN transport-type"; leaf source-DPN { type uint64; } leaf destination-DPN { type uint64; } leaf transport-type { type identityref { base tunnel-type-base; } } leaf-list tunnel-interface-names { type string; } }
The schema path to identify an instance is itm-state/tunnel-list/internal-tunnelTo create instances of this class use
InternalTunnelBuilder
.- See Also:
InternalTunnelBuilder
,InternalTunnelKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint64
getDestinationDPN()
@Nullable org.opendaylight.yangtools.yang.common.Uint64
getSourceDPN()
@Nullable java.lang.Class<? extends TunnelTypeBase>
getTransportType()
@Nullable java.util.List<java.lang.String>
getTunnelInterfaceNames()
default java.lang.Class<InternalTunnel>
implementedInterface()
InternalTunnelKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<InternalTunnel> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSourceDPN
@Nullable org.opendaylight.yangtools.yang.common.Uint64 getSourceDPN()
- Returns:
org.opendaylight.yangtools.yang.common.Uint64
sourceDPN
, ornull
if not present
-
getDestinationDPN
@Nullable org.opendaylight.yangtools.yang.common.Uint64 getDestinationDPN()
- Returns:
org.opendaylight.yangtools.yang.common.Uint64
destinationDPN
, ornull
if not present
-
getTransportType
@Nullable java.lang.Class<? extends TunnelTypeBase> getTransportType()
- Returns:
java.lang.Class
transportType
, ornull
if not present
-
getTunnelInterfaceNames
@Nullable java.util.List<java.lang.String> getTunnelInterfaceNames()
- Returns:
java.util.List
tunnelInterfaceNames
, ornull
if not present
-
key
InternalTunnelKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<InternalTunnelKey>
-
-