Interface DesignatedSwitchForTunnel
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<DesignatedSwitchForTunnel>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<DesignatedSwitchesForExternalTunnels>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<DesignatedSwitchForTunnelKey>
public interface DesignatedSwitchForTunnel extends org.opendaylight.yangtools.yang.binding.ChildOf<DesignatedSwitchesForExternalTunnels>, org.opendaylight.yangtools.yang.binding.Augmentable<DesignatedSwitchForTunnel>, org.opendaylight.yangtools.yang.binding.Identifiable<DesignatedSwitchForTunnelKey>
This class represents the following YANG schema fragment defined in module vpnservice-dhcp
list designated-switch-for-tunnel { key "tunnel-remote-ip-address elan-instance-name"; leaf tunnel-remote-ip-address { type inet:ip-address; } leaf elan-instance-name { type string; } leaf dpId { type int64; } }
The schema path to identify an instance is vpnservice-dhcp/designated-switches-for-external-tunnels/designated-switch-for-tunnelTo create instances of this class use
DesignatedSwitchForTunnelBuilder
.
-
-
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.Long
getDpId()
contains dataplane-node-identifier@Nullable java.lang.String
getElanInstanceName()
elan name indicates l2 network domain@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getTunnelRemoteIpAddress()
remote end point ip address of external tunneldefault java.lang.Class<DesignatedSwitchForTunnel>
implementedInterface()
DesignatedSwitchForTunnelKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<DesignatedSwitchForTunnel> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTunnelRemoteIpAddress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getTunnelRemoteIpAddress()
remote end point ip address of external tunnel- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
tunnelRemoteIpAddress
, ornull
if not present
-
getElanInstanceName
@Nullable java.lang.String getElanInstanceName()
elan name indicates l2 network domain- Returns:
java.lang.String
elanInstanceName
, ornull
if not present
-
getDpId
@Nullable java.lang.Long getDpId()
contains dataplane-node-identifier- Returns:
java.lang.Long
dpId
, ornull
if not present
-
key
DesignatedSwitchForTunnelKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<DesignatedSwitchForTunnelKey>
-
-