Interface Layer2AttributesExtendedCommunity

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Layer2AttributesExtendedCommunityCase, Layer2AttributesExtendedCommunityCase

    @Generated("mdsal-binding-generator")
    public interface Layer2AttributesExtendedCommunity
    extends org.opendaylight.yangtools.yang.binding.DataObject

    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;
         }
       }
     }
     
    The schema path to identify an instance is odl-bgp-evpnlayer-2-attributes-extended-community
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Layer2AttributesExtendedCommunity getLayer2AttributesExtendedCommunity()
        Return layer2AttributesExtendedCommunity, or null if 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.Layer2AttributesExtendedCommunity layer2AttributesExtendedCommunity, or null if it is not present.