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

    public interface PathBindingTlv
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     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;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-pcep-ietf-stateful07/path-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

        @Nullable PathBinding getPathBinding()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.ietf.stateful.rev181109.path.binding.tlv.PathBinding pathBinding, or null if not present