Interface PathBindingTlv

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Tlvs

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

    This class represents the following YANG schema fragment defined in module odl-pcep-ietf-stateful

     grouping path-binding-tlv {
       container path-binding {
         uses pcep:tlv;
         choice binding-type-value {
           case mpls-label {
             leaf mpls-label {
               type netc:mpls-label;
             }
           }
           case mpls-label-entry {
             leaf label {
               type netc:mpls-label;
             }
             leaf traffic-class {
               type uint8 {
                 range 0..7;
               }
             }
             leaf bottom-of-stack {
               type boolean;
             }
             leaf time-to-live {
               type uint8;
             }
           }
           case srv6 {
             leaf srv6-address {
               type inet:ipv6-address-no-zone;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-pcep-ietf-statefulpath-binding-tlv
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        PathBinding getPathBinding()
        Return pathBinding, or null if it is not present.
        Returns:
        PathBinding pathBinding, or null if it is not present.