Interface PathBinding

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<PathBinding>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PathBindingTlv>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Tlv

    public interface PathBinding
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PathBindingTlv>, org.opendaylight.yangtools.yang.binding.Augmentable<PathBinding>, Tlv

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

     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/path-binding

    To create instances of this class use PathBindingBuilder.

    See Also:
    PathBindingBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<PathBinding> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface Tlv
      • getBindingTypeValue

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