Interface Esi
- 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:
EsRoute,EthernetADRoute,MacIpAdvRoute
@Generated("mdsal-binding-generator")
public interface Esi
extends org.opendaylight.yangtools.binding.Grouping
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;
}
}
}
}
-
Method Summary
Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getEsi
Esi getEsi()Return esi, ornullif it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev200120.esi.Esiesi, ornullif it is not present.
-