Interface Label

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

    public interface Label
    extends org.opendaylight.yangtools.yang.binding.DataObject
    The lable stack entry.

    This class represents the following YANG schema fragment defined in module bgp-labeled-unicast

     grouping label {
       leaf label-value {
         type netc:mpls-label;
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        MplsLabel getLabelValue()
        Return labelValue, or null if it is not present.
        MplsLabel labelValue, or null if it is not present.
      • requireLabelValue

        default @NonNull MplsLabel requireLabelValue()
        Return labelValue, guaranteed to be non-null.
        MplsLabel labelValue, guaranteed to be non-null.
        NoSuchElementException - if labelValue is not present