Interface LinkIdentifier
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
,LinkLrIdentifiers
- All Known Subinterfaces:
LinkDescriptors
@Generated("mdsal-binding-generator")
public interface LinkIdentifier
extends org.opendaylight.yangtools.binding.Grouping, LinkLrIdentifiers
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping link-identifier { uses link-lr-identifiers; leaf ipv4-interface-address { type ipv4-interface-identifier; } leaf ipv6-interface-address { type ipv6-interface-identifier; } leaf ipv4-neighbor-address { type ipv4-interface-identifier; } leaf ipv6-neighbor-address { type ipv6-interface-identifier; } leaf multi-topology-id { type topology-identifier; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn ipv4InterfaceAddress, ornull
if it is not present.Return ipv4NeighborAddress, ornull
if it is not present.Return ipv6InterfaceAddress, ornull
if it is not present.Return ipv6NeighborAddress, ornull
if it is not present.Return multiTopologyId, ornull
if it is not present.default @NonNull Ipv4InterfaceIdentifier
Return ipv4InterfaceAddress, guaranteed to be non-null.default @NonNull Ipv4InterfaceIdentifier
Return ipv4NeighborAddress, guaranteed to be non-null.default @NonNull Ipv6InterfaceIdentifier
Return ipv6InterfaceAddress, guaranteed to be non-null.default @NonNull Ipv6InterfaceIdentifier
Return ipv6NeighborAddress, guaranteed to be non-null.default @NonNull TopologyIdentifier
Return multiTopologyId, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.linkstate.rev200120.LinkLrIdentifiers
getLinkLocalIdentifier, getLinkRemoteIdentifier, requireLinkLocalIdentifier, requireLinkRemoteIdentifier
-
Method Details
-
getIpv4InterfaceAddress
Ipv4InterfaceIdentifier getIpv4InterfaceAddress()Return ipv4InterfaceAddress, ornull
if it is not present.- Returns:
Ipv4InterfaceIdentifier
ipv4InterfaceAddress, ornull
if it is not present.
-
requireIpv4InterfaceAddress
Return ipv4InterfaceAddress, guaranteed to be non-null.- Returns:
Ipv4InterfaceIdentifier
ipv4InterfaceAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv4InterfaceAddress is not present
-
getIpv6InterfaceAddress
Ipv6InterfaceIdentifier getIpv6InterfaceAddress()Return ipv6InterfaceAddress, ornull
if it is not present.- Returns:
Ipv6InterfaceIdentifier
ipv6InterfaceAddress, ornull
if it is not present.
-
requireIpv6InterfaceAddress
Return ipv6InterfaceAddress, guaranteed to be non-null.- Returns:
Ipv6InterfaceIdentifier
ipv6InterfaceAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv6InterfaceAddress is not present
-
getIpv4NeighborAddress
Ipv4InterfaceIdentifier getIpv4NeighborAddress()Return ipv4NeighborAddress, ornull
if it is not present.- Returns:
Ipv4InterfaceIdentifier
ipv4NeighborAddress, ornull
if it is not present.
-
requireIpv4NeighborAddress
Return ipv4NeighborAddress, guaranteed to be non-null.- Returns:
Ipv4InterfaceIdentifier
ipv4NeighborAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv4NeighborAddress is not present
-
getIpv6NeighborAddress
Ipv6InterfaceIdentifier getIpv6NeighborAddress()Return ipv6NeighborAddress, ornull
if it is not present.- Returns:
Ipv6InterfaceIdentifier
ipv6NeighborAddress, ornull
if it is not present.
-
requireIpv6NeighborAddress
Return ipv6NeighborAddress, guaranteed to be non-null.- Returns:
Ipv6InterfaceIdentifier
ipv6NeighborAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv6NeighborAddress is not present
-
getMultiTopologyId
TopologyIdentifier getMultiTopologyId()Return multiTopologyId, ornull
if it is not present.- Returns:
TopologyIdentifier
multiTopologyId, ornull
if it is not present.
-
requireMultiTopologyId
Return multiTopologyId, guaranteed to be non-null.- Returns:
TopologyIdentifier
multiTopologyId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if multiTopologyId is not present
-