Interface MplsLabelEntry

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MplsLabelEntry>, org.opendaylight.yangtools.yang.binding.BindingObject, BindingTypeValue, org.opendaylight.yangtools.yang.binding.ChoiceIn<PathBinding>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface MplsLabelEntry
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<MplsLabelEntry>, BindingTypeValue

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

     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/binding-type-value/mpls-label-entry
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable MplsLabel getLabel()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.network.concepts.rev131125.MplsLabel label, or null if not present
      • getTrafficClass

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getTrafficClass()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 trafficClass, or null if not present
      • isBottomOfStack

        @Nullable Boolean isBottomOfStack()
        Returns:
        java.lang.Boolean bottomOfStack, or null if not present
      • getTimeToLive

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getTimeToLive()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 timeToLive, or null if not present