Interface PathDescriptions

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    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";
           type inet:ipv4-address;
         }
         leaf ipv6 {
           when "path-constraints/address-family = 1";
           type inet:ipv6-address;
         }
         uses sr-description;
       }
     }
     
    The schema path to identify an instance is path-computationpath-descriptions
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends PathDescriptions> implementedInterface()
        Specified by:
        implementedInterface in interface 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.