All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return esi, or null if it is not present.
    Class<? extends Esi>
     
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends Esi> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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.