This module contains definitions of ethernet segements. The ethernet segments are used in EVPN services are defined for the whole device
openconfig-extensions
openconfig-interfaces
openconfig-yang-types
openconfig-evpn-types
description:
Top-level container for ethernet segments. An Ethernet Segment
is referenced by a name and an ESI
nodetype: container (rw)
description:
List of Ethernet Segments.
nodetype: list (rw)
list keys: [name]
description:
Ethernet Segment Name
nodetype: leaf (list key) (rw)
type: leafref
description:
Configuration data for the Ethernet Segments.
nodetype: container (rw)
description:
Ethernet Segment name
nodetype: leaf (rw)
type: string
description:
ESI Type is a 1-octet field (most significant octet) that
specifies the format of the remaining 9 octets (ESI Value).
nodetype: leaf (rw)
type: oc-evpn-types:esi-type
default: TYPE_0_OPERATOR_CONFIGURED
description:
Ethernet Segment Identifier (ESI) value.
For ESI Type 0: The esi leaf value is directly configured by the operator.
For ESI Type 1: The AUTO enum must be used.
For ESI Type 2: The AUTO enum must be used.
For ESI Type 3: The directly configured or AUTO enum must be used.
For ESI Type 4: The directly configured or AUTO enum must be used.
For ESI Type 5: The directly configured or AUTO enum must be used.
nodetype: leaf (rw)
type: union
type: oc-evpn-types:esi
type: enumeration
description:
Multihoming options for load balancing of
traffic in the Ethernet Segment.
nodetype: leaf (rw)
type: identityref
description:
Received ES routes with an ES-Import extended community set to this value
are imported into this ethernet segment. When configured by a user, the
es-import-route-target will be used, otherwise the system automatically
derives the value used by following the procedures in RFC 7432 Section 7.6.
nodetype: leaf (rw)
type: oc-yang-types:mac-address
description:
Reference to a base interface. If a reference to a
subinterface is required, this leaf must be specified
to indicate the base interface.
nodetype: leaf (rw)
type: leafref
description:
Reference to a subinterface -- this requires the base
interface to be specified using the interface leaf in
this container. If only a reference to a base interface
is requuired, this leaf should not be set.
nodetype: leaf (rw)
type: leafref
description:
Operational state data for the Ethernet Segments.
nodetype: container (ro)
description:
Ethernet Segment name
nodetype: leaf (ro)
type: string
description:
ESI Type is a 1-octet field (most significant octet) that
specifies the format of the remaining 9 octets (ESI Value).
nodetype: leaf (ro)
type: oc-evpn-types:esi-type
default: TYPE_0_OPERATOR_CONFIGURED
description:
Ethernet Segment Identifier (ESI) value.
For ESI Type 0: The esi leaf value is directly configured by the operator.
For ESI Type 1: The AUTO enum must be used.
For ESI Type 2: The AUTO enum must be used.
For ESI Type 3: The directly configured or AUTO enum must be used.
For ESI Type 4: The directly configured or AUTO enum must be used.
For ESI Type 5: The directly configured or AUTO enum must be used.
nodetype: leaf (ro)
type: union
type: oc-evpn-types:esi
type: enumeration
description:
Multihoming options for load balancing of
traffic in the Ethernet Segment.
nodetype: leaf (ro)
type: identityref
description:
Received ES routes with an ES-Import extended community set to this value
are imported into this ethernet segment. When configured by a user, the
es-import-route-target will be used, otherwise the system automatically
derives the value used by following the procedures in RFC 7432 Section 7.6.
nodetype: leaf (ro)
type: oc-yang-types:mac-address
description:
Reference to a base interface. If a reference to a
subinterface is required, this leaf must be specified
to indicate the base interface.
nodetype: leaf (ro)
type: leafref
description:
Reference to a subinterface -- this requires the base
interface to be specified using the interface leaf in
this container. If only a reference to a base interface
is requuired, this leaf should not be set.
nodetype: leaf (ro)
type: leafref
description:
Top container for the configuration and state parameters
for the Designated forwarding Election
nodetype: container (rw)
description:
Configuration parameters for the Designated forwarding Election
nodetype: container (rw)
description:
Select the Designated Forwarder Election (DF) election method
nodetype: leaf (rw)
type: enumeration
description:
Defines a 2-octet value that indicates the PE
preference to become the DF in the Ethernet-Segment.
nodetype: leaf (rw)
type: uint16
description:
The 'preempt' or 'revertive' behavior. This option will allow a
non-revertive behavior in the DF election.
nodetype: leaf (rw)
type: boolean
default: true
description:
Designated Forwarder Election wait-time. When the DF timer expires,
the PE device selects the DF based on the highest preference value
nodetype: leaf (rw)
type: uint32
description:
Configuration parameters for the Designated forwarding Election
nodetype: container (ro)
description:
Select the Designated Forwarder Election (DF) election method
nodetype: leaf (ro)
type: enumeration
description:
Defines a 2-octet value that indicates the PE
preference to become the DF in the Ethernet-Segment.
nodetype: leaf (ro)
type: uint16
description:
The 'preempt' or 'revertive' behavior. This option will allow a
non-revertive behavior in the DF election.
nodetype: leaf (ro)
type: boolean
default: true
description:
Designated Forwarder Election wait-time. When the DF timer expires,
the PE device selects the DF based on the highest preference value
nodetype: leaf (ro)
type: uint32