Interface HwvtepTunnelAttributes
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Tunnels
@Generated("mdsal-binding-generator")
public interface HwvtepTunnelAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-tunnel-attributes { leaf tunnel-uuid { type yang:uuid; } leaf local-locator-ref { type hwvtep-physical-locator-ref; } leaf remote-locator-ref { type hwvtep-physical-locator-ref; } list bfd-local-configs { key bfd-local-config-key; leaf bfd-local-config-key { type string; } leaf bfd-local-config-value { type string; } } list bfd-remote-configs { key bfd-remote-config-key; leaf bfd-remote-config-key { type string; } leaf bfd-remote-config-value { type string; } } list bfd-params { key bfd-param-key; leaf bfd-param-key { type string; } leaf bfd-param-value { type string; } } list bfd-status { config false; key bfd-status-key; leaf bfd-status-key { type string; } leaf bfd-status-value { type string; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Map<BfdLocalConfigsKey,
BfdLocalConfigs> Return bfdLocalConfigs, ornull
if it is not present.@Nullable Map<BfdParamsKey,
BfdParams> Return bfdParams, ornull
if it is not present.@Nullable Map<BfdRemoteConfigsKey,
BfdRemoteConfigs> Return bfdRemoteConfigs, ornull
if it is not present.@Nullable Map<BfdStatusKey,
BfdStatus> Return bfdStatus, ornull
if it is not present.Return localLocatorRef, ornull
if it is not present.Return remoteLocatorRef, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return tunnelUuid, ornull
if it is not present.Class<? extends HwvtepTunnelAttributes>
default @NonNull Map<BfdLocalConfigsKey,
BfdLocalConfigs> Return bfdLocalConfigs, or an empty list if it is not present.default @NonNull Map<BfdParamsKey,
BfdParams> Return bfdParams, or an empty list if it is not present.default @NonNull Map<BfdRemoteConfigsKey,
BfdRemoteConfigs> Return bfdRemoteConfigs, or an empty list if it is not present.default @NonNull Map<BfdStatusKey,
BfdStatus> Return bfdStatus, or an empty list if it is not present.default @NonNull HwvtepPhysicalLocatorRef
Return localLocatorRef, guaranteed to be non-null.default @NonNull HwvtepPhysicalLocatorRef
Return remoteLocatorRef, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return tunnelUuid, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends HwvtepTunnelAttributes> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTunnelUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getTunnelUuid()Return tunnelUuid, ornull
if it is not present.The unique identifier of the tunnel
- Returns:
Uuid
tunnelUuid, ornull
if it is not present.
-
requireTunnelUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireTunnelUuid()Return tunnelUuid, guaranteed to be non-null.The unique identifier of the tunnel
- Returns:
Uuid
tunnelUuid, guaranteed to be non-null.- Throws:
NoSuchElementException
- if tunnelUuid is not present
-
getLocalLocatorRef
HwvtepPhysicalLocatorRef getLocalLocatorRef()Return localLocatorRef, ornull
if it is not present.Reference to the physical locator to reach this entry
- Returns:
HwvtepPhysicalLocatorRef
localLocatorRef, ornull
if it is not present.
-
requireLocalLocatorRef
Return localLocatorRef, guaranteed to be non-null.Reference to the physical locator to reach this entry
- Returns:
HwvtepPhysicalLocatorRef
localLocatorRef, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localLocatorRef is not present
-
getRemoteLocatorRef
HwvtepPhysicalLocatorRef getRemoteLocatorRef()Return remoteLocatorRef, ornull
if it is not present.Reference to the physical locator to reach this entry
- Returns:
HwvtepPhysicalLocatorRef
remoteLocatorRef, ornull
if it is not present.
-
requireRemoteLocatorRef
Return remoteLocatorRef, guaranteed to be non-null.Reference to the physical locator to reach this entry
- Returns:
HwvtepPhysicalLocatorRef
remoteLocatorRef, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remoteLocatorRef is not present
-
getBfdLocalConfigs
@Nullable Map<BfdLocalConfigsKey,BfdLocalConfigs> getBfdLocalConfigs()Return bfdLocalConfigs, ornull
if it is not present.Local configuation attributes for BFD
- Returns:
Map<BfdLocalConfigsKey, BfdLocalConfigs>
bfdLocalConfigs, ornull
if it is not present.
-
nonnullBfdLocalConfigs
Return bfdLocalConfigs, or an empty list if it is not present.- Returns:
Map<BfdLocalConfigsKey, BfdLocalConfigs>
bfdLocalConfigs, or an empty list if it is not present.
-
getBfdRemoteConfigs
@Nullable Map<BfdRemoteConfigsKey,BfdRemoteConfigs> getBfdRemoteConfigs()Return bfdRemoteConfigs, ornull
if it is not present.Remote configuration attributes for BFD
- Returns:
Map<BfdRemoteConfigsKey, BfdRemoteConfigs>
bfdRemoteConfigs, ornull
if it is not present.
-
nonnullBfdRemoteConfigs
Return bfdRemoteConfigs, or an empty list if it is not present.- Returns:
Map<BfdRemoteConfigsKey, BfdRemoteConfigs>
bfdRemoteConfigs, or an empty list if it is not present.
-
getBfdParams
@Nullable Map<BfdParamsKey,BfdParams> getBfdParams()Return bfdParams, ornull
if it is not present.Parameters to configure and enable BFD
- Returns:
Map<BfdParamsKey, BfdParams>
bfdParams, ornull
if it is not present.
-
nonnullBfdParams
Return bfdParams, or an empty list if it is not present.- Returns:
Map<BfdParamsKey, BfdParams>
bfdParams, or an empty list if it is not present.
-
getBfdStatus
@Nullable Map<BfdStatusKey,BfdStatus> getBfdStatus()Return bfdStatus, ornull
if it is not present.runtime status of BFD on this tunnel
- Returns:
Map<BfdStatusKey, BfdStatus>
bfdStatus, ornull
if it is not present.
-
nonnullBfdStatus
Return bfdStatus, or an empty list if it is not present.- Returns:
Map<BfdStatusKey, BfdStatus>
bfdStatus, or an empty list if it is not present.
-