Interface EsiLabelExtendedCommunity

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

    public interface EsiLabelExtendedCommunity
    extends org.opendaylight.yangtools.yang.binding.ChildOf<EsiLabelExtendedCommunity>, org.opendaylight.yangtools.yang.binding.Augmentable<EsiLabelExtendedCommunity>
    The ESI Label Extended Community is a transitive Extended Community that may be advertised along with Ethernet Auto-discovery routes, and it enables split-horizon procedures for multihomed sites

    This class represents the following YANG schema fragment defined in module odl-bgp-evpn

     container esi-label-extended-community {
       leaf single-active-mode {
         type boolean;
         default false;
       }
       leaf esi-label {
         type netc:mpls-label;
       }
     }
     
    The schema path to identify an instance is odl-bgp-evpn/esi-label-extended-community/esi-label-extended-community

    To create instances of this class use EsiLabelExtendedCommunityBuilder.

    See Also:
    EsiLabelExtendedCommunityBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Boolean isSingleActiveMode()
        Returns:
        java.lang.Boolean singleActiveMode, or null if not present
      • getEsiLabel

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