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:
ComputedPath, ConstrainedPath, GetConstrainedPathOutput

@Generated("mdsal-binding-generator") public interface PathDescriptions extends org.opendaylight.yangtools.yang.binding.DataObject
Computed Path description as a list of IPv4, IPv6 or Segment Routing subobject

This class represents the following YANG schema fragment defined in module path-computation

 grouping path-descriptions {
   list path-description {
     leaf ipv4 {
       when "path-constraints/address-family = 0 or path-constraints/address-family = 2";
       type inet:ipv4-address;
     }
     leaf ipv6 {
       when "path-constraints/address-family = 1 or path-constraints/address-family = 3";
       type inet:ipv6-address;
     }
     leaf remote-ipv4 {
       when "path-constraints/address-family = 2";
       type inet:ipv4-address;
     }
     leaf remote-ipv6 {
       when "path-constraints/address-family = 3";
       type inet:ipv6-address;
     }
     leaf sid {
       when "path-constraints/address-family = 2 or path-constraints/address-family = 3";
       type uint32;
     }
   }
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends PathDescriptions> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getPathDescription

      @Nullable List<PathDescription> getPathDescription()
      Return pathDescription, or null if it is not present.
      Returns:
      List<PathDescription> pathDescription, or null if it is not present.
    • nonnullPathDescription

      default @NonNull List<PathDescription> nonnullPathDescription()
      Return pathDescription, or an empty list if it is not present.
      Returns:
      List<PathDescription> pathDescription, or an empty list if it is not present.