Interface Layer2AttributesExtendedCommunity
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
Layer2AttributesExtendedCommunityCase,Layer2AttributesExtendedCommunityCase
@Generated("mdsal-binding-generator")
public interface Layer2AttributesExtendedCommunity
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module odl-bgp-evpn
grouping layer-2-attributes-extended-community {
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;
}
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn layer2AttributesExtendedCommunity, ornullif it is not present.@NonNull Layer2AttributesExtendedCommunityReturn layer2AttributesExtendedCommunity, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getLayer2AttributesExtendedCommunity
Layer2AttributesExtendedCommunity getLayer2AttributesExtendedCommunity()Return layer2AttributesExtendedCommunity, ornullif it is not present.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.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.layer._2.attributes.extended.community.Layer2AttributesExtendedCommunitylayer2AttributesExtendedCommunity, ornullif it is not present.
-
nonnullLayer2AttributesExtendedCommunity
@NonNull Layer2AttributesExtendedCommunity nonnullLayer2AttributesExtendedCommunity()Return layer2AttributesExtendedCommunity, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.layer._2.attributes.extended.community.Layer2AttributesExtendedCommunitylayer2AttributesExtendedCommunity, or an empty instance if it is not present.
-