Interface Esi

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

    @Generated("mdsal-binding-generator")
    public interface Esi
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Ethernet segment (ES) are identified by a unique non-zero identifier called an Ethernet Segment Identifier (ESI). An ESI is encoded as a 10-octet integer in line format with the most significant octet sent first

    This class represents the following YANG schema fragment defined in module odl-bgp-evpn

     grouping esi {
       choice esi {
         case arbitrary-case {
           container arbitrary {
             leaf arbitrary {
               type binary {
                 length 9;
               }
             }
           }
         }
         case lacp-auto-generated-case {
           container lacp-auto-generated {
             leaf ce-lacp-mac-address {
               type yang:mac-address;
             }
             leaf ce-lacp-port-key {
               type uint16;
             }
           }
         }
         case lan-auto-generated-case {
           container lan-auto-generated {
             leaf root-bridge-mac-address {
               type yang:mac-address;
             }
             leaf root-bridge-priority {
               type uint16;
             }
           }
         }
         case mac-auto-generated-case {
           container mac-auto-generated {
             leaf system-mac-address {
               type yang:mac-address;
             }
             leaf local-discriminator {
               type rt-types:uint24;
             }
           }
         }
         case router-id-generated-case {
           container router-id-generated {
             leaf router-id {
               type inet:ipv4-address-no-zone;
             }
             uses local-discriminator;
           }
         }
         case as-generated-case {
           container as-generated {
             leaf as {
               type inet:as-number;
             }
             uses local-discriminator;
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-bgp-evpnesi
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Esi getEsi()
        Return esi, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.esi.Esi esi, or null if it is not present.