Interface TedNodeAttributes
- 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
@Generated("mdsal-binding-generator")
public interface TedNodeAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject
Identifier to uniquely identify a node in TED
This class represents the following YANG schema fragment defined in module ted
grouping ted-node-attributes { leaf te-router-id-ipv4 { type inet:ipv4-address; } leaf te-router-id-ipv6 { type inet:ipv6-address; } list ipv4-local-address { key ipv4-prefix; leaf ipv4-prefix { type inet:ipv4-prefix; } } list ipv6-local-address { key ipv6-prefix; leaf ipv6-prefix { type inet:ipv6-prefix; } leaf prefix-option { type uint8; } } leaf pcc-capabilities { type pcc-capabilities; } }
-
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<Ipv4LocalAddressKey,
Ipv4LocalAddress> Return ipv4LocalAddress, ornull
if it is not present.@Nullable Map<Ipv6LocalAddressKey,
Ipv6LocalAddress> Return ipv6LocalAddress, ornull
if it is not present.Return pccCapabilities, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
Return teRouterIdIpv4, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address
Return teRouterIdIpv6, ornull
if it is not present.Class<? extends TedNodeAttributes>
default @NonNull Map<Ipv4LocalAddressKey,
Ipv4LocalAddress> Return ipv4LocalAddress, or an empty list if it is not present.default @NonNull Map<Ipv6LocalAddressKey,
Ipv6LocalAddress> Return ipv6LocalAddress, or an empty list if it is not present.default @NonNull PccCapabilities
Return pccCapabilities, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
Return teRouterIdIpv4, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address
Return teRouterIdIpv6, 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 TedNodeAttributes> 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
-
getTeRouterIdIpv4
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getTeRouterIdIpv4()Return teRouterIdIpv4, ornull
if it is not present.Globally unique IPv4 Traffic Engineering Router ID.
- Returns:
Ipv4Address
teRouterIdIpv4, ornull
if it is not present.
-
requireTeRouterIdIpv4
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address requireTeRouterIdIpv4()Return teRouterIdIpv4, guaranteed to be non-null.Globally unique IPv4 Traffic Engineering Router ID.
- Returns:
Ipv4Address
teRouterIdIpv4, guaranteed to be non-null.- Throws:
NoSuchElementException
- if teRouterIdIpv4 is not present
-
getTeRouterIdIpv6
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getTeRouterIdIpv6()Return teRouterIdIpv6, ornull
if it is not present.Globally unique IPv6 Traffic Engineering Router ID
- Returns:
Ipv6Address
teRouterIdIpv6, ornull
if it is not present.
-
requireTeRouterIdIpv6
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address requireTeRouterIdIpv6()Return teRouterIdIpv6, guaranteed to be non-null.Globally unique IPv6 Traffic Engineering Router ID
- Returns:
Ipv6Address
teRouterIdIpv6, guaranteed to be non-null.- Throws:
NoSuchElementException
- if teRouterIdIpv6 is not present
-
getIpv4LocalAddress
@Nullable Map<Ipv4LocalAddressKey,Ipv4LocalAddress> getIpv4LocalAddress()Return ipv4LocalAddress, ornull
if it is not present.List of IPv4 Local Address(OSPF). RFC 5786
- Returns:
Map<Ipv4LocalAddressKey, Ipv4LocalAddress>
ipv4LocalAddress, ornull
if it is not present.
-
nonnullIpv4LocalAddress
Return ipv4LocalAddress, or an empty list if it is not present.- Returns:
Map<Ipv4LocalAddressKey, Ipv4LocalAddress>
ipv4LocalAddress, or an empty list if it is not present.
-
getIpv6LocalAddress
@Nullable Map<Ipv6LocalAddressKey,Ipv6LocalAddress> getIpv6LocalAddress()Return ipv6LocalAddress, ornull
if it is not present.List of IPv6 Local Address.
- Returns:
Map<Ipv6LocalAddressKey, Ipv6LocalAddress>
ipv6LocalAddress, ornull
if it is not present.
-
nonnullIpv6LocalAddress
Return ipv6LocalAddress, or an empty list if it is not present.- Returns:
Map<Ipv6LocalAddressKey, Ipv6LocalAddress>
ipv6LocalAddress, or an empty list if it is not present.
-
getPccCapabilities
PccCapabilities getPccCapabilities()Return pccCapabilities, ornull
if it is not present.OSPF/ISIS PCC capabilities
- Returns:
PccCapabilities
pccCapabilities, ornull
if it is not present.
-
requirePccCapabilities
Return pccCapabilities, guaranteed to be non-null.OSPF/ISIS PCC capabilities
- Returns:
PccCapabilities
pccCapabilities, guaranteed to be non-null.- Throws:
NoSuchElementException
- if pccCapabilities is not present
-