Interface NodeState
- 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:
NodeAttributes
@Generated("mdsal-binding-generator")
public interface NodeState
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping node-state { leaf-list topology-identifier { type topology-identifier; } leaf node-flags { type node-flag-bits; } leaf-list isis-area-id { type isis-area-identifier; } leaf dynamic-hostname { type string; } leaf ipv4-router-id { type ipv4-router-identifier; } leaf ipv6-router-id { type ipv6-router-identifier; } container sr-capabilities { uses bgp-sr:sr-capabilities-tlv; } container sr-algorithm { uses bgp-sr:sr-algorithms-tlv; } }
-
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 TypeMethodDescriptionReturn dynamicHostname, ornull
if it is not present.Return ipv4RouterId, ornull
if it is not present.Return ipv6RouterId, ornull
if it is not present.@Nullable Set<IsisAreaIdentifier>
Return isisAreaId, ornull
if it is not present.Return nodeFlags, ornull
if it is not present.Return srAlgorithm, ornull
if it is not present.Return srCapabilities, ornull
if it is not present.@Nullable Set<TopologyIdentifier>
Return topologyIdentifier, ornull
if it is not present.@NonNull SrAlgorithm
Return srAlgorithm, or an empty instance if it is not present.@NonNull SrCapabilities
Return srCapabilities, or an empty instance if it is not present.default @NonNull String
Return dynamicHostname, guaranteed to be non-null.default @NonNull Ipv4RouterIdentifier
Return ipv4RouterId, guaranteed to be non-null.default @NonNull Ipv6RouterIdentifier
Return ipv6RouterId, guaranteed to be non-null.default @NonNull Set<IsisAreaIdentifier>
Return isisAreaId, guaranteed to be non-null.default @NonNull NodeFlagBits
Return nodeFlags, guaranteed to be non-null.default @NonNull Set<TopologyIdentifier>
Return topologyIdentifier, 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
- 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
-
getTopologyIdentifier
@Nullable Set<TopologyIdentifier> getTopologyIdentifier()Return topologyIdentifier, ornull
if it is not present.- Returns:
Set<TopologyIdentifier>
topologyIdentifier, ornull
if it is not present.
-
requireTopologyIdentifier
Return topologyIdentifier, guaranteed to be non-null.- Returns:
Set<TopologyIdentifier>
topologyIdentifier, guaranteed to be non-null.- Throws:
NoSuchElementException
- if topologyIdentifier is not present
-
getNodeFlags
NodeFlagBits getNodeFlags()Return nodeFlags, ornull
if it is not present.- Returns:
NodeFlagBits
nodeFlags, ornull
if it is not present.
-
requireNodeFlags
Return nodeFlags, guaranteed to be non-null.- Returns:
NodeFlagBits
nodeFlags, guaranteed to be non-null.- Throws:
NoSuchElementException
- if nodeFlags is not present
-
getIsisAreaId
@Nullable Set<IsisAreaIdentifier> getIsisAreaId()Return isisAreaId, ornull
if it is not present.- Returns:
Set<IsisAreaIdentifier>
isisAreaId, ornull
if it is not present.
-
requireIsisAreaId
Return isisAreaId, guaranteed to be non-null.- Returns:
Set<IsisAreaIdentifier>
isisAreaId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isisAreaId is not present
-
getDynamicHostname
String getDynamicHostname()Return dynamicHostname, ornull
if it is not present.- Returns:
String
dynamicHostname, ornull
if it is not present.
-
requireDynamicHostname
Return dynamicHostname, guaranteed to be non-null.- Returns:
String
dynamicHostname, guaranteed to be non-null.- Throws:
NoSuchElementException
- if dynamicHostname is not present
-
getIpv4RouterId
Ipv4RouterIdentifier getIpv4RouterId()Return ipv4RouterId, ornull
if it is not present.- Returns:
Ipv4RouterIdentifier
ipv4RouterId, ornull
if it is not present.
-
requireIpv4RouterId
Return ipv4RouterId, guaranteed to be non-null.- Returns:
Ipv4RouterIdentifier
ipv4RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv4RouterId is not present
-
getIpv6RouterId
Ipv6RouterIdentifier getIpv6RouterId()Return ipv6RouterId, ornull
if it is not present.- Returns:
Ipv6RouterIdentifier
ipv6RouterId, ornull
if it is not present.
-
requireIpv6RouterId
Return ipv6RouterId, guaranteed to be non-null.- Returns:
Ipv6RouterIdentifier
ipv6RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv6RouterId is not present
-
getSrCapabilities
SrCapabilities getSrCapabilities()Return srCapabilities, ornull
if it is not present.- Returns:
SrCapabilities
srCapabilities, ornull
if it is not present.
-
nonnullSrCapabilities
@NonNull SrCapabilities nonnullSrCapabilities()Return srCapabilities, or an empty instance if it is not present.- Returns:
SrCapabilities
srCapabilities, or an empty instance if it is not present.
-
getSrAlgorithm
SrAlgorithm getSrAlgorithm()Return srAlgorithm, ornull
if it is not present.- Returns:
SrAlgorithm
srAlgorithm, ornull
if it is not present.
-
nonnullSrAlgorithm
@NonNull SrAlgorithm nonnullSrAlgorithm()Return srAlgorithm, or an empty instance if it is not present.- Returns:
SrAlgorithm
srAlgorithm, or an empty instance if it is not present.
-