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 Details

    • getIpv4InterfaceAddress

      Ipv4InterfaceIdentifier getIpv4InterfaceAddress()
      Return ipv4InterfaceAddress, or null if it is not present.
      Returns:
      Ipv4InterfaceIdentifier ipv4InterfaceAddress, or null if it is not present.
    • requireIpv4InterfaceAddress

      default @NonNull Ipv4InterfaceIdentifier 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, or null if it is not present.
      Returns:
      Ipv6InterfaceIdentifier ipv6InterfaceAddress, or null if it is not present.
    • requireIpv6InterfaceAddress

      default @NonNull Ipv6InterfaceIdentifier 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, or null if it is not present.
      Returns:
      Ipv4InterfaceIdentifier ipv4NeighborAddress, or null if it is not present.
    • requireIpv4NeighborAddress

      default @NonNull Ipv4InterfaceIdentifier 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, or null if it is not present.
      Returns:
      Ipv6InterfaceIdentifier ipv6NeighborAddress, or null if it is not present.
    • requireIpv6NeighborAddress

      default @NonNull Ipv6InterfaceIdentifier 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, or null if it is not present.
      Returns:
      TopologyIdentifier multiTopologyId, or null if it is not present.
    • requireMultiTopologyId

      default @NonNull TopologyIdentifier requireMultiTopologyId()
      Return multiTopologyId, guaranteed to be non-null.
      Returns:
      TopologyIdentifier multiTopologyId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if multiTopologyId is not present