Interface EsiLabelExtendedCommunity
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
EsiLabelExtendedCommunityCase,EsiLabelExtendedCommunityCase
@Generated("mdsal-binding-generator")
public interface EsiLabelExtendedCommunity
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-bgp-evpn
grouping esi-label-extended-community {
container esi-label-extended-community {
leaf single-active-mode {
type boolean;
default false;
}
leaf esi-label {
type netc:mpls-label;
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn esiLabelExtendedCommunity, ornullif it is not present.Class<? extends EsiLabelExtendedCommunity>@NonNull EsiLabelExtendedCommunityReturn esiLabelExtendedCommunity, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends EsiLabelExtendedCommunity> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEsiLabelExtendedCommunity
EsiLabelExtendedCommunity getEsiLabelExtendedCommunity()Return esiLabelExtendedCommunity, ornullif it is not present.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- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.esi.label.extended.community.EsiLabelExtendedCommunityesiLabelExtendedCommunity, ornullif it is not present.
-
nonnullEsiLabelExtendedCommunity
@NonNull EsiLabelExtendedCommunity nonnullEsiLabelExtendedCommunity()Return esiLabelExtendedCommunity, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.esi.label.extended.community.EsiLabelExtendedCommunityesiLabelExtendedCommunity, or an empty instance if it is not present.
-