This module contains a collection of YANG definitions for Cisco IOS-XR evpn package operational data. This module contains defi...
Version: 2020-05-05
module Cisco-IOS-XR-evpn-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-evpn-oper"; prefix evpn-oper; import ietf-inet-types { prefix inet; } import ietf-yang-types { prefix yang; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-evpn-oper-sub1 { revision-date "2020-05-05"; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR evpn package operational data. This module contains definitions for the following management objects: evpn: EVPN Operational Table Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-05-05" { description "changes related to treat SRv6 and SID as well-known when parsing XML for yang 2020-04-02 EVPN DF Election Synchronization with NTP related changes"; } revision "2019-12-20" { description "EVPN SRv6 related changes"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-09-26" { description "Duplicate detection parameters config moved from l2vpn to l2rib."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "4.0.0"; semver:module-version "3.0.0"; semver:module-version "2.0.0"; typedef Rd-addr-index { type uint32 { range "0..65535"; } description "Rd addr index"; } typedef Bgp-route-target-role { type enumeration { enum "both" { value 0; description "Both Import and export roles"; } enum "import" { value 1; description "Import role"; } enum "export" { value 2; description "Export role"; } } description "Bgp route target role"; } typedef Evpn-client-source { type enumeration { enum "local" { value 0; description "Source Local"; } enum "remote" { value 1; description "Source Remote"; } } description "Evpn client source"; } typedef Evpn-client { type enumeration { enum "igmpsn" { value 0; description "IGMPSN client"; } enum "igmp" { value 1; description "IGMP client"; } } description "Evpn client"; } typedef Evpnrdas-display-range { type uint32 { range "0..4294967295"; } description "Evpnrdas display range"; } typedef Rdas-index { type uint32 { range "0..4294967295"; } description "Rdas index"; } typedef Bgp-route-target-format { type enumeration { enum "none" { value 0; description "No route target"; } enum "two-byte-as" { value 1; description "2 Byte AS:nn format"; } enum "four-byte-as" { value 2; description "4 byte AS:nn format"; } enum "ipv4-address" { value 3; description "IP:nn format"; } enum "es-import" { value 1538; description "a.a.i format"; } } description "Bgp route target format"; } container evpn { config false; description "EVPN Operational Table"; container nodes { description "Table of EVPN operational data for a particular node"; list node { key "node-id"; description "EVPN operational data for a particular node"; leaf node-id { type xr:Node-id; description "Location"; } container evpn-groups { description "EVPN Group Table"; list evpn-group { key "group-number"; description "EVPN Group information"; leaf group-number { type uint32 { range "1..4294967295"; } description "EVPN group number"; } leaf group-id { type uint32; description "EVPN Group ID"; } leaf state { type Evpn-grp; description "EVPN Group State"; } list core-interface { description "EVPN Group Core Interface table"; leaf interface-name { type string; description "Interface name"; } leaf state { type Im-state-enum; description "Interface State"; } } // list core-interface list access-interface { description "EVPN Access Core Interface table"; leaf interface-name { type string; description "Interface name"; } leaf state { type Im-state-enum; description "Interface State"; } } // list access-interface } // list evpn-group } // container evpn-groups container remote-shgs { description "EVPN Remote SHG table"; list remote-shg { description "EVPN Remote SHG"; leaf evi { type uint32; description "EVPN id"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Instance transport encapsulation"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list remote-split-horizon-group-label { description "Remote split horizon group labels"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf label { type uint32; description "Split horizon label associated with next-hop address"; } } // list remote-split-horizon-group-label } // list remote-shg } // container remote-shgs container client { description "L2VPN EVPN Client"; leaf client-type { type Evpn-client1; description "Client Type"; } } // container client container igmps { description "EVPN IGMP table"; list igmp { description "IGMP Route"; leaf client-type { type Evpn-client; description "Client type"; } leaf source-type { type Evpn-client-source; description "Source type"; } leaf is-leave { type boolean; description "Is leave route type"; } leaf evi { type uint32; description "EVI"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } leaf src-ip { type inet:ip-address-no-zone; description "Source IP Address"; } leaf grp-ip { type inet:ip-address-no-zone; description "Group IP Address"; } leaf originating-ip { type inet:ip-address-no-zone; description "Originating IP Address"; } leaf bd-id { type uint32; description "BD ID"; } leaf bp-xcid { type uint32; description "BP XCID"; } leaf vrf-id { type uint32; description "VRF ID"; } leaf sub-interface-name { type xr:Interface-name; description "Sub-interface name"; } container source-info { description "Source Info"; container local-info { when "../type = 'local'" { description "../Type = 'Local'"; } description "local info"; leaf if-name { type string { length "0..65"; } description "Interface name internal format"; } } // container local-info leaf type { type Evpn-igmp-source; description "Type"; } leaf remote-info { when "../type = 'remote'" { description "../Type = 'Remote'"; } type L2vpn-bag-in6-addr; description "remote info"; } } // container source-info container child-info { description "Child Info"; container fwd-info { when "../child-type = 'l2-fwd'" { description "../ChildType = 'L2_FWD'"; } description "fwd info"; leaf bd-id { type uint32; description "BD id"; } } // container fwd-info container subif-info { when "../child-type = 'l3-sub-if'" { description "../ChildType = 'L3_SUBIF'"; } description "subif info"; leaf vrf-id { type uint32; description "VRF id"; } } // container subif-info leaf child-type { type Evpn-child; description "ChildType"; } } // container child-info leaf evpn-client-type { type Evpn-client1; description "EVPN Client Type"; } leaf ethernet-segment-name { type string; description "Ethernet Segment Name"; } leaf evi-xr { type uint32; description "E-VPN id"; } leaf route-type { type Evpn-igmp-msg; description "Route Type"; } leaf source-addr { type inet:ipv6-address; description "Source IP Address"; } leaf group-addr { type inet:ipv6-address; description "Group IP Address"; } leaf originating-ip-xr { type inet:ipv6-address; description "Originating IP Address (remotes)"; } leaf ethernet-tag-id { type uint32; description "Ethernet Tag id"; } leaf igmp-version { type Evpn-igmp-version; description "IGMP Version"; } leaf igmp-group-type { type Evpn-igmp-grp; description "IGMP Group Type"; } leaf max-response-time { type uint8; description "Max Response Time"; } leaf resolved { type boolean; description "Resolved"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier } // list igmp } // container igmps container evis { description "L2VPN EVPN EVI Table"; list evi { description "L2VPN EVPN EVI Entry"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // list evi } // container evis container summary { description "L2VPN EVPN Summary"; leaf router-id { type inet:ipv6-address; description "EVPN Router ID"; } leaf as { type uint32; description "BGP AS number"; } leaf ev-is { type uint32; description "Number of EVI DB Entries"; } leaf tunnel-endpoints { type uint32; description "Number of Tunnel Endpoint DB Entries"; } leaf local-mac-routes { type uint32; description "Number of Local MAC Routes"; } leaf local-ipv4-mac-routes { type uint32; description "Number of Local IPv4 MAC-IP Routes"; } leaf local-ipv6-mac-routes { type uint32; description "Number of Local IPv6 MAC-IP Routes"; } leaf es-global-mac-routes { type uint32; description "Number of ES:Global MAC Routes"; } leaf remote-mac-routes { type uint32; description "Number of Remote MAC Routes"; } leaf remote-sync-mac-routes { type uint32; description "Number of Remote SYNC MAC Routes"; } leaf remote-ipv4-mac-routes { type uint32; description "Number of Remote IPv4 MAC-IP Routes"; } leaf remote-ipv6-mac-routes { type uint32; description "Number of Remote IPv6 MAC-IP Routes"; } leaf local-imcast-routes { type uint32; description "Number of Local IMCAST Routes"; } leaf remote-imcast-routes { type uint32; description "Number of Remote IMCAST Routes"; } leaf labels { type uint32; description "Number of Internal Labels"; } leaf sh-internal-ids { type uint32; description "Number of single-homed Internal IDs"; } leaf mh-internal-ids { type uint32; description "Number of multi-homed Internal IDs"; } leaf es-entries { type uint32; description "Number of ES Entries in DB"; } leaf neighbor-entries { type uint32; description "Number of neighbor Entries in DB"; } leaf local-ead-routes { type uint32; description "Number of Local EAD Entries in DB"; } leaf remote-ead-routes { type uint32; description "Number of Remote EAD Entries in DB"; } leaf global-source-mac { type yang:mac-address; description "Global Source MAC Address"; } leaf peering-time { type uint32; units "second"; description "EVPN ES Peering Time (seconds)"; } leaf recovery-time { type uint32; units "second"; description "EVPN ES Recovery Time (seconds)"; } leaf carving-time { type uint32; units "second"; description "EVPN ES Carving Time (seconds)"; } leaf cost-out-configured { type boolean; description "EVPN node cost out via manual configuration"; } leaf bundle-convergence-in-progress { type boolean; description "Bundle convergence in progress"; } leaf node-costed-out { type boolean; description "EVPN Services costed out on node and holding Bundle interfaces down"; } leaf startup-cost-in-time { type uint32; units "second"; description "EVPN Node startup cost-in Time (seconds)"; } leaf startup-cost-in-time-left { type uint32; units "millisecond"; description "Milliseconds left on EVPN Node startup cost-in"; } leaf mac-postpone-timer { type uint32; units "second"; description "Configured timer for postponing MAC withdraws (seconds)"; } leaf mac-postpone-timer-left { type uint32; units "millisecond"; description "Milliseconds left on MAC withdraw postpone timer"; } leaf l2rib-throttle { type boolean; description "Send to L2RIB Throttled"; } leaf logging-df-election-enabled { type boolean; description "Logging EVPN Designated Forwarder changes enabled"; } } // container summary container evi-detail { description "L2VPN EVI Detail Table"; container elements { description "EVI BGP RT Detail Info Elements"; list element { description "EVI BGP RT Detail Info"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container flow-label { description "Flow Label Information"; leaf static-flow-label { type boolean; description "Static flow label"; } leaf global-flow-label { type boolean; description "Globally configured flow label"; } } // container flow-label container rd-auto { description "Automatic Route Distingtuisher"; container auto { when "../rd = 'l2vpn-ad-rd-auto'" { description "../RD = 'L2VPN_AD_RD_AUTO'"; } description "auto"; leaf router-id { type inet:ipv4-address; description "BGP Router ID"; } leaf auto-index { type uint16; description "Auto-generated Index"; } } // container auto container two-byte-as { when "../rd = 'l2vpn-ad-rd-as'" { description "../RD = 'L2VPN_AD_RD_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rd = 'l2vpn-ad-rd-4byte-as'" { description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rd = 'l2vpn-ad-rd-v4-addr'" { description "../RD = 'L2VPN_AD_RD_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr leaf rd { type L2vpn-ad-rd; description "RD"; } } // container rd-auto container rd-configured { description "Configured Route Distinguisher"; container auto { when "../rd = 'l2vpn-ad-rd-auto'" { description "../RD = 'L2VPN_AD_RD_AUTO'"; } description "auto"; leaf router-id { type inet:ipv4-address; description "BGP Router ID"; } leaf auto-index { type uint16; description "Auto-generated Index"; } } // container auto container two-byte-as { when "../rd = 'l2vpn-ad-rd-as'" { description "../RD = 'L2VPN_AD_RD_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rd = 'l2vpn-ad-rd-4byte-as'" { description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rd = 'l2vpn-ad-rd-v4-addr'" { description "../RD = 'L2VPN_AD_RD_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr leaf rd { type L2vpn-ad-rd; description "RD"; } } // container rd-configured container rt-auto { description "Automatic Route Target"; container two-byte-as { when "../rt = 'l2vpn-ad-rt-as'" { description "../RT = 'L2VPN_AD_RT_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rt = 'l2vpn-ad-rt-4byte-as'" { description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rt = 'l2vpn-ad-rt-v4-addr'" { description "../RT = 'L2VPN_AD_RT_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr container es-import { when "../rt = 'es-import'" { description "../RT = 'ES_Import'"; } description "es import"; leaf high-bytes { type uint32; description "Top 4 bytes of ES Import"; } leaf low-bytes { type uint16; description "Low 2 bytes of ES Import"; } } // container es-import leaf rt { type L2vpn-ad-rt; description "RT"; } } // container rt-auto leaf evi-xr { type uint32; description "E-VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf description { type string; description "EVI description"; } leaf unicast-label { type uint32; description "Unicast Label"; } leaf multicast-label { type uint32; description "Multicast Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } leaf cw-disable { type boolean; description "Control-Word Disable"; } leaf mtu-mismatch-ignore { type boolean; description "Ignore MTU Mismatch"; } leaf mtu-zero-transmit { type boolean; description "Transmit MTU Zero"; } leaf table-policy-name { type string; description "Table-policy Name"; } leaf export-route-policy { type string; description "Export Route Policy"; } leaf import-route-policy { type string; description "Import Route Policy"; } leaf forward-class { type uint8; description "Forward Class attribute"; } leaf rt-import-block-set { type boolean; description "Is Import RT None set"; } leaf rt-export-block-set { type boolean; description "Is Export RT None set"; } leaf advertise-mac { type boolean; description "Advertise MAC-only routes on this EVI"; } leaf etree-leaf { type boolean; description "E-Tree Leaf Indication"; } leaf etree-rt-leaf { type boolean; description "E-Tree Route-Target Leaf Indication"; } leaf advertise-bvi-mac { type boolean; description "Advertise BVI MACs routes on this EVI"; } leaf aliasing-disabled { type boolean; description "Route Aliasing is disabled"; } leaf unknown-unicast-flooding-disabled { type boolean; description "Unknown-unicast flooding is disabled"; } leaf reoriginate-disabled { type boolean; description "Route Re-origination is disabled"; } leaf stitching { type boolean; description "EVPN Instance is Regular/Stitching side"; } leaf multicast-source-connected { type boolean; description "EVI is connected to multicast source"; } leaf bgp-implicit-import-disabled { type boolean; description "BGP implicit import is disabled"; } leaf vrf-name { type string; description "L3 VRF name from BVI"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred Nexthop Mode"; } leaf srv6-locator-name { type string; description "SRv6 Locator Name"; } } // list element } // container elements container evi-children { description "Container for all EVI detail info"; container neighbors { description "EVPN Neighbor table"; list neighbor { description "EVPN Neighbor table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf neighbor-ip { type inet:ip-address-no-zone; description "Neighbor IP"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf neighbor { type inet:ipv6-address; description "Neighbor IP"; } list leaf-evis { description "Leaf EVIs"; leaf entry { type uint32; description "Leaf EVIs"; } } // list leaf-evis } // list neighbor } // container neighbors container ethernet-auto-discoveries { description "EVPN Ethernet Auto-Discovery table"; list ethernet-auto-discovery { description "EVPN Ethernet Auto-Discovery Entry"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf local-next-hop { type inet:ipv6-address; description "Local nexthop IP"; } leaf local-label { type uint32; description "Associated local label"; } leaf is-local-ead { type boolean; description "Indication of EthernetAutoDiscovery Route is local"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote EAD"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy configured at remote EAD"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list local-sid-array { description "Associated local SIDs"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list local-sid-array list path-buffer { description "Path List Buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list path-buffer } // list ethernet-auto-discovery } // container ethernet-auto-discoveries container inclusive-multicasts { description "L2VPN EVPN IMCAST table"; list inclusive-multicast { description "L2VPN EVPN IMCAST table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } leaf originating-ip { type inet:ip-address-no-zone; description "Originating IP"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf originating-ip-xr { type inet:ipv6-address; description "Originating IP"; } leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint ID"; } leaf pmsi-tunnel-type { type uint32; description "PMSI Tunnel Type"; } leaf next-hop { type inet:ipv6-address; description "IP of nexthop"; } leaf output-label { type uint32; description "Output label"; } leaf is-local-entry { type boolean; description "Local entry"; } leaf is-proxy-entry { type boolean; description "Proxy entry"; } leaf etree-leaf { type boolean; description "E-Tree Leaf Indication"; } } // list inclusive-multicast } // container inclusive-multicasts container route-targets { description "L2VPN EVPN EVI RT Child Table"; list route-target { description "L2VPN EVPN EVI RT Table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf role { type Bgp-route-target-role; description "Role of the route target"; } leaf format { type Bgp-route-target-format; description "Format of the route target"; } leaf as { type Evpnrdas-display-range; description "Two or Four byte AS Number"; } leaf as-index { type Rdas-index; description "RT AS Index"; } leaf addr-index { type Rd-addr-index; description "RT IP Index"; } leaf address { type inet:ipv4-address-no-zone; description "RT IPv4 Address"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container route-target { description "Route Target"; container two-byte-as { when "../rt = 'l2vpn-ad-rt-as'" { description "../RT = 'L2VPN_AD_RT_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rt = 'l2vpn-ad-rt-4byte-as'" { description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rt = 'l2vpn-ad-rt-v4-addr'" { description "../RT = 'L2VPN_AD_RT_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr container es-import { when "../rt = 'es-import'" { description "../RT = 'ES_Import'"; } description "es import"; leaf high-bytes { type uint32; description "Top 4 bytes of ES Import"; } leaf low-bytes { type uint16; description "Low 2 bytes of ES Import"; } } // container es-import leaf rt { type L2vpn-ad-rt; description "RT"; } } // container route-target leaf route-target-role { type L2vpn-ad-rt-role; description "RT Role"; } leaf route-target-stitching { type boolean; description "RT Stitching"; } } // list route-target } // container route-targets container macs { description "L2VPN EVPN EVI MAC table"; list mac { description "L2VPN EVPN MAC table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf ip-address { type inet:ip-address-no-zone; description "IP Address"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf mac-address-xr { type yang:mac-address; description "MAC address"; } leaf ip-address-xr { type inet:ipv6-address; description "IP address (v6 format)"; } leaf local-label { type uint32; description "Associated local label"; } leaf is-local-mac { type boolean; description "Indication of MAC being locally generated"; } leaf is-proxy-entry { type boolean; description "Proxy entry"; } leaf is-remote-mac { type boolean; description "Indication of MAC being remotely generated"; } leaf soo-nexthop { type inet:ipv6-address; description "SOO nexthop (v6 format)"; } leaf ipnh-address { type inet:ipv6-address; description "IP nexthop address (v6 format)"; } leaf esi-port-key { type uint16; description "ESI port key"; } leaf local-encap-type { type uint8; description "Encap type of local MAC"; } leaf remote-encap-type { type uint8; description "Encap type of remote MAC"; } leaf learned-bridge-port-name { type string; description "Port the MAC was learned on"; } leaf local-seq-id { type uint32; description "local seq id"; } leaf remote-seq-id { type uint32; description "remote seq id"; } leaf local-l3-label { type uint32; description "local l3 label"; } leaf router-mac-address { type yang:mac-address; description "Router MAC address"; } leaf mac-flush-requested { type uint16; description "Number of flushes requested "; } leaf mac-flush-received { type uint16; description "Number of flushes received "; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf local-is-static { type boolean; description "Indication if Local MAC is statically configured"; } leaf remote-is-static { type boolean; description "Indication if Remote MAC is statically configured"; } leaf local-etree-leaf { type boolean; description "Local E-Tree Leaf Indication"; } leaf remote-etree-leaf { type boolean; description "Remote E-Tree Leaf Indication"; } leaf remote-etree-rt-leaf { type boolean; description "Remote MAC matching E-Tree Route-Target Leaf"; } leaf local-attachment-circuit-id { type uint32; description "Local Attachement Circuit ID used in ac-aware-vlan-bundling"; } leaf remote-attachment-circuit-id { type uint32; description "Remote Attachement Circuit ID used in ac-aware-vlan-bundling"; } list local-ethernet-segment-identifier { description "Local Ethernet Segment id"; leaf entry { type uint8; description "Local Ethernet Segment id"; } } // list local-ethernet-segment-identifier list remote-ethernet-segment-identifier { description "Remote Ethernet Segment id"; leaf entry { type uint8; description "Remote Ethernet Segment id"; } } // list remote-ethernet-segment-identifier list path-buffer { description "Path List Buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list path-buffer } // list mac } // container macs } // container evi-children } // container evi-detail container teps { description "L2VPN EVPN TEP Table"; list tep { key "tep-id"; description "L2VPN EVPN TEP Entry"; container tep-notification-entries { description "L2VPN EVPN TEP Notification Table"; list tep-notification-entry { key "index"; description "L2VPN EVPN TEP Notification Entry"; leaf index { type uint32; description "TEP notification index"; } leaf entry-name { type string; description "Entry Name"; } } // list tep-notification-entry } // container tep-notification-entries container tep-info { description "L2VPN EVPN TEP Entry"; container local-info { description "Local TEP Information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Tunnel encapsulation"; } leaf ip { type inet:ipv6-address; description "IP address (v6 format)"; } } // container local-info container remote-info { description "Remote TEP Information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Tunnel encapsulation"; } leaf ip { type inet:ipv6-address; description "IP address (v6 format)"; } } // container remote-info leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint id"; } leaf type { type uint8; description "EVPN Tunnel Endpoint Type"; } leaf use-count { type uint32; description "in-use counter"; } leaf vrf-name { type string; description "VRF Name"; } leaf vrf-table-id { type uint32; description "VRF Table Id in RIB"; } leaf udp-port { type uint16; description "UDP port"; } } // container tep-info leaf tep-id { type uint32; description "TEP id"; } } // list tep } // container teps container internal-labels { description "EVPN Internal Label Table"; list internal-label { description "L2VPN EVPN Internal Label"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf esi { type yang:hex-string; description "Ethernet Segment id"; } leaf tag { type uint32; description "Label Tag"; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf alternate-internal-label { type uint32; description "Alternate MPLS Internal Label"; } leaf internal-id { type uint32; description "SRv6 Internal ID"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf unresolved-reason { type Evpn-bag-label-unresolved-reason; description "Optional reason why the label entry has not been resolved"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred ECMP Nexthop Mode"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote ES"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy at remote ES (MST-AG)"; } list mac-path-buffer { description "MAC Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list mac-path-buffer list ead-path-buffer { description "EAD/ES Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list ead-path-buffer list evi-path-buffer { description "EAD/EVI Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list evi-path-buffer list union-path-buffer { description "Union Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list union-path-buffer list summary-path-buffer { description "Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list summary-path-buffer list alternate-summary-path-buffer { description "Alternate Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list alternate-summary-path-buffer } // list internal-label } // container internal-labels container internal-ids { description "EVPN Internal ID Table"; list internal-id { description "L2VPN EVPN Internal ID"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf esi { type yang:hex-string; description "Ethernet Segment id"; } leaf tag { type uint32; description "Label Tag"; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf alternate-internal-label { type uint32; description "Alternate MPLS Internal Label"; } leaf internal-id { type uint32; description "SRv6 Internal ID"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf unresolved-reason { type Evpn-bag-label-unresolved-reason; description "Optional reason why the label entry has not been resolved"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred ECMP Nexthop Mode"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote ES"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy at remote ES (MST-AG)"; } list mac-path-buffer { description "MAC Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list mac-path-buffer list ead-path-buffer { description "EAD/ES Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list ead-path-buffer list evi-path-buffer { description "EAD/EVI Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list evi-path-buffer list union-path-buffer { description "Union Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list union-path-buffer list summary-path-buffer { description "Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list summary-path-buffer list alternate-summary-path-buffer { description "Alternate Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list alternate-summary-path-buffer } // list internal-id } // container internal-ids container segment-routing-srv6 { description "L2VPN EVPN Segment Routing SRv6"; leaf enabled { type boolean; description "SRv6 Enabled"; } leaf configured-default-locator { type string; description "Configured default SRv6 locator"; } list unknown-locator-evi { description "List of EVIs with unknown locator names configured"; leaf entry { type uint32; description "List of EVIs with unknown locator names configured"; } } // list unknown-locator-evi list unknown-locator-vpws { description "List of VPWS services with unknown locator names configured"; leaf evi { type uint32; description "EVI for the VPWS service"; } leaf acid { type uint32; description "Attachment circuit ID for the VPWS service"; } } // list unknown-locator-vpws list locator { description "List of locators from L3RIB"; leaf locator-name { type string; description "SRv6 Locator name"; } leaf locator-prefix { type inet:ipv6-address; description "SRv6 Locator prefix"; } leaf locator-length { type uint8; description "SRv6 Locator length"; } leaf oor-state { type boolean; description "Out of Resources state"; } leaf in-use { type boolean; description "In use by services"; } leaf service-count { type uint32; description "Number of services using this locator implicitly and explicitly"; } leaf sid-count { type uint32; description "Number of SIDs allocated by services for this locator"; } leaf is-default { type boolean; description "Configured default locator"; } list evi { description "List of EVIs with this locator explicitly configured"; leaf entry { type uint32; description "List of EVIs with this locator explicitly configured"; } } // list evi list pw { description "List of VPWS services with this locator explicitly configured"; leaf evi { type uint32; description "EVI for the VPWS service"; } leaf acid { type uint32; description "Attachment circuit ID for the VPWS service"; } } // list pw } // list locator } // container segment-routing-srv6 container ethernet-segments { description "EVPN Ethernet-Segment Table"; list ethernet-segment { description "EVPN Ethernet-Segment Entry"; leaf interface-name { type xr:Interface-name; description "Interface"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } container msti-flush-count { description "Statistics for Host-mobility driven flush operations"; container last-time { description "last time"; leaf tv-sec { type uint32; description "tv sec"; } leaf tv-nsec { type uint32; description "tv nsec"; } } // container last-time leaf count { type uint32; description "count"; } leaf last-arg { type uint32; description "last arg"; } } // container msti-flush-count leaf esi-type { type L2vpn-evpn-esi; description "ESI Type"; } leaf esi-system-identifier { type string; description "ESI System Identifier"; } leaf esi-port-key { type uint32; description "ESI Port Key"; } leaf esi-system-priority { type uint32; description "ESI System Priority"; } leaf ethernet-segment-name { type string; description "Ethernet Segment Name"; } leaf ethernet-segment-state { type L2vpn-evpn-es-state; description "State of the ethernet segment"; } leaf in-staggered-bringup { type boolean; description "Is this ES in the staggered bring-up queue?"; } leaf if-handle { type xr:Interface-name; description "Main port ifhandle"; } leaf main-port-role { type L2vpn-rg-role; description "Main port redundancy group role"; } leaf main-port-mac { type yang:mac-address; description "Main Port MAC Address"; } leaf num-up-p-ws { type uint32; description "Number of PWs in Up state"; } leaf route-target { type yang:mac-address; description "ES-Import Route Target"; } leaf rt-origin { type L2vpn-evpn-rt-origin; description "Origin of operational ES-Import RT"; } leaf es-bgp-gates { type string; description "ES BGP Gates"; } leaf es-l2fib-gates { type string; description "ES L2FIB Gates"; } leaf mac-flushing-mode-config { type L2vpn-evpn-mf-mode; description "Configured MAC Flushing mode"; } leaf load-balance-mode-config { type L2vpn-evpn-lb-mode; description "Configured load balancing mode"; } leaf load-balance-mode-is-default { type boolean; description "Load balancing mode is default"; } leaf load-balance-mode-oper { type L2vpn-evpn-lb-mode; description "Operational load balancing mode"; } leaf force-single-home { type boolean; description "Ethernet-Segment forced to single home"; } leaf convergence-mac-mobility { type boolean; description "Fast convergence mode based on MAC-mobility."; } leaf convergence-reroute { type boolean; description "Fast convergence mode based on reroute to backup peer."; } leaf convergence-nh-tracking { type boolean; description "Fast DF-Election based on tracking peer BGP Nexthop reachability"; } leaf source-mac-oper { type yang:mac-address; description "Operational Source MAC address"; } leaf source-mac-origin { type L2vpn-evpn-smac-src; description "Origin of operational source MAC address"; } leaf peering-timer { type uint32; units "second"; description "Configured timer for triggering DF election (seconds)"; } leaf peering-timer-left { type uint32; units "millisecond"; description "Milliseconds left on DF election timer"; } leaf recovery-timer { type uint32; units "second"; description "Configured timer for (STP) recovery (seconds)"; } leaf recovery-timer-left { type uint32; units "millisecond"; description "Milliseconds left on (STP) recovery timer"; } leaf carving-timer { type uint32; units "second"; description "Configured timer for delaying DF election (seconds)"; } leaf carving-timer-left { type uint32; units "millisecond"; description "Milliseconds left on carving timer"; } leaf hrw-reset-timer { type uint32; units "second"; description "Configured timer for HRW reset (seconds)"; } leaf hrw-reset-timer-left { type uint32; units "millisecond"; description "Milliseconds left on HRW reset timer"; } leaf service-carving-mode { type L2vpn-evpn-sc-mode; description "Service carving mode"; } leaf service-carving-synchronization-mode { type L2vpn-evpn-sc-synchronization-mode; description "Service carving synchronization mode"; } leaf service-carving-mcast-mode { type L2vpn-evpn-sc-mcast-mode; description "Service carving multicast mode"; } leaf primary-services-input { type string; description "Input string of Primary services ESI/I-SIDs"; } leaf secondary-services-input { type string; description "Input string of Secondary services ESI/I-SIDs"; } leaf preferential-df-configured-weight { type uint16; description "Configured Weight for Preferential DF Election"; } leaf preferential-df-operational-weight { type uint16; description "Operational Weight for Preferential DF Election"; } leaf access-driven-df-election { type boolean; description "Access Driven DF Election is active"; } leaf forwarder-ports { type uint32; description "Count of Forwarders (AC, AC PW, VFI PW)"; } leaf permanent-forwarder-ports { type uint32; description "Count of Forwarders with permanent service"; } leaf elected-forwarder-ports { type uint32; description "Count of Forwarders with elected service"; } leaf not-elected-forwarder-ports { type uint32; description "Count of Forwarders with not elected service"; } leaf not-config-forwarder-ports { type uint32; description "Count of forwarders with missing config detected"; } leaf mp-protected { type boolean; description "MP is protected and not under EVPN control"; } leaf nve-anycast-vtep { type boolean; description "Anycast VTEP mode on NVE main-interface"; } leaf nve-ingress-replication { type boolean; description "Ingress-Replication is configured on NVE main-interface"; } leaf msti-flush-debounce { type uint32; description "Value of scale-dependant debouncing"; } leaf tracked-bgp-nexthop { type inet:ipv6-address; description "Reachability-tracked BGP Nexthop"; } leaf local-split-horizon-group-label-valid { type boolean; description "Local split horizon group label is valid"; } leaf local-split-horizon-group-label { type uint32; description "Local split horizon group label"; } leaf access-signal-mode { type L2vpn-evpn-es-access-signal-mode; description "Operational access signal mode"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list primary-service { description "List of Primary services ESI/I-SIDs"; leaf entry { type uint32; description "List of Primary services ESI/I-SIDs"; } } // list primary-service list secondary-service { description "List of Secondary services ESI/I-SIDs"; leaf entry { type uint32; description "List of Secondary services ESI/I-SIDs"; } } // list secondary-service list service-carving-i-sidelected-result { description "Elected ISID service carving results"; leaf entry { type uint32; description "Elected ISID service carving results"; } } // list service-carving-i-sidelected-result list service-carving-isid-not-elected-result { description "Not elected ISID service carving results"; leaf entry { type uint32; description "Not elected ISID service carving results"; } } // list service-carving-isid-not-elected-result list service-carving-evi-elected-result { description "Elected EVI service carving results"; leaf entry { type uint32; description "Elected EVI service carving results"; } } // list service-carving-evi-elected-result list service-carving-evi-not-elected-result { description "Not elected EVI service carving results"; leaf entry { type uint32; description "Not elected EVI service carving results"; } } // list service-carving-evi-not-elected-result list service-carving-vni-elected-result { description "Elected VNI service carving results"; leaf entry { type uint32; description "Elected VNI service carving results"; } } // list service-carving-vni-elected-result list service-carving-vni-not-elected-result { description "Not elected VNI service carving results"; leaf entry { type uint32; description "Not elected VNI service carving results"; } } // list service-carving-vni-not-elected-result list next-hop { description "List of nexthop IPv6 addresses"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf df-dont-preempt { type boolean; description "DF Dont Preemption"; } leaf df-type { type uint8; description "DF Election Mode Configured"; } leaf df-pref { type uint16; description "DF Election Preference Set"; } leaf df-ntp-enabled { type boolean; description "NTP based DF Election Synchronization"; } leaf ntp-sct-microseconds { type uint64; units "microsecond"; description "NTP based SCT: represented in microseconds relative to Unix epoch: 1st Jan 1970"; } } // list next-hop list service-carving-evpn-vpws-primary-result { description "EVPN VPWS service carving primary results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-primary-result list service-carving-evpn-vpws-backup-result { description "EVPN VPWS service carving backup results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-backup-result list service-carving-evpn-vpws-ndf-result { description "EVPN VPWS service carving non-DF results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-ndf-result list remote-split-horizon-group-label { description "Remote split horizon group labels"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf label { type uint32; description "Split horizon label associated with next-hop address"; } } // list remote-split-horizon-group-label } // list ethernet-segment } // container ethernet-segments container ac-ids { description "EVPN AC ID table"; list ac-id { description "EVPN AC ID table"; leaf evi { type uint32; description "EVPN id"; } leaf ac-id { type uint32; description "AC ID"; } leaf source-ac-id { type uint32; description "Source AC ID"; } leaf target-ac-id { type uint32; description "Target AC ID"; } leaf vpn-id { type uint32; description "VPN ID"; } leaf taii-global-id { type uint32; description "TAII Global ID"; } leaf taii-ac-id { type uint32; description "TAII AC ID"; } leaf taii-prefix { type inet:ipv6-address; description "TAII Prefix"; } } // list ac-id } // container ac-ids } // list node } // container nodes container active { description "Active EVPN operational data"; container evpn-groups { description "EVPN Group Table"; list evpn-group { key "group-number"; description "EVPN Group information"; leaf group-number { type uint32 { range "1..4294967295"; } description "EVPN group number"; } leaf group-id { type uint32; description "EVPN Group ID"; } leaf state { type Evpn-grp; description "EVPN Group State"; } list core-interface { description "EVPN Group Core Interface table"; leaf interface-name { type string; description "Interface name"; } leaf state { type Im-state-enum; description "Interface State"; } } // list core-interface list access-interface { description "EVPN Access Core Interface table"; leaf interface-name { type string; description "Interface name"; } leaf state { type Im-state-enum; description "Interface State"; } } // list access-interface } // list evpn-group } // container evpn-groups container remote-shgs { description "EVPN Remote SHG table"; list remote-shg { description "EVPN Remote SHG"; leaf evi { type uint32; description "EVPN id"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Instance transport encapsulation"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list remote-split-horizon-group-label { description "Remote split horizon group labels"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf label { type uint32; description "Split horizon label associated with next-hop address"; } } // list remote-split-horizon-group-label } // list remote-shg } // container remote-shgs container client { description "L2VPN EVPN Client"; leaf client-type { type Evpn-client1; description "Client Type"; } } // container client container igmps { description "EVPN IGMP table"; list igmp { description "IGMP Route"; leaf client-type { type Evpn-client; description "Client type"; } leaf source-type { type Evpn-client-source; description "Source type"; } leaf is-leave { type boolean; description "Is leave route type"; } leaf evi { type uint32; description "EVI"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } leaf src-ip { type inet:ip-address-no-zone; description "Source IP Address"; } leaf grp-ip { type inet:ip-address-no-zone; description "Group IP Address"; } leaf originating-ip { type inet:ip-address-no-zone; description "Originating IP Address"; } leaf bd-id { type uint32; description "BD ID"; } leaf bp-xcid { type uint32; description "BP XCID"; } leaf vrf-id { type uint32; description "VRF ID"; } leaf sub-interface-name { type xr:Interface-name; description "Sub-interface name"; } container source-info { description "Source Info"; container local-info { when "../type = 'local'" { description "../Type = 'Local'"; } description "local info"; leaf if-name { type string { length "0..65"; } description "Interface name internal format"; } } // container local-info leaf type { type Evpn-igmp-source; description "Type"; } leaf remote-info { when "../type = 'remote'" { description "../Type = 'Remote'"; } type L2vpn-bag-in6-addr; description "remote info"; } } // container source-info container child-info { description "Child Info"; container fwd-info { when "../child-type = 'l2-fwd'" { description "../ChildType = 'L2_FWD'"; } description "fwd info"; leaf bd-id { type uint32; description "BD id"; } } // container fwd-info container subif-info { when "../child-type = 'l3-sub-if'" { description "../ChildType = 'L3_SUBIF'"; } description "subif info"; leaf vrf-id { type uint32; description "VRF id"; } } // container subif-info leaf child-type { type Evpn-child; description "ChildType"; } } // container child-info leaf evpn-client-type { type Evpn-client1; description "EVPN Client Type"; } leaf ethernet-segment-name { type string; description "Ethernet Segment Name"; } leaf evi-xr { type uint32; description "E-VPN id"; } leaf route-type { type Evpn-igmp-msg; description "Route Type"; } leaf source-addr { type inet:ipv6-address; description "Source IP Address"; } leaf group-addr { type inet:ipv6-address; description "Group IP Address"; } leaf originating-ip-xr { type inet:ipv6-address; description "Originating IP Address (remotes)"; } leaf ethernet-tag-id { type uint32; description "Ethernet Tag id"; } leaf igmp-version { type Evpn-igmp-version; description "IGMP Version"; } leaf igmp-group-type { type Evpn-igmp-grp; description "IGMP Group Type"; } leaf max-response-time { type uint8; description "Max Response Time"; } leaf resolved { type boolean; description "Resolved"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier } // list igmp } // container igmps container evis { description "L2VPN EVPN EVI Table"; list evi { description "L2VPN EVPN EVI Entry"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // list evi } // container evis container summary { description "L2VPN EVPN Summary"; leaf router-id { type inet:ipv6-address; description "EVPN Router ID"; } leaf as { type uint32; description "BGP AS number"; } leaf ev-is { type uint32; description "Number of EVI DB Entries"; } leaf tunnel-endpoints { type uint32; description "Number of Tunnel Endpoint DB Entries"; } leaf local-mac-routes { type uint32; description "Number of Local MAC Routes"; } leaf local-ipv4-mac-routes { type uint32; description "Number of Local IPv4 MAC-IP Routes"; } leaf local-ipv6-mac-routes { type uint32; description "Number of Local IPv6 MAC-IP Routes"; } leaf es-global-mac-routes { type uint32; description "Number of ES:Global MAC Routes"; } leaf remote-mac-routes { type uint32; description "Number of Remote MAC Routes"; } leaf remote-sync-mac-routes { type uint32; description "Number of Remote SYNC MAC Routes"; } leaf remote-ipv4-mac-routes { type uint32; description "Number of Remote IPv4 MAC-IP Routes"; } leaf remote-ipv6-mac-routes { type uint32; description "Number of Remote IPv6 MAC-IP Routes"; } leaf local-imcast-routes { type uint32; description "Number of Local IMCAST Routes"; } leaf remote-imcast-routes { type uint32; description "Number of Remote IMCAST Routes"; } leaf labels { type uint32; description "Number of Internal Labels"; } leaf sh-internal-ids { type uint32; description "Number of single-homed Internal IDs"; } leaf mh-internal-ids { type uint32; description "Number of multi-homed Internal IDs"; } leaf es-entries { type uint32; description "Number of ES Entries in DB"; } leaf neighbor-entries { type uint32; description "Number of neighbor Entries in DB"; } leaf local-ead-routes { type uint32; description "Number of Local EAD Entries in DB"; } leaf remote-ead-routes { type uint32; description "Number of Remote EAD Entries in DB"; } leaf global-source-mac { type yang:mac-address; description "Global Source MAC Address"; } leaf peering-time { type uint32; units "second"; description "EVPN ES Peering Time (seconds)"; } leaf recovery-time { type uint32; units "second"; description "EVPN ES Recovery Time (seconds)"; } leaf carving-time { type uint32; units "second"; description "EVPN ES Carving Time (seconds)"; } leaf cost-out-configured { type boolean; description "EVPN node cost out via manual configuration"; } leaf bundle-convergence-in-progress { type boolean; description "Bundle convergence in progress"; } leaf node-costed-out { type boolean; description "EVPN Services costed out on node and holding Bundle interfaces down"; } leaf startup-cost-in-time { type uint32; units "second"; description "EVPN Node startup cost-in Time (seconds)"; } leaf startup-cost-in-time-left { type uint32; units "millisecond"; description "Milliseconds left on EVPN Node startup cost-in"; } leaf mac-postpone-timer { type uint32; units "second"; description "Configured timer for postponing MAC withdraws (seconds)"; } leaf mac-postpone-timer-left { type uint32; units "millisecond"; description "Milliseconds left on MAC withdraw postpone timer"; } leaf l2rib-throttle { type boolean; description "Send to L2RIB Throttled"; } leaf logging-df-election-enabled { type boolean; description "Logging EVPN Designated Forwarder changes enabled"; } } // container summary container evi-detail { description "L2VPN EVI Detail Table"; container elements { description "EVI BGP RT Detail Info Elements"; list element { description "EVI BGP RT Detail Info"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container flow-label { description "Flow Label Information"; leaf static-flow-label { type boolean; description "Static flow label"; } leaf global-flow-label { type boolean; description "Globally configured flow label"; } } // container flow-label container rd-auto { description "Automatic Route Distingtuisher"; container auto { when "../rd = 'l2vpn-ad-rd-auto'" { description "../RD = 'L2VPN_AD_RD_AUTO'"; } description "auto"; leaf router-id { type inet:ipv4-address; description "BGP Router ID"; } leaf auto-index { type uint16; description "Auto-generated Index"; } } // container auto container two-byte-as { when "../rd = 'l2vpn-ad-rd-as'" { description "../RD = 'L2VPN_AD_RD_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rd = 'l2vpn-ad-rd-4byte-as'" { description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rd = 'l2vpn-ad-rd-v4-addr'" { description "../RD = 'L2VPN_AD_RD_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr leaf rd { type L2vpn-ad-rd; description "RD"; } } // container rd-auto container rd-configured { description "Configured Route Distinguisher"; container auto { when "../rd = 'l2vpn-ad-rd-auto'" { description "../RD = 'L2VPN_AD_RD_AUTO'"; } description "auto"; leaf router-id { type inet:ipv4-address; description "BGP Router ID"; } leaf auto-index { type uint16; description "Auto-generated Index"; } } // container auto container two-byte-as { when "../rd = 'l2vpn-ad-rd-as'" { description "../RD = 'L2VPN_AD_RD_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rd = 'l2vpn-ad-rd-4byte-as'" { description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rd = 'l2vpn-ad-rd-v4-addr'" { description "../RD = 'L2VPN_AD_RD_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr leaf rd { type L2vpn-ad-rd; description "RD"; } } // container rd-configured container rt-auto { description "Automatic Route Target"; container two-byte-as { when "../rt = 'l2vpn-ad-rt-as'" { description "../RT = 'L2VPN_AD_RT_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rt = 'l2vpn-ad-rt-4byte-as'" { description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rt = 'l2vpn-ad-rt-v4-addr'" { description "../RT = 'L2VPN_AD_RT_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr container es-import { when "../rt = 'es-import'" { description "../RT = 'ES_Import'"; } description "es import"; leaf high-bytes { type uint32; description "Top 4 bytes of ES Import"; } leaf low-bytes { type uint16; description "Low 2 bytes of ES Import"; } } // container es-import leaf rt { type L2vpn-ad-rt; description "RT"; } } // container rt-auto leaf evi-xr { type uint32; description "E-VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf description { type string; description "EVI description"; } leaf unicast-label { type uint32; description "Unicast Label"; } leaf multicast-label { type uint32; description "Multicast Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } leaf cw-disable { type boolean; description "Control-Word Disable"; } leaf mtu-mismatch-ignore { type boolean; description "Ignore MTU Mismatch"; } leaf mtu-zero-transmit { type boolean; description "Transmit MTU Zero"; } leaf table-policy-name { type string; description "Table-policy Name"; } leaf export-route-policy { type string; description "Export Route Policy"; } leaf import-route-policy { type string; description "Import Route Policy"; } leaf forward-class { type uint8; description "Forward Class attribute"; } leaf rt-import-block-set { type boolean; description "Is Import RT None set"; } leaf rt-export-block-set { type boolean; description "Is Export RT None set"; } leaf advertise-mac { type boolean; description "Advertise MAC-only routes on this EVI"; } leaf etree-leaf { type boolean; description "E-Tree Leaf Indication"; } leaf etree-rt-leaf { type boolean; description "E-Tree Route-Target Leaf Indication"; } leaf advertise-bvi-mac { type boolean; description "Advertise BVI MACs routes on this EVI"; } leaf aliasing-disabled { type boolean; description "Route Aliasing is disabled"; } leaf unknown-unicast-flooding-disabled { type boolean; description "Unknown-unicast flooding is disabled"; } leaf reoriginate-disabled { type boolean; description "Route Re-origination is disabled"; } leaf stitching { type boolean; description "EVPN Instance is Regular/Stitching side"; } leaf multicast-source-connected { type boolean; description "EVI is connected to multicast source"; } leaf bgp-implicit-import-disabled { type boolean; description "BGP implicit import is disabled"; } leaf vrf-name { type string; description "L3 VRF name from BVI"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred Nexthop Mode"; } leaf srv6-locator-name { type string; description "SRv6 Locator Name"; } } // list element } // container elements container evi-children { description "Container for all EVI detail info"; container neighbors { description "EVPN Neighbor table"; list neighbor { description "EVPN Neighbor table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf neighbor-ip { type inet:ip-address-no-zone; description "Neighbor IP"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf neighbor { type inet:ipv6-address; description "Neighbor IP"; } list leaf-evis { description "Leaf EVIs"; leaf entry { type uint32; description "Leaf EVIs"; } } // list leaf-evis } // list neighbor } // container neighbors container ethernet-auto-discoveries { description "EVPN Ethernet Auto-Discovery table"; list ethernet-auto-discovery { description "EVPN Ethernet Auto-Discovery Entry"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf local-next-hop { type inet:ipv6-address; description "Local nexthop IP"; } leaf local-label { type uint32; description "Associated local label"; } leaf is-local-ead { type boolean; description "Indication of EthernetAutoDiscovery Route is local"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote EAD"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy configured at remote EAD"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list local-sid-array { description "Associated local SIDs"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list local-sid-array list path-buffer { description "Path List Buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list path-buffer } // list ethernet-auto-discovery } // container ethernet-auto-discoveries container inclusive-multicasts { description "L2VPN EVPN IMCAST table"; list inclusive-multicast { description "L2VPN EVPN IMCAST table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } leaf originating-ip { type inet:ip-address-no-zone; description "Originating IP"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf originating-ip-xr { type inet:ipv6-address; description "Originating IP"; } leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint ID"; } leaf pmsi-tunnel-type { type uint32; description "PMSI Tunnel Type"; } leaf next-hop { type inet:ipv6-address; description "IP of nexthop"; } leaf output-label { type uint32; description "Output label"; } leaf is-local-entry { type boolean; description "Local entry"; } leaf is-proxy-entry { type boolean; description "Proxy entry"; } leaf etree-leaf { type boolean; description "E-Tree Leaf Indication"; } } // list inclusive-multicast } // container inclusive-multicasts container route-targets { description "L2VPN EVPN EVI RT Child Table"; list route-target { description "L2VPN EVPN EVI RT Table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf role { type Bgp-route-target-role; description "Role of the route target"; } leaf format { type Bgp-route-target-format; description "Format of the route target"; } leaf as { type Evpnrdas-display-range; description "Two or Four byte AS Number"; } leaf as-index { type Rdas-index; description "RT AS Index"; } leaf addr-index { type Rd-addr-index; description "RT IP Index"; } leaf address { type inet:ipv4-address-no-zone; description "RT IPv4 Address"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container route-target { description "Route Target"; container two-byte-as { when "../rt = 'l2vpn-ad-rt-as'" { description "../RT = 'L2VPN_AD_RT_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rt = 'l2vpn-ad-rt-4byte-as'" { description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rt = 'l2vpn-ad-rt-v4-addr'" { description "../RT = 'L2VPN_AD_RT_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr container es-import { when "../rt = 'es-import'" { description "../RT = 'ES_Import'"; } description "es import"; leaf high-bytes { type uint32; description "Top 4 bytes of ES Import"; } leaf low-bytes { type uint16; description "Low 2 bytes of ES Import"; } } // container es-import leaf rt { type L2vpn-ad-rt; description "RT"; } } // container route-target leaf route-target-role { type L2vpn-ad-rt-role; description "RT Role"; } leaf route-target-stitching { type boolean; description "RT Stitching"; } } // list route-target } // container route-targets container macs { description "L2VPN EVPN EVI MAC table"; list mac { description "L2VPN EVPN MAC table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf ip-address { type inet:ip-address-no-zone; description "IP Address"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf mac-address-xr { type yang:mac-address; description "MAC address"; } leaf ip-address-xr { type inet:ipv6-address; description "IP address (v6 format)"; } leaf local-label { type uint32; description "Associated local label"; } leaf is-local-mac { type boolean; description "Indication of MAC being locally generated"; } leaf is-proxy-entry { type boolean; description "Proxy entry"; } leaf is-remote-mac { type boolean; description "Indication of MAC being remotely generated"; } leaf soo-nexthop { type inet:ipv6-address; description "SOO nexthop (v6 format)"; } leaf ipnh-address { type inet:ipv6-address; description "IP nexthop address (v6 format)"; } leaf esi-port-key { type uint16; description "ESI port key"; } leaf local-encap-type { type uint8; description "Encap type of local MAC"; } leaf remote-encap-type { type uint8; description "Encap type of remote MAC"; } leaf learned-bridge-port-name { type string; description "Port the MAC was learned on"; } leaf local-seq-id { type uint32; description "local seq id"; } leaf remote-seq-id { type uint32; description "remote seq id"; } leaf local-l3-label { type uint32; description "local l3 label"; } leaf router-mac-address { type yang:mac-address; description "Router MAC address"; } leaf mac-flush-requested { type uint16; description "Number of flushes requested "; } leaf mac-flush-received { type uint16; description "Number of flushes received "; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf local-is-static { type boolean; description "Indication if Local MAC is statically configured"; } leaf remote-is-static { type boolean; description "Indication if Remote MAC is statically configured"; } leaf local-etree-leaf { type boolean; description "Local E-Tree Leaf Indication"; } leaf remote-etree-leaf { type boolean; description "Remote E-Tree Leaf Indication"; } leaf remote-etree-rt-leaf { type boolean; description "Remote MAC matching E-Tree Route-Target Leaf"; } leaf local-attachment-circuit-id { type uint32; description "Local Attachement Circuit ID used in ac-aware-vlan-bundling"; } leaf remote-attachment-circuit-id { type uint32; description "Remote Attachement Circuit ID used in ac-aware-vlan-bundling"; } list local-ethernet-segment-identifier { description "Local Ethernet Segment id"; leaf entry { type uint8; description "Local Ethernet Segment id"; } } // list local-ethernet-segment-identifier list remote-ethernet-segment-identifier { description "Remote Ethernet Segment id"; leaf entry { type uint8; description "Remote Ethernet Segment id"; } } // list remote-ethernet-segment-identifier list path-buffer { description "Path List Buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list path-buffer } // list mac } // container macs } // container evi-children } // container evi-detail container teps { description "L2VPN EVPN TEP Table"; list tep { key "tep-id"; description "L2VPN EVPN TEP Entry"; container tep-notification-entries { description "L2VPN EVPN TEP Notification Table"; list tep-notification-entry { key "index"; description "L2VPN EVPN TEP Notification Entry"; leaf index { type uint32; description "TEP notification index"; } leaf entry-name { type string; description "Entry Name"; } } // list tep-notification-entry } // container tep-notification-entries container tep-info { description "L2VPN EVPN TEP Entry"; container local-info { description "Local TEP Information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Tunnel encapsulation"; } leaf ip { type inet:ipv6-address; description "IP address (v6 format)"; } } // container local-info container remote-info { description "Remote TEP Information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Tunnel encapsulation"; } leaf ip { type inet:ipv6-address; description "IP address (v6 format)"; } } // container remote-info leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint id"; } leaf type { type uint8; description "EVPN Tunnel Endpoint Type"; } leaf use-count { type uint32; description "in-use counter"; } leaf vrf-name { type string; description "VRF Name"; } leaf vrf-table-id { type uint32; description "VRF Table Id in RIB"; } leaf udp-port { type uint16; description "UDP port"; } } // container tep-info leaf tep-id { type uint32; description "TEP id"; } } // list tep } // container teps container internal-labels { description "EVPN Internal Label Table"; list internal-label { description "L2VPN EVPN Internal Label"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf esi { type yang:hex-string; description "Ethernet Segment id"; } leaf tag { type uint32; description "Label Tag"; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf alternate-internal-label { type uint32; description "Alternate MPLS Internal Label"; } leaf internal-id { type uint32; description "SRv6 Internal ID"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf unresolved-reason { type Evpn-bag-label-unresolved-reason; description "Optional reason why the label entry has not been resolved"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred ECMP Nexthop Mode"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote ES"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy at remote ES (MST-AG)"; } list mac-path-buffer { description "MAC Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list mac-path-buffer list ead-path-buffer { description "EAD/ES Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list ead-path-buffer list evi-path-buffer { description "EAD/EVI Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list evi-path-buffer list union-path-buffer { description "Union Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list union-path-buffer list summary-path-buffer { description "Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list summary-path-buffer list alternate-summary-path-buffer { description "Alternate Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list alternate-summary-path-buffer } // list internal-label } // container internal-labels container internal-ids { description "EVPN Internal ID Table"; list internal-id { description "L2VPN EVPN Internal ID"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf esi { type yang:hex-string; description "Ethernet Segment id"; } leaf tag { type uint32; description "Label Tag"; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf alternate-internal-label { type uint32; description "Alternate MPLS Internal Label"; } leaf internal-id { type uint32; description "SRv6 Internal ID"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf unresolved-reason { type Evpn-bag-label-unresolved-reason; description "Optional reason why the label entry has not been resolved"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred ECMP Nexthop Mode"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote ES"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy at remote ES (MST-AG)"; } list mac-path-buffer { description "MAC Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list mac-path-buffer list ead-path-buffer { description "EAD/ES Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list ead-path-buffer list evi-path-buffer { description "EAD/EVI Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list evi-path-buffer list union-path-buffer { description "Union Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list union-path-buffer list summary-path-buffer { description "Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list summary-path-buffer list alternate-summary-path-buffer { description "Alternate Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list alternate-summary-path-buffer } // list internal-id } // container internal-ids container segment-routing-srv6 { description "L2VPN EVPN Segment Routing SRv6"; leaf enabled { type boolean; description "SRv6 Enabled"; } leaf configured-default-locator { type string; description "Configured default SRv6 locator"; } list unknown-locator-evi { description "List of EVIs with unknown locator names configured"; leaf entry { type uint32; description "List of EVIs with unknown locator names configured"; } } // list unknown-locator-evi list unknown-locator-vpws { description "List of VPWS services with unknown locator names configured"; leaf evi { type uint32; description "EVI for the VPWS service"; } leaf acid { type uint32; description "Attachment circuit ID for the VPWS service"; } } // list unknown-locator-vpws list locator { description "List of locators from L3RIB"; leaf locator-name { type string; description "SRv6 Locator name"; } leaf locator-prefix { type inet:ipv6-address; description "SRv6 Locator prefix"; } leaf locator-length { type uint8; description "SRv6 Locator length"; } leaf oor-state { type boolean; description "Out of Resources state"; } leaf in-use { type boolean; description "In use by services"; } leaf service-count { type uint32; description "Number of services using this locator implicitly and explicitly"; } leaf sid-count { type uint32; description "Number of SIDs allocated by services for this locator"; } leaf is-default { type boolean; description "Configured default locator"; } list evi { description "List of EVIs with this locator explicitly configured"; leaf entry { type uint32; description "List of EVIs with this locator explicitly configured"; } } // list evi list pw { description "List of VPWS services with this locator explicitly configured"; leaf evi { type uint32; description "EVI for the VPWS service"; } leaf acid { type uint32; description "Attachment circuit ID for the VPWS service"; } } // list pw } // list locator } // container segment-routing-srv6 container ethernet-segments { description "EVPN Ethernet-Segment Table"; list ethernet-segment { description "EVPN Ethernet-Segment Entry"; leaf interface-name { type xr:Interface-name; description "Interface"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } container msti-flush-count { description "Statistics for Host-mobility driven flush operations"; container last-time { description "last time"; leaf tv-sec { type uint32; description "tv sec"; } leaf tv-nsec { type uint32; description "tv nsec"; } } // container last-time leaf count { type uint32; description "count"; } leaf last-arg { type uint32; description "last arg"; } } // container msti-flush-count leaf esi-type { type L2vpn-evpn-esi; description "ESI Type"; } leaf esi-system-identifier { type string; description "ESI System Identifier"; } leaf esi-port-key { type uint32; description "ESI Port Key"; } leaf esi-system-priority { type uint32; description "ESI System Priority"; } leaf ethernet-segment-name { type string; description "Ethernet Segment Name"; } leaf ethernet-segment-state { type L2vpn-evpn-es-state; description "State of the ethernet segment"; } leaf in-staggered-bringup { type boolean; description "Is this ES in the staggered bring-up queue?"; } leaf if-handle { type xr:Interface-name; description "Main port ifhandle"; } leaf main-port-role { type L2vpn-rg-role; description "Main port redundancy group role"; } leaf main-port-mac { type yang:mac-address; description "Main Port MAC Address"; } leaf num-up-p-ws { type uint32; description "Number of PWs in Up state"; } leaf route-target { type yang:mac-address; description "ES-Import Route Target"; } leaf rt-origin { type L2vpn-evpn-rt-origin; description "Origin of operational ES-Import RT"; } leaf es-bgp-gates { type string; description "ES BGP Gates"; } leaf es-l2fib-gates { type string; description "ES L2FIB Gates"; } leaf mac-flushing-mode-config { type L2vpn-evpn-mf-mode; description "Configured MAC Flushing mode"; } leaf load-balance-mode-config { type L2vpn-evpn-lb-mode; description "Configured load balancing mode"; } leaf load-balance-mode-is-default { type boolean; description "Load balancing mode is default"; } leaf load-balance-mode-oper { type L2vpn-evpn-lb-mode; description "Operational load balancing mode"; } leaf force-single-home { type boolean; description "Ethernet-Segment forced to single home"; } leaf convergence-mac-mobility { type boolean; description "Fast convergence mode based on MAC-mobility."; } leaf convergence-reroute { type boolean; description "Fast convergence mode based on reroute to backup peer."; } leaf convergence-nh-tracking { type boolean; description "Fast DF-Election based on tracking peer BGP Nexthop reachability"; } leaf source-mac-oper { type yang:mac-address; description "Operational Source MAC address"; } leaf source-mac-origin { type L2vpn-evpn-smac-src; description "Origin of operational source MAC address"; } leaf peering-timer { type uint32; units "second"; description "Configured timer for triggering DF election (seconds)"; } leaf peering-timer-left { type uint32; units "millisecond"; description "Milliseconds left on DF election timer"; } leaf recovery-timer { type uint32; units "second"; description "Configured timer for (STP) recovery (seconds)"; } leaf recovery-timer-left { type uint32; units "millisecond"; description "Milliseconds left on (STP) recovery timer"; } leaf carving-timer { type uint32; units "second"; description "Configured timer for delaying DF election (seconds)"; } leaf carving-timer-left { type uint32; units "millisecond"; description "Milliseconds left on carving timer"; } leaf hrw-reset-timer { type uint32; units "second"; description "Configured timer for HRW reset (seconds)"; } leaf hrw-reset-timer-left { type uint32; units "millisecond"; description "Milliseconds left on HRW reset timer"; } leaf service-carving-mode { type L2vpn-evpn-sc-mode; description "Service carving mode"; } leaf service-carving-synchronization-mode { type L2vpn-evpn-sc-synchronization-mode; description "Service carving synchronization mode"; } leaf service-carving-mcast-mode { type L2vpn-evpn-sc-mcast-mode; description "Service carving multicast mode"; } leaf primary-services-input { type string; description "Input string of Primary services ESI/I-SIDs"; } leaf secondary-services-input { type string; description "Input string of Secondary services ESI/I-SIDs"; } leaf preferential-df-configured-weight { type uint16; description "Configured Weight for Preferential DF Election"; } leaf preferential-df-operational-weight { type uint16; description "Operational Weight for Preferential DF Election"; } leaf access-driven-df-election { type boolean; description "Access Driven DF Election is active"; } leaf forwarder-ports { type uint32; description "Count of Forwarders (AC, AC PW, VFI PW)"; } leaf permanent-forwarder-ports { type uint32; description "Count of Forwarders with permanent service"; } leaf elected-forwarder-ports { type uint32; description "Count of Forwarders with elected service"; } leaf not-elected-forwarder-ports { type uint32; description "Count of Forwarders with not elected service"; } leaf not-config-forwarder-ports { type uint32; description "Count of forwarders with missing config detected"; } leaf mp-protected { type boolean; description "MP is protected and not under EVPN control"; } leaf nve-anycast-vtep { type boolean; description "Anycast VTEP mode on NVE main-interface"; } leaf nve-ingress-replication { type boolean; description "Ingress-Replication is configured on NVE main-interface"; } leaf msti-flush-debounce { type uint32; description "Value of scale-dependant debouncing"; } leaf tracked-bgp-nexthop { type inet:ipv6-address; description "Reachability-tracked BGP Nexthop"; } leaf local-split-horizon-group-label-valid { type boolean; description "Local split horizon group label is valid"; } leaf local-split-horizon-group-label { type uint32; description "Local split horizon group label"; } leaf access-signal-mode { type L2vpn-evpn-es-access-signal-mode; description "Operational access signal mode"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list primary-service { description "List of Primary services ESI/I-SIDs"; leaf entry { type uint32; description "List of Primary services ESI/I-SIDs"; } } // list primary-service list secondary-service { description "List of Secondary services ESI/I-SIDs"; leaf entry { type uint32; description "List of Secondary services ESI/I-SIDs"; } } // list secondary-service list service-carving-i-sidelected-result { description "Elected ISID service carving results"; leaf entry { type uint32; description "Elected ISID service carving results"; } } // list service-carving-i-sidelected-result list service-carving-isid-not-elected-result { description "Not elected ISID service carving results"; leaf entry { type uint32; description "Not elected ISID service carving results"; } } // list service-carving-isid-not-elected-result list service-carving-evi-elected-result { description "Elected EVI service carving results"; leaf entry { type uint32; description "Elected EVI service carving results"; } } // list service-carving-evi-elected-result list service-carving-evi-not-elected-result { description "Not elected EVI service carving results"; leaf entry { type uint32; description "Not elected EVI service carving results"; } } // list service-carving-evi-not-elected-result list service-carving-vni-elected-result { description "Elected VNI service carving results"; leaf entry { type uint32; description "Elected VNI service carving results"; } } // list service-carving-vni-elected-result list service-carving-vni-not-elected-result { description "Not elected VNI service carving results"; leaf entry { type uint32; description "Not elected VNI service carving results"; } } // list service-carving-vni-not-elected-result list next-hop { description "List of nexthop IPv6 addresses"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf df-dont-preempt { type boolean; description "DF Dont Preemption"; } leaf df-type { type uint8; description "DF Election Mode Configured"; } leaf df-pref { type uint16; description "DF Election Preference Set"; } leaf df-ntp-enabled { type boolean; description "NTP based DF Election Synchronization"; } leaf ntp-sct-microseconds { type uint64; units "microsecond"; description "NTP based SCT: represented in microseconds relative to Unix epoch: 1st Jan 1970"; } } // list next-hop list service-carving-evpn-vpws-primary-result { description "EVPN VPWS service carving primary results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-primary-result list service-carving-evpn-vpws-backup-result { description "EVPN VPWS service carving backup results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-backup-result list service-carving-evpn-vpws-ndf-result { description "EVPN VPWS service carving non-DF results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-ndf-result list remote-split-horizon-group-label { description "Remote split horizon group labels"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf label { type uint32; description "Split horizon label associated with next-hop address"; } } // list remote-split-horizon-group-label } // list ethernet-segment } // container ethernet-segments container ac-ids { description "EVPN AC ID table"; list ac-id { description "EVPN AC ID table"; leaf evi { type uint32; description "EVPN id"; } leaf ac-id { type uint32; description "AC ID"; } leaf source-ac-id { type uint32; description "Source AC ID"; } leaf target-ac-id { type uint32; description "Target AC ID"; } leaf vpn-id { type uint32; description "VPN ID"; } leaf taii-global-id { type uint32; description "TAII Global ID"; } leaf taii-ac-id { type uint32; description "TAII AC ID"; } leaf taii-prefix { type inet:ipv6-address; description "TAII Prefix"; } } // list ac-id } // container ac-ids } // container active container standby { description "Standby EVPN operational data"; container evpn-groups { description "EVPN Group Table"; list evpn-group { key "group-number"; description "EVPN Group information"; leaf group-number { type uint32 { range "1..4294967295"; } description "EVPN group number"; } leaf group-id { type uint32; description "EVPN Group ID"; } leaf state { type Evpn-grp; description "EVPN Group State"; } list core-interface { description "EVPN Group Core Interface table"; leaf interface-name { type string; description "Interface name"; } leaf state { type Im-state-enum; description "Interface State"; } } // list core-interface list access-interface { description "EVPN Access Core Interface table"; leaf interface-name { type string; description "Interface name"; } leaf state { type Im-state-enum; description "Interface State"; } } // list access-interface } // list evpn-group } // container evpn-groups container remote-shgs { description "EVPN Remote SHG table"; list remote-shg { description "EVPN Remote SHG"; leaf evi { type uint32; description "EVPN id"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Instance transport encapsulation"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list remote-split-horizon-group-label { description "Remote split horizon group labels"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf label { type uint32; description "Split horizon label associated with next-hop address"; } } // list remote-split-horizon-group-label } // list remote-shg } // container remote-shgs container client { description "L2VPN EVPN Client"; leaf client-type { type Evpn-client1; description "Client Type"; } } // container client container igmps { description "EVPN IGMP table"; list igmp { description "IGMP Route"; leaf client-type { type Evpn-client; description "Client type"; } leaf source-type { type Evpn-client-source; description "Source type"; } leaf is-leave { type boolean; description "Is leave route type"; } leaf evi { type uint32; description "EVI"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } leaf src-ip { type inet:ip-address-no-zone; description "Source IP Address"; } leaf grp-ip { type inet:ip-address-no-zone; description "Group IP Address"; } leaf originating-ip { type inet:ip-address-no-zone; description "Originating IP Address"; } leaf bd-id { type uint32; description "BD ID"; } leaf bp-xcid { type uint32; description "BP XCID"; } leaf vrf-id { type uint32; description "VRF ID"; } leaf sub-interface-name { type xr:Interface-name; description "Sub-interface name"; } container source-info { description "Source Info"; container local-info { when "../type = 'local'" { description "../Type = 'Local'"; } description "local info"; leaf if-name { type string { length "0..65"; } description "Interface name internal format"; } } // container local-info leaf type { type Evpn-igmp-source; description "Type"; } leaf remote-info { when "../type = 'remote'" { description "../Type = 'Remote'"; } type L2vpn-bag-in6-addr; description "remote info"; } } // container source-info container child-info { description "Child Info"; container fwd-info { when "../child-type = 'l2-fwd'" { description "../ChildType = 'L2_FWD'"; } description "fwd info"; leaf bd-id { type uint32; description "BD id"; } } // container fwd-info container subif-info { when "../child-type = 'l3-sub-if'" { description "../ChildType = 'L3_SUBIF'"; } description "subif info"; leaf vrf-id { type uint32; description "VRF id"; } } // container subif-info leaf child-type { type Evpn-child; description "ChildType"; } } // container child-info leaf evpn-client-type { type Evpn-client1; description "EVPN Client Type"; } leaf ethernet-segment-name { type string; description "Ethernet Segment Name"; } leaf evi-xr { type uint32; description "E-VPN id"; } leaf route-type { type Evpn-igmp-msg; description "Route Type"; } leaf source-addr { type inet:ipv6-address; description "Source IP Address"; } leaf group-addr { type inet:ipv6-address; description "Group IP Address"; } leaf originating-ip-xr { type inet:ipv6-address; description "Originating IP Address (remotes)"; } leaf ethernet-tag-id { type uint32; description "Ethernet Tag id"; } leaf igmp-version { type Evpn-igmp-version; description "IGMP Version"; } leaf igmp-group-type { type Evpn-igmp-grp; description "IGMP Group Type"; } leaf max-response-time { type uint8; description "Max Response Time"; } leaf resolved { type boolean; description "Resolved"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier } // list igmp } // container igmps container evis { description "L2VPN EVPN EVI Table"; list evi { description "L2VPN EVPN EVI Entry"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // list evi } // container evis container summary { description "L2VPN EVPN Summary"; leaf router-id { type inet:ipv6-address; description "EVPN Router ID"; } leaf as { type uint32; description "BGP AS number"; } leaf ev-is { type uint32; description "Number of EVI DB Entries"; } leaf tunnel-endpoints { type uint32; description "Number of Tunnel Endpoint DB Entries"; } leaf local-mac-routes { type uint32; description "Number of Local MAC Routes"; } leaf local-ipv4-mac-routes { type uint32; description "Number of Local IPv4 MAC-IP Routes"; } leaf local-ipv6-mac-routes { type uint32; description "Number of Local IPv6 MAC-IP Routes"; } leaf es-global-mac-routes { type uint32; description "Number of ES:Global MAC Routes"; } leaf remote-mac-routes { type uint32; description "Number of Remote MAC Routes"; } leaf remote-sync-mac-routes { type uint32; description "Number of Remote SYNC MAC Routes"; } leaf remote-ipv4-mac-routes { type uint32; description "Number of Remote IPv4 MAC-IP Routes"; } leaf remote-ipv6-mac-routes { type uint32; description "Number of Remote IPv6 MAC-IP Routes"; } leaf local-imcast-routes { type uint32; description "Number of Local IMCAST Routes"; } leaf remote-imcast-routes { type uint32; description "Number of Remote IMCAST Routes"; } leaf labels { type uint32; description "Number of Internal Labels"; } leaf sh-internal-ids { type uint32; description "Number of single-homed Internal IDs"; } leaf mh-internal-ids { type uint32; description "Number of multi-homed Internal IDs"; } leaf es-entries { type uint32; description "Number of ES Entries in DB"; } leaf neighbor-entries { type uint32; description "Number of neighbor Entries in DB"; } leaf local-ead-routes { type uint32; description "Number of Local EAD Entries in DB"; } leaf remote-ead-routes { type uint32; description "Number of Remote EAD Entries in DB"; } leaf global-source-mac { type yang:mac-address; description "Global Source MAC Address"; } leaf peering-time { type uint32; units "second"; description "EVPN ES Peering Time (seconds)"; } leaf recovery-time { type uint32; units "second"; description "EVPN ES Recovery Time (seconds)"; } leaf carving-time { type uint32; units "second"; description "EVPN ES Carving Time (seconds)"; } leaf cost-out-configured { type boolean; description "EVPN node cost out via manual configuration"; } leaf bundle-convergence-in-progress { type boolean; description "Bundle convergence in progress"; } leaf node-costed-out { type boolean; description "EVPN Services costed out on node and holding Bundle interfaces down"; } leaf startup-cost-in-time { type uint32; units "second"; description "EVPN Node startup cost-in Time (seconds)"; } leaf startup-cost-in-time-left { type uint32; units "millisecond"; description "Milliseconds left on EVPN Node startup cost-in"; } leaf mac-postpone-timer { type uint32; units "second"; description "Configured timer for postponing MAC withdraws (seconds)"; } leaf mac-postpone-timer-left { type uint32; units "millisecond"; description "Milliseconds left on MAC withdraw postpone timer"; } leaf l2rib-throttle { type boolean; description "Send to L2RIB Throttled"; } leaf logging-df-election-enabled { type boolean; description "Logging EVPN Designated Forwarder changes enabled"; } } // container summary container evi-detail { description "L2VPN EVI Detail Table"; container elements { description "EVI BGP RT Detail Info Elements"; list element { description "EVI BGP RT Detail Info"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container flow-label { description "Flow Label Information"; leaf static-flow-label { type boolean; description "Static flow label"; } leaf global-flow-label { type boolean; description "Globally configured flow label"; } } // container flow-label container rd-auto { description "Automatic Route Distingtuisher"; container auto { when "../rd = 'l2vpn-ad-rd-auto'" { description "../RD = 'L2VPN_AD_RD_AUTO'"; } description "auto"; leaf router-id { type inet:ipv4-address; description "BGP Router ID"; } leaf auto-index { type uint16; description "Auto-generated Index"; } } // container auto container two-byte-as { when "../rd = 'l2vpn-ad-rd-as'" { description "../RD = 'L2VPN_AD_RD_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rd = 'l2vpn-ad-rd-4byte-as'" { description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rd = 'l2vpn-ad-rd-v4-addr'" { description "../RD = 'L2VPN_AD_RD_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr leaf rd { type L2vpn-ad-rd; description "RD"; } } // container rd-auto container rd-configured { description "Configured Route Distinguisher"; container auto { when "../rd = 'l2vpn-ad-rd-auto'" { description "../RD = 'L2VPN_AD_RD_AUTO'"; } description "auto"; leaf router-id { type inet:ipv4-address; description "BGP Router ID"; } leaf auto-index { type uint16; description "Auto-generated Index"; } } // container auto container two-byte-as { when "../rd = 'l2vpn-ad-rd-as'" { description "../RD = 'L2VPN_AD_RD_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rd = 'l2vpn-ad-rd-4byte-as'" { description "../RD = 'L2VPN_AD_RD_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rd = 'l2vpn-ad-rd-v4-addr'" { description "../RD = 'L2VPN_AD_RD_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr leaf rd { type L2vpn-ad-rd; description "RD"; } } // container rd-configured container rt-auto { description "Automatic Route Target"; container two-byte-as { when "../rt = 'l2vpn-ad-rt-as'" { description "../RT = 'L2VPN_AD_RT_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rt = 'l2vpn-ad-rt-4byte-as'" { description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rt = 'l2vpn-ad-rt-v4-addr'" { description "../RT = 'L2VPN_AD_RT_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr container es-import { when "../rt = 'es-import'" { description "../RT = 'ES_Import'"; } description "es import"; leaf high-bytes { type uint32; description "Top 4 bytes of ES Import"; } leaf low-bytes { type uint16; description "Low 2 bytes of ES Import"; } } // container es-import leaf rt { type L2vpn-ad-rt; description "RT"; } } // container rt-auto leaf evi-xr { type uint32; description "E-VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf description { type string; description "EVI description"; } leaf unicast-label { type uint32; description "Unicast Label"; } leaf multicast-label { type uint32; description "Multicast Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } leaf cw-disable { type boolean; description "Control-Word Disable"; } leaf mtu-mismatch-ignore { type boolean; description "Ignore MTU Mismatch"; } leaf mtu-zero-transmit { type boolean; description "Transmit MTU Zero"; } leaf table-policy-name { type string; description "Table-policy Name"; } leaf export-route-policy { type string; description "Export Route Policy"; } leaf import-route-policy { type string; description "Import Route Policy"; } leaf forward-class { type uint8; description "Forward Class attribute"; } leaf rt-import-block-set { type boolean; description "Is Import RT None set"; } leaf rt-export-block-set { type boolean; description "Is Export RT None set"; } leaf advertise-mac { type boolean; description "Advertise MAC-only routes on this EVI"; } leaf etree-leaf { type boolean; description "E-Tree Leaf Indication"; } leaf etree-rt-leaf { type boolean; description "E-Tree Route-Target Leaf Indication"; } leaf advertise-bvi-mac { type boolean; description "Advertise BVI MACs routes on this EVI"; } leaf aliasing-disabled { type boolean; description "Route Aliasing is disabled"; } leaf unknown-unicast-flooding-disabled { type boolean; description "Unknown-unicast flooding is disabled"; } leaf reoriginate-disabled { type boolean; description "Route Re-origination is disabled"; } leaf stitching { type boolean; description "EVPN Instance is Regular/Stitching side"; } leaf multicast-source-connected { type boolean; description "EVI is connected to multicast source"; } leaf bgp-implicit-import-disabled { type boolean; description "BGP implicit import is disabled"; } leaf vrf-name { type string; description "L3 VRF name from BVI"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred Nexthop Mode"; } leaf srv6-locator-name { type string; description "SRv6 Locator Name"; } } // list element } // container elements container evi-children { description "Container for all EVI detail info"; container neighbors { description "EVPN Neighbor table"; list neighbor { description "EVPN Neighbor table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf neighbor-ip { type inet:ip-address-no-zone; description "Neighbor IP"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf neighbor { type inet:ipv6-address; description "Neighbor IP"; } list leaf-evis { description "Leaf EVIs"; leaf entry { type uint32; description "Leaf EVIs"; } } // list leaf-evis } // list neighbor } // container neighbors container ethernet-auto-discoveries { description "EVPN Ethernet Auto-Discovery table"; list ethernet-auto-discovery { description "EVPN Ethernet Auto-Discovery Entry"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf local-next-hop { type inet:ipv6-address; description "Local nexthop IP"; } leaf local-label { type uint32; description "Associated local label"; } leaf is-local-ead { type boolean; description "Indication of EthernetAutoDiscovery Route is local"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote EAD"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy configured at remote EAD"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list local-sid-array { description "Associated local SIDs"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list local-sid-array list path-buffer { description "Path List Buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list path-buffer } // list ethernet-auto-discovery } // container ethernet-auto-discoveries container inclusive-multicasts { description "L2VPN EVPN IMCAST table"; list inclusive-multicast { description "L2VPN EVPN IMCAST table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } leaf originating-ip { type inet:ip-address-no-zone; description "Originating IP"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf originating-ip-xr { type inet:ipv6-address; description "Originating IP"; } leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint ID"; } leaf pmsi-tunnel-type { type uint32; description "PMSI Tunnel Type"; } leaf next-hop { type inet:ipv6-address; description "IP of nexthop"; } leaf output-label { type uint32; description "Output label"; } leaf is-local-entry { type boolean; description "Local entry"; } leaf is-proxy-entry { type boolean; description "Proxy entry"; } leaf etree-leaf { type boolean; description "E-Tree Leaf Indication"; } } // list inclusive-multicast } // container inclusive-multicasts container route-targets { description "L2VPN EVPN EVI RT Child Table"; list route-target { description "L2VPN EVPN EVI RT Table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf role { type Bgp-route-target-role; description "Role of the route target"; } leaf format { type Bgp-route-target-format; description "Format of the route target"; } leaf as { type Evpnrdas-display-range; description "Two or Four byte AS Number"; } leaf as-index { type Rdas-index; description "RT AS Index"; } leaf addr-index { type Rd-addr-index; description "RT IP Index"; } leaf address { type inet:ipv4-address-no-zone; description "RT IPv4 Address"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance container route-target { description "Route Target"; container two-byte-as { when "../rt = 'l2vpn-ad-rt-as'" { description "../RT = 'L2VPN_AD_RT_AS'"; } description "two byte as"; leaf two-byte-as { type uint16; description "2 Byte AS Number"; } leaf four-byte-index { type uint32; description "4 Byte Index"; } } // container two-byte-as container four-byte-as { when "../rt = 'l2vpn-ad-rt-4byte-as'" { description "../RT = 'L2VPN_AD_RT_4BYTE_AS'"; } description "four byte as"; leaf four-byte-as { type uint32; description "4 Byte AS Number"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container four-byte-as container v4-addr { when "../rt = 'l2vpn-ad-rt-v4-addr'" { description "../RT = 'L2VPN_AD_RT_V4ADDR'"; } description "v4 addr"; leaf ipv4-address { type inet:ipv4-address; description "IPv4 Address"; } leaf two-byte-index { type uint16; description "2 Byte Index"; } } // container v4-addr container es-import { when "../rt = 'es-import'" { description "../RT = 'ES_Import'"; } description "es import"; leaf high-bytes { type uint32; description "Top 4 bytes of ES Import"; } leaf low-bytes { type uint16; description "Low 2 bytes of ES Import"; } } // container es-import leaf rt { type L2vpn-ad-rt; description "RT"; } } // container route-target leaf route-target-role { type L2vpn-ad-rt-role; description "RT Role"; } leaf route-target-stitching { type boolean; description "RT Stitching"; } } // list route-target } // container route-targets container macs { description "L2VPN EVPN EVI MAC table"; list mac { description "L2VPN EVPN MAC table"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf ip-address { type inet:ip-address-no-zone; description "IP Address"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf ethernet-tag-xr { type uint32; description "Ethernet Tag"; } leaf mac-address-xr { type yang:mac-address; description "MAC address"; } leaf ip-address-xr { type inet:ipv6-address; description "IP address (v6 format)"; } leaf local-label { type uint32; description "Associated local label"; } leaf is-local-mac { type boolean; description "Indication of MAC being locally generated"; } leaf is-proxy-entry { type boolean; description "Proxy entry"; } leaf is-remote-mac { type boolean; description "Indication of MAC being remotely generated"; } leaf soo-nexthop { type inet:ipv6-address; description "SOO nexthop (v6 format)"; } leaf ipnh-address { type inet:ipv6-address; description "IP nexthop address (v6 format)"; } leaf esi-port-key { type uint16; description "ESI port key"; } leaf local-encap-type { type uint8; description "Encap type of local MAC"; } leaf remote-encap-type { type uint8; description "Encap type of remote MAC"; } leaf learned-bridge-port-name { type string; description "Port the MAC was learned on"; } leaf local-seq-id { type uint32; description "local seq id"; } leaf remote-seq-id { type uint32; description "remote seq id"; } leaf local-l3-label { type uint32; description "local l3 label"; } leaf router-mac-address { type yang:mac-address; description "Router MAC address"; } leaf mac-flush-requested { type uint16; description "Number of flushes requested "; } leaf mac-flush-received { type uint16; description "Number of flushes received "; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf local-is-static { type boolean; description "Indication if Local MAC is statically configured"; } leaf remote-is-static { type boolean; description "Indication if Remote MAC is statically configured"; } leaf local-etree-leaf { type boolean; description "Local E-Tree Leaf Indication"; } leaf remote-etree-leaf { type boolean; description "Remote E-Tree Leaf Indication"; } leaf remote-etree-rt-leaf { type boolean; description "Remote MAC matching E-Tree Route-Target Leaf"; } leaf local-attachment-circuit-id { type uint32; description "Local Attachement Circuit ID used in ac-aware-vlan-bundling"; } leaf remote-attachment-circuit-id { type uint32; description "Remote Attachement Circuit ID used in ac-aware-vlan-bundling"; } list local-ethernet-segment-identifier { description "Local Ethernet Segment id"; leaf entry { type uint8; description "Local Ethernet Segment id"; } } // list local-ethernet-segment-identifier list remote-ethernet-segment-identifier { description "Remote Ethernet Segment id"; leaf entry { type uint8; description "Remote Ethernet Segment id"; } } // list remote-ethernet-segment-identifier list path-buffer { description "Path List Buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list path-buffer } // list mac } // container macs } // container evi-children } // container evi-detail container teps { description "L2VPN EVPN TEP Table"; list tep { key "tep-id"; description "L2VPN EVPN TEP Entry"; container tep-notification-entries { description "L2VPN EVPN TEP Notification Table"; list tep-notification-entry { key "index"; description "L2VPN EVPN TEP Notification Entry"; leaf index { type uint32; description "TEP notification index"; } leaf entry-name { type string; description "Entry Name"; } } // list tep-notification-entry } // container tep-notification-entries container tep-info { description "L2VPN EVPN TEP Entry"; container local-info { description "Local TEP Information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Tunnel encapsulation"; } leaf ip { type inet:ipv6-address; description "IP address (v6 format)"; } } // container local-info container remote-info { description "Remote TEP Information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation { type uint8; description "EVPN Tunnel encapsulation"; } leaf ip { type inet:ipv6-address; description "IP address (v6 format)"; } } // container remote-info leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint id"; } leaf type { type uint8; description "EVPN Tunnel Endpoint Type"; } leaf use-count { type uint32; description "in-use counter"; } leaf vrf-name { type string; description "VRF Name"; } leaf vrf-table-id { type uint32; description "VRF Table Id in RIB"; } leaf udp-port { type uint16; description "UDP port"; } } // container tep-info leaf tep-id { type uint32; description "TEP id"; } } // list tep } // container teps container internal-labels { description "EVPN Internal Label Table"; list internal-label { description "L2VPN EVPN Internal Label"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf esi { type yang:hex-string; description "Ethernet Segment id"; } leaf tag { type uint32; description "Label Tag"; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf alternate-internal-label { type uint32; description "Alternate MPLS Internal Label"; } leaf internal-id { type uint32; description "SRv6 Internal ID"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf unresolved-reason { type Evpn-bag-label-unresolved-reason; description "Optional reason why the label entry has not been resolved"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred ECMP Nexthop Mode"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote ES"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy at remote ES (MST-AG)"; } list mac-path-buffer { description "MAC Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list mac-path-buffer list ead-path-buffer { description "EAD/ES Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list ead-path-buffer list evi-path-buffer { description "EAD/EVI Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list evi-path-buffer list union-path-buffer { description "Union Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list union-path-buffer list summary-path-buffer { description "Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list summary-path-buffer list alternate-summary-path-buffer { description "Alternate Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list alternate-summary-path-buffer } // list internal-label } // container internal-labels container internal-ids { description "EVPN Internal ID Table"; list internal-id { description "L2VPN EVPN Internal ID"; leaf evi { type uint32; description "EVPN id"; } leaf encapsulation { type uint32; description "Encap"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } leaf ethernet-tag { type uint32; description "Ethernet Tag ID"; } container evpn-instance { description "EVPN Instance summary information"; leaf ethernet-vpn-id { type uint32; description "Ethernet VPN id"; } leaf encapsulation-xr { type uint8; description "EVPN Instance transport encapsulation"; } leaf bd-name { type string; description "Bridge domain name"; } leaf type { type L2vpn-evpn; description "Service Type"; } } // container evpn-instance leaf esi { type yang:hex-string; description "Ethernet Segment id"; } leaf tag { type uint32; description "Label Tag"; } leaf internal-label { type uint32; description "MPLS Internal Label"; } leaf alternate-internal-label { type uint32; description "Alternate MPLS Internal Label"; } leaf internal-id { type uint32; description "SRv6 Internal ID"; } leaf resolved { type boolean; description "Internal Label has resolved per-ES EAD and per-EVI EAD or MAC routes"; } leaf unresolved-reason { type Evpn-bag-label-unresolved-reason; description "Optional reason why the label entry has not been resolved"; } leaf preferred-nh-mode { type Evpn-pref-ecmp-nh-mode; description "Preferred ECMP Nexthop Mode"; } leaf redundancy-single-active { type boolean; description "Single-active redundancy configured at remote ES"; } leaf redundancy-single-flow-active { type boolean; description "Single-flow-active redundancy at remote ES (MST-AG)"; } list mac-path-buffer { description "MAC Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list mac-path-buffer list ead-path-buffer { description "EAD/ES Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list ead-path-buffer list evi-path-buffer { description "EAD/EVI Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list evi-path-buffer list union-path-buffer { description "Union Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list union-path-buffer list summary-path-buffer { description "Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list summary-path-buffer list alternate-summary-path-buffer { description "Alternate Summary Path list buffer"; container sr-te-info { description "SR(v6)-TE Policy info from ODN"; leaf sr-te-type { type uint8; description "Type of SR-TE Policy path from ODN"; } leaf sr-te-interface-name { type xr:Interface-name; description "SR Traffic Engineering Interface Name"; } leaf sr-te-bsid { type uint32; description "SR Traffic Engineering Binding-SID (Label)"; } leaf srv6-te-bsid { type inet:ipv6-address; description "SRv6 Traffic Engineering Binding-SID"; } } // container sr-te-info container layer2-attributes { description "Layer 2 Attributes"; leaf mtu { type uint16; description "Maximum Transmission Unit"; } leaf designated-forwarder-role { type Evpn-bag-df-role; description "Designated Forwarder Role"; } leaf control-word { type Evpn-bag-l2-attr-cw; description "Control Word"; } } // container layer2-attributes leaf tunnel-endpoint-id { type uint32; description "Tunnel Endpoint Identifier"; } leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf output-label { type uint32; description "Output Label"; } leaf reroute-label { type uint32; description "Reroute Label"; } list issue { description "Issues with this path item"; leaf entry { type Evpn-bag-path-issues; description "Issues with this path item"; } } // list issue list srv6-sid-info { description "Array of SRv6 SID information"; leaf srv6-sid { type inet:ipv6-address; description "SRv6 SID"; } } // list srv6-sid-info } // list alternate-summary-path-buffer } // list internal-id } // container internal-ids container segment-routing-srv6 { description "L2VPN EVPN Segment Routing SRv6"; leaf enabled { type boolean; description "SRv6 Enabled"; } leaf configured-default-locator { type string; description "Configured default SRv6 locator"; } list unknown-locator-evi { description "List of EVIs with unknown locator names configured"; leaf entry { type uint32; description "List of EVIs with unknown locator names configured"; } } // list unknown-locator-evi list unknown-locator-vpws { description "List of VPWS services with unknown locator names configured"; leaf evi { type uint32; description "EVI for the VPWS service"; } leaf acid { type uint32; description "Attachment circuit ID for the VPWS service"; } } // list unknown-locator-vpws list locator { description "List of locators from L3RIB"; leaf locator-name { type string; description "SRv6 Locator name"; } leaf locator-prefix { type inet:ipv6-address; description "SRv6 Locator prefix"; } leaf locator-length { type uint8; description "SRv6 Locator length"; } leaf oor-state { type boolean; description "Out of Resources state"; } leaf in-use { type boolean; description "In use by services"; } leaf service-count { type uint32; description "Number of services using this locator implicitly and explicitly"; } leaf sid-count { type uint32; description "Number of SIDs allocated by services for this locator"; } leaf is-default { type boolean; description "Configured default locator"; } list evi { description "List of EVIs with this locator explicitly configured"; leaf entry { type uint32; description "List of EVIs with this locator explicitly configured"; } } // list evi list pw { description "List of VPWS services with this locator explicitly configured"; leaf evi { type uint32; description "EVI for the VPWS service"; } leaf acid { type uint32; description "Attachment circuit ID for the VPWS service"; } } // list pw } // list locator } // container segment-routing-srv6 container ethernet-segments { description "EVPN Ethernet-Segment Table"; list ethernet-segment { description "EVPN Ethernet-Segment Entry"; leaf interface-name { type xr:Interface-name; description "Interface"; } leaf esi1 { type xr:Hex-integer; description "ES id (part 1/5)"; } leaf esi2 { type xr:Hex-integer; description "ES id (part 2/5)"; } leaf esi3 { type xr:Hex-integer; description "ES id (part 3/5)"; } leaf esi4 { type xr:Hex-integer; description "ES id (part 4/5)"; } leaf esi5 { type xr:Hex-integer; description "ES id (part 5/5)"; } container msti-flush-count { description "Statistics for Host-mobility driven flush operations"; container last-time { description "last time"; leaf tv-sec { type uint32; description "tv sec"; } leaf tv-nsec { type uint32; description "tv nsec"; } } // container last-time leaf count { type uint32; description "count"; } leaf last-arg { type uint32; description "last arg"; } } // container msti-flush-count leaf esi-type { type L2vpn-evpn-esi; description "ESI Type"; } leaf esi-system-identifier { type string; description "ESI System Identifier"; } leaf esi-port-key { type uint32; description "ESI Port Key"; } leaf esi-system-priority { type uint32; description "ESI System Priority"; } leaf ethernet-segment-name { type string; description "Ethernet Segment Name"; } leaf ethernet-segment-state { type L2vpn-evpn-es-state; description "State of the ethernet segment"; } leaf in-staggered-bringup { type boolean; description "Is this ES in the staggered bring-up queue?"; } leaf if-handle { type xr:Interface-name; description "Main port ifhandle"; } leaf main-port-role { type L2vpn-rg-role; description "Main port redundancy group role"; } leaf main-port-mac { type yang:mac-address; description "Main Port MAC Address"; } leaf num-up-p-ws { type uint32; description "Number of PWs in Up state"; } leaf route-target { type yang:mac-address; description "ES-Import Route Target"; } leaf rt-origin { type L2vpn-evpn-rt-origin; description "Origin of operational ES-Import RT"; } leaf es-bgp-gates { type string; description "ES BGP Gates"; } leaf es-l2fib-gates { type string; description "ES L2FIB Gates"; } leaf mac-flushing-mode-config { type L2vpn-evpn-mf-mode; description "Configured MAC Flushing mode"; } leaf load-balance-mode-config { type L2vpn-evpn-lb-mode; description "Configured load balancing mode"; } leaf load-balance-mode-is-default { type boolean; description "Load balancing mode is default"; } leaf load-balance-mode-oper { type L2vpn-evpn-lb-mode; description "Operational load balancing mode"; } leaf force-single-home { type boolean; description "Ethernet-Segment forced to single home"; } leaf convergence-mac-mobility { type boolean; description "Fast convergence mode based on MAC-mobility."; } leaf convergence-reroute { type boolean; description "Fast convergence mode based on reroute to backup peer."; } leaf convergence-nh-tracking { type boolean; description "Fast DF-Election based on tracking peer BGP Nexthop reachability"; } leaf source-mac-oper { type yang:mac-address; description "Operational Source MAC address"; } leaf source-mac-origin { type L2vpn-evpn-smac-src; description "Origin of operational source MAC address"; } leaf peering-timer { type uint32; units "second"; description "Configured timer for triggering DF election (seconds)"; } leaf peering-timer-left { type uint32; units "millisecond"; description "Milliseconds left on DF election timer"; } leaf recovery-timer { type uint32; units "second"; description "Configured timer for (STP) recovery (seconds)"; } leaf recovery-timer-left { type uint32; units "millisecond"; description "Milliseconds left on (STP) recovery timer"; } leaf carving-timer { type uint32; units "second"; description "Configured timer for delaying DF election (seconds)"; } leaf carving-timer-left { type uint32; units "millisecond"; description "Milliseconds left on carving timer"; } leaf hrw-reset-timer { type uint32; units "second"; description "Configured timer for HRW reset (seconds)"; } leaf hrw-reset-timer-left { type uint32; units "millisecond"; description "Milliseconds left on HRW reset timer"; } leaf service-carving-mode { type L2vpn-evpn-sc-mode; description "Service carving mode"; } leaf service-carving-synchronization-mode { type L2vpn-evpn-sc-synchronization-mode; description "Service carving synchronization mode"; } leaf service-carving-mcast-mode { type L2vpn-evpn-sc-mcast-mode; description "Service carving multicast mode"; } leaf primary-services-input { type string; description "Input string of Primary services ESI/I-SIDs"; } leaf secondary-services-input { type string; description "Input string of Secondary services ESI/I-SIDs"; } leaf preferential-df-configured-weight { type uint16; description "Configured Weight for Preferential DF Election"; } leaf preferential-df-operational-weight { type uint16; description "Operational Weight for Preferential DF Election"; } leaf access-driven-df-election { type boolean; description "Access Driven DF Election is active"; } leaf forwarder-ports { type uint32; description "Count of Forwarders (AC, AC PW, VFI PW)"; } leaf permanent-forwarder-ports { type uint32; description "Count of Forwarders with permanent service"; } leaf elected-forwarder-ports { type uint32; description "Count of Forwarders with elected service"; } leaf not-elected-forwarder-ports { type uint32; description "Count of Forwarders with not elected service"; } leaf not-config-forwarder-ports { type uint32; description "Count of forwarders with missing config detected"; } leaf mp-protected { type boolean; description "MP is protected and not under EVPN control"; } leaf nve-anycast-vtep { type boolean; description "Anycast VTEP mode on NVE main-interface"; } leaf nve-ingress-replication { type boolean; description "Ingress-Replication is configured on NVE main-interface"; } leaf msti-flush-debounce { type uint32; description "Value of scale-dependant debouncing"; } leaf tracked-bgp-nexthop { type inet:ipv6-address; description "Reachability-tracked BGP Nexthop"; } leaf local-split-horizon-group-label-valid { type boolean; description "Local split horizon group label is valid"; } leaf local-split-horizon-group-label { type uint32; description "Local split horizon group label"; } leaf access-signal-mode { type L2vpn-evpn-es-access-signal-mode; description "Operational access signal mode"; } list ethernet-segment-identifier { description "Ethernet Segment id"; leaf entry { type uint8; description "Ethernet Segment id"; } } // list ethernet-segment-identifier list primary-service { description "List of Primary services ESI/I-SIDs"; leaf entry { type uint32; description "List of Primary services ESI/I-SIDs"; } } // list primary-service list secondary-service { description "List of Secondary services ESI/I-SIDs"; leaf entry { type uint32; description "List of Secondary services ESI/I-SIDs"; } } // list secondary-service list service-carving-i-sidelected-result { description "Elected ISID service carving results"; leaf entry { type uint32; description "Elected ISID service carving results"; } } // list service-carving-i-sidelected-result list service-carving-isid-not-elected-result { description "Not elected ISID service carving results"; leaf entry { type uint32; description "Not elected ISID service carving results"; } } // list service-carving-isid-not-elected-result list service-carving-evi-elected-result { description "Elected EVI service carving results"; leaf entry { type uint32; description "Elected EVI service carving results"; } } // list service-carving-evi-elected-result list service-carving-evi-not-elected-result { description "Not elected EVI service carving results"; leaf entry { type uint32; description "Not elected EVI service carving results"; } } // list service-carving-evi-not-elected-result list service-carving-vni-elected-result { description "Elected VNI service carving results"; leaf entry { type uint32; description "Elected VNI service carving results"; } } // list service-carving-vni-elected-result list service-carving-vni-not-elected-result { description "Not elected VNI service carving results"; leaf entry { type uint32; description "Not elected VNI service carving results"; } } // list service-carving-vni-not-elected-result list next-hop { description "List of nexthop IPv6 addresses"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf df-dont-preempt { type boolean; description "DF Dont Preemption"; } leaf df-type { type uint8; description "DF Election Mode Configured"; } leaf df-pref { type uint16; description "DF Election Preference Set"; } leaf df-ntp-enabled { type boolean; description "NTP based DF Election Synchronization"; } leaf ntp-sct-microseconds { type uint64; units "microsecond"; description "NTP based SCT: represented in microseconds relative to Unix epoch: 1st Jan 1970"; } } // list next-hop list service-carving-evpn-vpws-primary-result { description "EVPN VPWS service carving primary results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-primary-result list service-carving-evpn-vpws-backup-result { description "EVPN VPWS service carving backup results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-backup-result list service-carving-evpn-vpws-ndf-result { description "EVPN VPWS service carving non-DF results"; leaf vpn-id { type uint32; description "VPN ID"; } leaf type { type L2vpn-evpn; description "Service Type"; } leaf ethernet-tag { type uint32; description "Ethernet Tag"; } } // list service-carving-evpn-vpws-ndf-result list remote-split-horizon-group-label { description "Remote split horizon group labels"; leaf next-hop { type inet:ipv6-address; description "Next-hop IP address (v6 format)"; } leaf label { type uint32; description "Split horizon label associated with next-hop address"; } } // list remote-split-horizon-group-label } // list ethernet-segment } // container ethernet-segments container ac-ids { description "EVPN AC ID table"; list ac-id { description "EVPN AC ID table"; leaf evi { type uint32; description "EVPN id"; } leaf ac-id { type uint32; description "AC ID"; } leaf source-ac-id { type uint32; description "Source AC ID"; } leaf target-ac-id { type uint32; description "Target AC ID"; } leaf vpn-id { type uint32; description "VPN ID"; } leaf taii-global-id { type uint32; description "TAII Global ID"; } leaf taii-ac-id { type uint32; description "TAII AC ID"; } leaf taii-prefix { type inet:ipv6-address; description "TAII Prefix"; } } // list ac-id } // container ac-ids } // container standby } // container evpn } // module Cisco-IOS-XR-evpn-oper
© 2023 YumaWorks, Inc. All rights reserved.