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:
EndpointsObj

@Generated("mdsal-binding-generator") public interface Endpoints extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module pcep-types

 grouping endpoints {
   choice address-family {
     case ipv4-case {
       container ipv4 {
         uses endpoints-ipv4-source;
         leaf destination-ipv4-address {
           type inet:ipv4-address-no-zone;
         }
       }
     }
     case ipv6-case {
       container ipv6 {
         uses endpoints-ipv6-source;
         leaf destination-ipv6-address {
           type inet:ipv6-address-no-zone;
         }
       }
     }
     case p2mp-ipv4-case {
       container p2mp-ipv4 {
         uses p2mp-leaves-leaf;
         uses endpoints-ipv4-source;
         uses ipv4-destinations;
       }
     }
     case p2mp-ipv6-case {
       container p2mp-ipv6 {
         uses p2mp-leaves-leaf;
         uses endpoints-ipv6-source;
         uses ipv6-destinations;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return addressFamily, or null if it is not present.
    Class<? extends Endpoints>
     
  • 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 Endpoints> 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
    • getAddressFamily

      AddressFamily getAddressFamily()
      Return addressFamily, or null if it is not present.
      Returns:
      AddressFamily addressFamily, or null if it is not present.