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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn dynamicHostname, ornullif it is not present.Return ipv4RouterId, ornullif it is not present.Return ipv6RouterId, ornullif it is not present.@Nullable Set<IsisAreaIdentifier>Return isisAreaId, ornullif it is not present.Return nodeFlags, ornullif it is not present.Return srAlgorithm, ornullif it is not present.Return srCapabilities, ornullif it is not present.@Nullable Set<TopologyIdentifier>Return topologyIdentifier, ornullif it is not present.@NonNull SrAlgorithmReturn srAlgorithm, or an empty instance if it is not present.@NonNull SrCapabilitiesReturn srCapabilities, or an empty instance if it is not present.default @NonNull StringReturn dynamicHostname, guaranteed to be non-null.default @NonNull Ipv4RouterIdentifierReturn ipv4RouterId, guaranteed to be non-null.default @NonNull Ipv6RouterIdentifierReturn ipv6RouterId, guaranteed to be non-null.default @NonNull Set<IsisAreaIdentifier>Return isisAreaId, guaranteed to be non-null.default @NonNull NodeFlagBitsReturn 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:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTopologyIdentifier
@Nullable Set<TopologyIdentifier> getTopologyIdentifier()Return topologyIdentifier, ornullif it is not present.- Returns:
Set<TopologyIdentifier>topologyIdentifier, ornullif 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, ornullif it is not present.- Returns:
NodeFlagBitsnodeFlags, ornullif it is not present.
-
requireNodeFlags
Return nodeFlags, guaranteed to be non-null.- Returns:
NodeFlagBitsnodeFlags, guaranteed to be non-null.- Throws:
NoSuchElementException- if nodeFlags is not present
-
getIsisAreaId
@Nullable Set<IsisAreaIdentifier> getIsisAreaId()Return isisAreaId, ornullif it is not present.- Returns:
Set<IsisAreaIdentifier>isisAreaId, ornullif 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, ornullif it is not present.- Returns:
StringdynamicHostname, ornullif it is not present.
-
requireDynamicHostname
Return dynamicHostname, guaranteed to be non-null.- Returns:
StringdynamicHostname, guaranteed to be non-null.- Throws:
NoSuchElementException- if dynamicHostname is not present
-
getIpv4RouterId
Ipv4RouterIdentifier getIpv4RouterId()Return ipv4RouterId, ornullif it is not present.- Returns:
Ipv4RouterIdentifieripv4RouterId, ornullif it is not present.
-
requireIpv4RouterId
Return ipv4RouterId, guaranteed to be non-null.- Returns:
Ipv4RouterIdentifieripv4RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException- if ipv4RouterId is not present
-
getIpv6RouterId
Ipv6RouterIdentifier getIpv6RouterId()Return ipv6RouterId, ornullif it is not present.- Returns:
Ipv6RouterIdentifieripv6RouterId, ornullif it is not present.
-
requireIpv6RouterId
Return ipv6RouterId, guaranteed to be non-null.- Returns:
Ipv6RouterIdentifieripv6RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException- if ipv6RouterId is not present
-
getSrCapabilities
SrCapabilities getSrCapabilities()Return srCapabilities, ornullif it is not present.- Returns:
SrCapabilitiessrCapabilities, ornullif it is not present.
-
nonnullSrCapabilities
@NonNull SrCapabilities nonnullSrCapabilities()Return srCapabilities, or an empty instance if it is not present.- Returns:
SrCapabilitiessrCapabilities, or an empty instance if it is not present.
-
getSrAlgorithm
SrAlgorithm getSrAlgorithm()Return srAlgorithm, ornullif it is not present.- Returns:
SrAlgorithmsrAlgorithm, ornullif it is not present.
-
nonnullSrAlgorithm
@NonNull SrAlgorithm nonnullSrAlgorithm()Return srAlgorithm, or an empty instance if it is not present.- Returns:
SrAlgorithmsrAlgorithm, or an empty instance if it is not present.
-