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:
    LabelStack

    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;
       }
     }
     
    The schema path to identify an instance is bgp-labeled-unicast/label
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • 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

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