Interface ExternalTunnel
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ExternalTunnel>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ExternalTunnelList>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<ExternalTunnelKey>
public interface ExternalTunnel extends org.opendaylight.yangtools.yang.binding.ChildOf<ExternalTunnelList>, org.opendaylight.yangtools.yang.binding.Augmentable<ExternalTunnel>, org.opendaylight.yangtools.yang.binding.Identifiable<ExternalTunnelKey>
This class represents the following YANG schema fragment defined in module itm-state
list external-tunnel { key "source-device destination-device transport-type"; leaf source-device { type string; } leaf destination-device { type string; } leaf transport-type { type identityref { base tunnel-type-base; } } leaf tunnel-interface-name { type string; } }
The schema path to identify an instance is itm-state/external-tunnel-list/external-tunnelTo create instances of this class use
ExternalTunnelBuilder
.- See Also:
ExternalTunnelBuilder
,ExternalTunnelKey
-
-
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 java.lang.String
getDestinationDevice()
@Nullable java.lang.String
getSourceDevice()
@Nullable java.lang.Class<? extends TunnelTypeBase>
getTransportType()
@Nullable java.lang.String
getTunnelInterfaceName()
default java.lang.Class<ExternalTunnel>
implementedInterface()
ExternalTunnelKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ExternalTunnel> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSourceDevice
@Nullable java.lang.String getSourceDevice()
- Returns:
java.lang.String
sourceDevice
, ornull
if not present
-
getDestinationDevice
@Nullable java.lang.String getDestinationDevice()
- Returns:
java.lang.String
destinationDevice
, ornull
if not present
-
getTransportType
@Nullable java.lang.Class<? extends TunnelTypeBase> getTransportType()
- Returns:
java.lang.Class
transportType
, ornull
if not present
-
getTunnelInterfaceName
@Nullable java.lang.String getTunnelInterfaceName()
- Returns:
java.lang.String
tunnelInterfaceName
, ornull
if not present
-
key
ExternalTunnelKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<ExternalTunnelKey>
-
-