Interface NodeState
-
- All Superinterfaces:
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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getDynamicHostname()
Return dynamicHostname, ornull
if it is not present.Ipv4RouterIdentifier
getIpv4RouterId()
Return ipv4RouterId, ornull
if it is not present.Ipv6RouterIdentifier
getIpv6RouterId()
Return ipv6RouterId, ornull
if it is not present.@Nullable Set<IsisAreaIdentifier>
getIsisAreaId()
Return isisAreaId, ornull
if it is not present.NodeFlagBits
getNodeFlags()
Return nodeFlags, ornull
if it is not present.SrAlgorithm
getSrAlgorithm()
Return srAlgorithm, ornull
if it is not present.SrCapabilities
getSrCapabilities()
Return srCapabilities, ornull
if it is not present.@Nullable Set<TopologyIdentifier>
getTopologyIdentifier()
Return topologyIdentifier, ornull
if it is not present.Class<? extends NodeState>
implementedInterface()
default @NonNull String
requireDynamicHostname()
Return dynamicHostname, guaranteed to be non-null.default @NonNull Ipv4RouterIdentifier
requireIpv4RouterId()
Return ipv4RouterId, guaranteed to be non-null.default @NonNull Ipv6RouterIdentifier
requireIpv6RouterId()
Return ipv6RouterId, guaranteed to be non-null.default @NonNull Set<IsisAreaIdentifier>
requireIsisAreaId()
Return isisAreaId, guaranteed to be non-null.default @NonNull NodeFlagBits
requireNodeFlags()
Return nodeFlags, guaranteed to be non-null.default @NonNull Set<TopologyIdentifier>
requireTopologyIdentifier()
Return topologyIdentifier, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends NodeState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull Set<TopologyIdentifier> 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
default @NonNull NodeFlagBits 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
default @NonNull Set<IsisAreaIdentifier> 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
default @NonNull String 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
default @NonNull Ipv4RouterIdentifier 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
default @NonNull Ipv6RouterIdentifier 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.
-
getSrAlgorithm
SrAlgorithm getSrAlgorithm()
Return srAlgorithm, ornull
if it is not present.- Returns:
SrAlgorithm
srAlgorithm, ornull
if it is not present.
-
-