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-community

    To create instances of this class use Layer2AttributesExtendedCommunityBuilder.

    See Also:
    Layer2AttributesExtendedCommunityBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Boolean isPrimaryPe()
        Returns:
        java.lang.Boolean primaryPe, or null if not present
      • isBackupPe

        @Nullable Boolean isBackupPe()
        Returns:
        java.lang.Boolean backupPe, or null if not present
      • isControlWord

        @Nullable Boolean isControlWord()
        Returns:
        java.lang.Boolean controlWord, or null if not present
      • getModeOfOperation

        @Nullable OperationalMode getModeOfOperation()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.OperationalMode modeOfOperation, or null if not present
      • getOperatingPer

        @Nullable NormalizationType getOperatingPer()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.NormalizationType operatingPer, or null if not present
      • getL2Mtu

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getL2Mtu()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 l2Mtu, or null if not present