Interface Layer2AttributesExtendedCommunity
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Layer2AttributesExtendedCommunity>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Layer2AttributesExtendedCommunity>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface Layer2AttributesExtendedCommunity extends org.opendaylight.yangtools.yang.binding.ChildOf<Layer2AttributesExtendedCommunity>, org.opendaylight.yangtools.yang.binding.Augmentable<Layer2AttributesExtendedCommunity>
The EVPN Layer 2 attributes extended community is a extended community to be included with Ethernet A-D per EVI route. This attribute is mandatory if multihoming is enabled.This class represents the following YANG schema fragment defined in module odl-bgp-evpn
container layer-2-attributes-extended-community { leaf primary-pe { type boolean; default false; } leaf backup-pe { type boolean; default false; } leaf control-word { type boolean; default false; } leaf mode-of-operation { type operational-mode; } leaf operating-per { type normalization-type; } leaf l2-mtu { type uint16; } }
The schema path to identify an instance is odl-bgp-evpn/layer-2-attributes-extended-community/layer-2-attributes-extended-communityTo create instances of this class use
Layer2AttributesExtendedCommunityBuilder
.- See Also:
Layer2AttributesExtendedCommunityBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint16
getL2Mtu()
@Nullable OperationalMode
getModeOfOperation()
@Nullable NormalizationType
getOperatingPer()
default Class<Layer2AttributesExtendedCommunity>
implementedInterface()
@Nullable Boolean
isBackupPe()
@Nullable Boolean
isControlWord()
@Nullable Boolean
isPrimaryPe()
-
-
-
Method Detail
-
implementedInterface
default Class<Layer2AttributesExtendedCommunity> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
isPrimaryPe
@Nullable Boolean isPrimaryPe()
- Returns:
java.lang.Boolean
primaryPe
, ornull
if not present
-
isBackupPe
@Nullable Boolean isBackupPe()
- Returns:
java.lang.Boolean
backupPe
, ornull
if not present
-
isControlWord
@Nullable Boolean isControlWord()
- Returns:
java.lang.Boolean
controlWord
, ornull
if not present
-
getModeOfOperation
@Nullable OperationalMode getModeOfOperation()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.OperationalMode
modeOfOperation
, ornull
if not present
-
getOperatingPer
@Nullable NormalizationType getOperatingPer()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.NormalizationType
operatingPer
, ornull
if not present
-
getL2Mtu
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getL2Mtu()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
l2Mtu
, ornull
if not present
-
-