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:
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;
         }
       }
     }
   }
 }
 
  • 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 pathBinding, or null if it is not present.
     
    @NonNull PathBinding
    Return pathBinding, or an empty instance if it is not present.
  • 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 PathBindingTlv> 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
    • getPathBinding

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

      @NonNull PathBinding nonnullPathBinding()
      Return pathBinding, or an empty instance if it is not present.
      Returns:
      PathBinding pathBinding, or an empty instance if it is not present.