This module contains a collection of YANG definitions for Cisco IOS-XR mpls-lsd package operational data. This module contains ...
Version: 2020-11-26
module Cisco-IOS-XR-mpls-lsd-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-lsd-oper"; prefix mpls-lsd-oper; import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-mpls-lsd-oper-sub1 { revision-date "2020-11-26"; } 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 mpls-lsd package operational data. This module contains definitions for the following management objects: mpls-lsd-nodes: Location MPLS LSD operational data mpls-lsd: MPLS LSD operational data Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-11-26" { description "Extend MPLS_LSDLabelContextType to include PFP block type 2020-11-22 New Label Context type defined, SR_Pfx_node 2020-10-29 Deprecated bag mpls_lsd_first_srgb_allocated_block_size Added bag mpls_lsd_active_block_range 2020-08-21 Modify mpls_lsd to include label flags in mpls_lsd_fpi_lbl bag 2020-06-13 Modify mpls_lsd to include BIER app type and label context type 2020-06-02 Modify mpls_lsd_moi_pw to include platform data"; } revision "2020-05-29" { description "Extended Application information to include resource complete timestamp"; } revision "2019-10-22" { description "Modify mpls_lsd_lbl_ctx_recycle_lbl to take 64 bit field instead of 32 Extend mpls_lsd_moi_pop_and_lkup to include QoS fields Extend mpls_lsd_moi_ipv6 to include load metric field Extend mpls_lsd_moi_ipv4 to include recursion length fields Extend mpls_lsd_moi_ipv4 to include QoS fields Extend MPLS_LSDLabelContextType to include CBF block type Extend mpls_lsd_lbl_ctx_l3vpn_nh_set to include type field"; } revision "2019-05-22" { description "Extended schema for FRRDatabase, Rewrite, LabelHistoryTable"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2019-01-03" { description "Yang evaluator: updates to schema descriptions and ranges"; } 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 "1.3.0"; semver:module-version "1.2.0"; semver:module-version "1.1.0"; semver:module-version "1.0.0"; container mpls-lsd-nodes { config false; description "Location MPLS LSD operational data"; list mpls-lsd-node { key "node-name"; description "The MPLS LSD operational data for a particular node"; leaf node-name { type xr:Node-id; description "The identifier for the node"; } container clients { description "Table of MPLS clients using LSD"; list client { key "client-name"; description "Data for MPLS client using LSD"; leaf client-name { type xr:Cisco-ios-xr-string; description "Client Instance name in the form of 'Application-<client_name>' or 'BCDL_Agent-<index:parent_index>'"; } container client-union { description "LSD client information"; container application { when "../lsd-client-type = 'mgmt-lsd-client-type-app'" { description "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_APP'"; } description "Application client"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-instance { type string; description "Application instance name"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } } // container application container bcdl-agent { when "../lsd-client-type = 'mgmt-lsd-client-type-ba'" { description "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_BA'"; } description "BCDL agent client"; leaf client-conn-index { type int32; description "BCDL Agent client connection index"; } leaf parent-client-conn-index { type int32; description "BCDL Agent parent client connection index"; } } // container bcdl-agent leaf lsd-client-type { type Mgmt-lsd-client; description "LSDClientType"; } } // container client-union leaf client-index { type uint32; description "Client Index Value"; } leaf node-id { type xr:Node-id; description "Node ID"; } } // list client } // container clients container label-summary { description "Dynamic label range"; leaf vrf-name-xr { type string; description "VRF Name"; } leaf total-labels { type uint32; description "Total number of labels"; } leaf rsi-connected { type int32; description "Is RSI connection open"; } list owner-count { description "Label count by owner"; leaf application-type { type Mgmt-lsd-app; description "Type of application owning the label"; } leaf application-name { type string; description "Name of application owning the label"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "client-application identifier"; } leaf number-of-labels { type uint32; description "Number of labels owned by the application"; } } // list owner-count } // container label-summary container labels { description "Table of labels"; list label { key "label-id"; description "Data for label"; leaf label-id { type uint32 { range "0..1048575"; } description "Label value"; } container label-context { description "Label context"; container key { description "Label Key"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container key leaf application-data { type yang:hex-string; description "Application opaque data"; } } // container label-context leaf label { type uint32; description "Label value"; } leaf rewrite-is-bound { type int32; description "Rewrite bound to label"; } leaf rewrite-owners { type uint32; description "The applications that own of the rewrite bound to the label"; } leaf rs-iconnected { type int32; description "Is RSI connection open"; } leaf vrf-name { type string; description "VRF Name"; } list application-owner { description "The applications that own the label"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list label } // container labels container frr-database { description "FRR database"; container tunnel-midpoints { description "Table of FRR database entries - Tunnel midpoints"; list tunnel-midpoint { key "label"; description "Data for FRR database entry - Tunnel midpoint"; leaf label { type uint32 { range "0..1048575"; } description "Label value"; } container frr-entry-id { description "FRR entry ID"; container head { when "../role = 'mgmt-lsd-lsp-role-head'" { description "../Role = 'MGMT_LSD_LSP_ROLE_HEAD'"; } description "FRR head"; leaf destination-prefix { type inet:ipv4-address; description "Destination prefix for the FRR head"; } leaf destination-prefix-length { type uint8; description "Length of the destination subnet prefix"; } } // container head container midpoint { when "../role = 'mgmt-lsd-lsp-role-mid'" { description "../Role = 'MGMT_LSD_LSP_ROLE_MID'"; } description "FRR midpoint"; leaf source-address { type inet:ipv4-address; description "Source IPv4 address"; } leaf lspid { type uint32; description "LSP ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } } // container midpoint leaf role { type Mgmt-lsd-lsp-role; description "Role"; } } // container frr-entry-id leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf input-label { type uint32; description "Input label"; } leaf entry-frr-state { type Mgmt-lsd-frr-state; description "MPLS FRR entry state"; } list out-path { description "Out Path List"; leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf out-label { type uint32; description "Outgoing label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "Next hop IPv4 address"; } leaf frr-interface { type xr:Interface-name; description "FRR interface"; } leaf frr-label { type uint32; description "FRR output label"; } } // list out-path } // list tunnel-midpoint } // container tunnel-midpoints container tunnel-heads { description "Table of FRR database entries - Tunnel heads"; list tunnel-head { key "interface-name"; description "Data for FRR database entry - Tunnel head"; leaf interface-name { type xr:Interface-name; description "Tunnel interface"; } container frr-entry-id { description "FRR entry ID"; container head { when "../role = 'mgmt-lsd-lsp-role-head'" { description "../Role = 'MGMT_LSD_LSP_ROLE_HEAD'"; } description "FRR head"; leaf destination-prefix { type inet:ipv4-address; description "Destination prefix for the FRR head"; } leaf destination-prefix-length { type uint8; description "Length of the destination subnet prefix"; } } // container head container midpoint { when "../role = 'mgmt-lsd-lsp-role-mid'" { description "../Role = 'MGMT_LSD_LSP_ROLE_MID'"; } description "FRR midpoint"; leaf source-address { type inet:ipv4-address; description "Source IPv4 address"; } leaf lspid { type uint32; description "LSP ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } } // container midpoint leaf role { type Mgmt-lsd-lsp-role; description "Role"; } } // container frr-entry-id leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf input-label { type uint32; description "Input label"; } leaf entry-frr-state { type Mgmt-lsd-frr-state; description "MPLS FRR entry state"; } list out-path { description "Out Path List"; leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf out-label { type uint32; description "Outgoing label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "Next hop IPv4 address"; } leaf frr-interface { type xr:Interface-name; description "FRR interface"; } leaf frr-label { type uint32; description "FRR output label"; } } // list out-path } // list tunnel-head } // container tunnel-heads container tunnel-head-summary { description "Summary data for FRR database entry - Tunnel head"; leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // container tunnel-head-summary container summary-protected-interfaces { description "Sumary table of Protected Interfaces"; list summary-protected-interface { key "interface-name"; description "Data for MPLS interface"; leaf interface-name { type xr:Interface-name; description "Interface"; } leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // list summary-protected-interface } // container summary-protected-interfaces container summary-backup-interfaces { description "Summary Backup Interface Table"; list summary-backup-interface { key "interface-name"; description "Data for Summary Backup Interface"; leaf interface-name { type xr:Interface-name; description "Tunnel interface"; } leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // list summary-backup-interface } // container summary-backup-interfaces container tunnel-summary { description "Summary data for FRR database entry"; leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // container tunnel-summary container tunnel-midpoint-summary { description "Summary data for FRR database entry - Tunnel midpoint"; leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // container tunnel-midpoint-summary } // container frr-database container rewrite { description "Table of rewrites"; container rewrite-label-range-cnts { description "Table of Label Range Counters"; list rewrite-label-range-cnt { description "Label Range Counters"; leaf label-range-type { type uint32 { range "0..5"; } description "Label range type for SRLB/SRGB opaque data to FIB"; } leaf label-range-index { type uint32 { range "0..2"; } description "Label range index for SRLB/SRGB opaque data to FIB"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-label-range-cnt } // container rewrite-label-range-cnts container rewrite-ipv6s { description "Table of IPv6 Rewrites"; list rewrite-ipv6 { description "FPI rewrite for label"; leaf rsi-table-id { type xr:Hex-integer; description "RSI table ID"; } leaf address { type inet:ipv6-address-no-zone; description "Network Address "; } leaf prefix-length { type uint32 { range "0..128"; } description "IPv6 Prefix length"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-ipv6 } // container rewrite-ipv6s container rewrite-pws { description "Table of Rewrites"; list rewrite-pw { key "pw-list-id"; description "FPI rewrite for PW List"; leaf pw-list-id { type uint32 { range "0..65535"; } description "PW List ID"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-pw } // container rewrite-pws container traffic-collector-interfaces { description "Table of Rewrite Table Collector"; list traffic-collector-interface { key "interface-name"; description "Data for Traffic Collector Interface"; leaf interface-name { type xr:Interface-name; description "External interface"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list traffic-collector-interface } // container traffic-collector-interfaces container rewrite-ipv4s { description "Table of Rewrites"; list rewrite-ipv4 { description "FPI rewrite for label"; leaf rsi-table-name { type xr:Cisco-ios-xr-string; description "RSI table name"; } leaf rsi-table-id { type xr:Hex-integer; description "RSI table ID"; } leaf prefix { type inet:ipv4-address-no-zone; description "IPv4 Prefix"; } leaf prefix-length { type uint32 { range "0..32"; } description "IPv4 Prefix length"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-ipv4 } // container rewrite-ipv4s container rewrite-tes { description "Table of Traffic Engineering Rewrites"; list rewrite-te { key "interface-name"; description "FPI rewrite for TE"; leaf interface-name { type xr:Interface-name; description "Tunnel interface"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-te } // container rewrite-tes container rewrite-labels { description "Table of Rewrites"; list rewrite-label { key "label-id"; description "FPI rewrite for label"; leaf label-id { type uint32 { range "0..1048575"; } description "Label value"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-label } // container rewrite-labels } // container rewrite container rewrite-summary { description "Rewrite Summary across all VRFs"; container ipv4-paths { description "Count for IPv4 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv4-paths container ipv6-paths { description "Count for IPv6 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv6-paths leaf num-label-fpi { type uint32; description "Number of label FPI"; } leaf num-tefpi { type uint32; description "Number of TE FPI"; } leaf num-ipv4fpi { type uint32; description "Number of IPv4 FPI"; } leaf num-ipv6fpi { type uint32; description "Number of IPv6 FPI"; } leaf num-pw-list-tefpi { type uint32; description "Number of PW List FPI"; } leaf num-dmtctefpi { type uint32; description "Number of DMTC FPI"; } leaf num-label-range { type uint32; description "Number of Label Range FPI"; } leaf num-rewrite { type uint32; description "Number of rewrites"; } leaf total-forward-update { type uint32; description "Total number of forward updates"; } leaf total-forwad-update-message { type uint32; description "Total number of forward update messages"; } leaf total-paths { type uint32; description "Total number of paths"; } leaf total-t-ev4-paths { type uint32; description "Total number of Traffic Eng IPv4 paths"; } leaf total-te-head-paths { type uint32; description "Total number of Traffic Eng Head paths"; } leaf total-pw-paths { type uint32; description "Total number of Pseudo-wire paths"; } leaf total-ip-sub-paths { type uint32; description "Total number of IP Subscriber paths"; } leaf total-ipv4rpf-neighbors { type uint32; description "Total number of IPv4 RPF Neighbors"; } leaf total-ipv6rpf-neighbors { type uint32; description "Total number of IPv6 RPF Neighbors"; } leaf num-rewrite-rpf-neighbors { type uint32; description "Number of rewrites with RPF Neighbors"; } leaf total-dmtc-intf { type uint32; description "Total number of DMTC External Interfaces"; } leaf total-label-range { type uint32; description "Total number of Label Ranges"; } leaf vrf-name-xr { type string; description "VRF Name"; } } // container rewrite-summary container applications { description "Table of MPLS applications using LSD"; list application { key "application-name"; description "Data for MPLS application using LSD"; leaf application-name { type xr:Cisco-ios-xr-string; description "Application Instance name in the form of '<app_type_name>[:<instance>]'"; } container application-statistics { description "Application Statistics"; container connected { description "Connected statistics"; leaf rt-set-msg-count { type uint32; description "RT set count"; } leaf operation-msg-count { type uint32; description "Operation count"; } leaf oor-label-count { type uint32; description "Label OOR count"; } leaf error-msg-count { type uint32; description "Error count"; } } // container connected leaf interface-enable { type uint32; description "Number of interfaces enabled"; } leaf interface-enable-pending { type uint32; description "Number of interfaces with enable pending"; } leaf connect-count { type uint32; description "Number of connections made"; } list label-context-count { max-elements 36; description "Active labels contexts count"; leaf entry { type uint32; description "Active labels contexts count"; } } // list label-context-count list label-context-pending-count { max-elements 36; description "Unclaimed (pending) labels contexts count"; leaf entry { type uint32; description "Unclaimed (pending) labels contexts count"; } } // list label-context-pending-count list label-context-notification-count { max-elements 36; description "Number of notifications sent to application, per ctx type"; leaf entry { type uint32; description "Number of notifications sent to application, per ctx type"; } } // list label-context-notification-count } // container application-statistics leaf application-name-xr { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance name"; } leaf app-reg-time { type uint64; description "Application registration timestamp"; } leaf app-disconnect-time { type uint64; description "Application disconnect timestamp"; } leaf app-flow-controlled { type int32; description "Application flow control status"; } leaf flow-ctrl-time { type uint64; description "Flow Ctrl timestamp"; } leaf flow-ctrl-clr-time { type uint64; description "Flow Ctrl Clr timestamp"; } leaf go-act-ts { type uint64; description "Application go active timestamp"; } leaf eod-received-ts { type uint64; description "Application resource complete timestamp"; } leaf application-state { type Mgmt-lsd-app-state; description "Application state"; } leaf recovery-time-remaining-seconds { type uint32; units "second"; description "Recovery time [secs] remaining if client is timing out"; } leaf recovery-time-elapsed-seconds { type uint32; units "second"; description "Recovery time [secs] elapsed if client is timing out"; } leaf recovery-time-register-seconds { type uint32; units "second"; description "Recovery time [secs] specified at registration or set explicitly"; } leaf node-id { type xr:Node-id; description "Node ID where application is/was running"; } } // list application } // container applications container label-summary-vrfs { description "Dynamic label range summary by VRF"; list label-summary-vrf { key "vrf-name"; description "Dynamic label range summary by VRF"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } leaf vrf-name-xr { type string; description "VRF Name"; } leaf total-labels { type uint32; description "Total number of labels"; } leaf rsi-connected { type int32; description "Is RSI connection open"; } list owner-count { description "Label count by owner"; leaf application-type { type Mgmt-lsd-app; description "Type of application owning the label"; } leaf application-name { type string; description "Name of application owning the label"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "client-application identifier"; } leaf number-of-labels { type uint32; description "Number of labels owned by the application"; } } // list owner-count } // list label-summary-vrf } // container label-summary-vrfs container label-range { description "MPLS label range information for both static and dynamic labels"; leaf min-dynamic-label-value { type uint32; description "Minimum dynamic label value"; } leaf max-dynamic-label-value { type uint32; description "Maximum dynamic label value"; } leaf min-static-label-value { type uint32; description "Minimum static label value"; } leaf max-static-label-value { type uint32; description "Maximum static label value"; } } // container label-range container rewrite-summary-vrfs { description "Rewrite Summary by VRF"; list rewrite-summary-vrf { key "vrf-name"; description "Rewrite summary by VRF VRF-name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } container ipv4-paths { description "Count for IPv4 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv4-paths container ipv6-paths { description "Count for IPv6 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv6-paths leaf num-label-fpi { type uint32; description "Number of label FPI"; } leaf num-tefpi { type uint32; description "Number of TE FPI"; } leaf num-ipv4fpi { type uint32; description "Number of IPv4 FPI"; } leaf num-ipv6fpi { type uint32; description "Number of IPv6 FPI"; } leaf num-pw-list-tefpi { type uint32; description "Number of PW List FPI"; } leaf num-dmtctefpi { type uint32; description "Number of DMTC FPI"; } leaf num-label-range { type uint32; description "Number of Label Range FPI"; } leaf num-rewrite { type uint32; description "Number of rewrites"; } leaf total-forward-update { type uint32; description "Total number of forward updates"; } leaf total-forwad-update-message { type uint32; description "Total number of forward update messages"; } leaf total-paths { type uint32; description "Total number of paths"; } leaf total-t-ev4-paths { type uint32; description "Total number of Traffic Eng IPv4 paths"; } leaf total-te-head-paths { type uint32; description "Total number of Traffic Eng Head paths"; } leaf total-pw-paths { type uint32; description "Total number of Pseudo-wire paths"; } leaf total-ip-sub-paths { type uint32; description "Total number of IP Subscriber paths"; } leaf total-ipv4rpf-neighbors { type uint32; description "Total number of IPv4 RPF Neighbors"; } leaf total-ipv6rpf-neighbors { type uint32; description "Total number of IPv6 RPF Neighbors"; } leaf num-rewrite-rpf-neighbors { type uint32; description "Number of rewrites with RPF Neighbors"; } leaf total-dmtc-intf { type uint32; description "Total number of DMTC External Interfaces"; } leaf total-label-range { type uint32; description "Total number of Label Ranges"; } leaf vrf-name-xr { type string; description "VRF Name"; } } // list rewrite-summary-vrf } // container rewrite-summary-vrfs container interfaces { description "Table of MPLS interfaces"; list interface { key "interface-name"; description "Data for MPLS interface"; leaf interface-name { type xr:Interface-name; description "Interface"; } leaf interface { type xr:Interface-name; description "LSD Interface name"; } leaf interface-state { type Mgmt-lsd-intf-state; description "Interface state"; } list application-owner { description "The applications that own the interface"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list interface } // container interfaces container label-histories { description "MPLS Label Hist"; list label-history { key "label-id"; description "MPLS Label Tabel Label"; container label-history-records { description "MPLS Label History Record Table"; list label-history-record { key "record-num"; description "MPLS Label Record Num"; leaf record-num { type uint32; description "Record Number"; } leaf label { type uint32; description "Label"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf hist-code { type uint32; description "Code for event that happened to label"; } leaf label-code { type uint32; description "Code for ctx type or error code"; } leaf time-stamp { type uint64; description "Timestamp"; } } // list label-history-record } // container label-history-records leaf label-id { type uint32 { range "0..1048575"; } description "Label value"; } } // list label-history } // container label-histories } // list mpls-lsd-node } // container mpls-lsd-nodes container mpls-lsd { config false; description "MPLS LSD operational data"; container clients { description "Table of MPLS clients using LSD"; list client { key "client-name"; description "Data for MPLS client using LSD"; leaf client-name { type xr:Cisco-ios-xr-string; description "Client Instance name in the form of 'Application-<client_name>' or 'BCDL_Agent-<index:parent_index>'"; } container client-union { description "LSD client information"; container application { when "../lsd-client-type = 'mgmt-lsd-client-type-app'" { description "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_APP'"; } description "Application client"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-instance { type string; description "Application instance name"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } } // container application container bcdl-agent { when "../lsd-client-type = 'mgmt-lsd-client-type-ba'" { description "../LSDClientType = 'MGMT_LSD_CLIENT_TYPE_BA'"; } description "BCDL agent client"; leaf client-conn-index { type int32; description "BCDL Agent client connection index"; } leaf parent-client-conn-index { type int32; description "BCDL Agent parent client connection index"; } } // container bcdl-agent leaf lsd-client-type { type Mgmt-lsd-client; description "LSDClientType"; } } // container client-union leaf client-index { type uint32; description "Client Index Value"; } leaf node-id { type xr:Node-id; description "Node ID"; } } // list client } // container clients container label-summary { description "Dynamic label range"; leaf vrf-name-xr { type string; description "VRF Name"; } leaf total-labels { type uint32; description "Total number of labels"; } leaf rsi-connected { type int32; description "Is RSI connection open"; } list owner-count { description "Label count by owner"; leaf application-type { type Mgmt-lsd-app; description "Type of application owning the label"; } leaf application-name { type string; description "Name of application owning the label"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "client-application identifier"; } leaf number-of-labels { type uint32; description "Number of labels owned by the application"; } } // list owner-count } // container label-summary container labels { description "Table of labels"; list label { key "label-id"; description "Data for label"; leaf label-id { type uint32 { range "0..1048575"; } description "Label value"; } container label-context { description "Label context"; container key { description "Label Key"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container key leaf application-data { type yang:hex-string; description "Application opaque data"; } } // container label-context leaf label { type uint32; description "Label value"; } leaf rewrite-is-bound { type int32; description "Rewrite bound to label"; } leaf rewrite-owners { type uint32; description "The applications that own of the rewrite bound to the label"; } leaf rs-iconnected { type int32; description "Is RSI connection open"; } leaf vrf-name { type string; description "VRF Name"; } list application-owner { description "The applications that own the label"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list label } // container labels container frr-database { description "FRR database"; container tunnel-midpoints { description "Table of FRR database entries - Tunnel midpoints"; list tunnel-midpoint { key "label"; description "Data for FRR database entry - Tunnel midpoint"; leaf label { type uint32 { range "0..1048575"; } description "Label value"; } container frr-entry-id { description "FRR entry ID"; container head { when "../role = 'mgmt-lsd-lsp-role-head'" { description "../Role = 'MGMT_LSD_LSP_ROLE_HEAD'"; } description "FRR head"; leaf destination-prefix { type inet:ipv4-address; description "Destination prefix for the FRR head"; } leaf destination-prefix-length { type uint8; description "Length of the destination subnet prefix"; } } // container head container midpoint { when "../role = 'mgmt-lsd-lsp-role-mid'" { description "../Role = 'MGMT_LSD_LSP_ROLE_MID'"; } description "FRR midpoint"; leaf source-address { type inet:ipv4-address; description "Source IPv4 address"; } leaf lspid { type uint32; description "LSP ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } } // container midpoint leaf role { type Mgmt-lsd-lsp-role; description "Role"; } } // container frr-entry-id leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf input-label { type uint32; description "Input label"; } leaf entry-frr-state { type Mgmt-lsd-frr-state; description "MPLS FRR entry state"; } list out-path { description "Out Path List"; leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf out-label { type uint32; description "Outgoing label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "Next hop IPv4 address"; } leaf frr-interface { type xr:Interface-name; description "FRR interface"; } leaf frr-label { type uint32; description "FRR output label"; } } // list out-path } // list tunnel-midpoint } // container tunnel-midpoints container tunnel-heads { description "Table of FRR database entries - Tunnel heads"; list tunnel-head { key "interface-name"; description "Data for FRR database entry - Tunnel head"; leaf interface-name { type xr:Interface-name; description "Tunnel interface"; } container frr-entry-id { description "FRR entry ID"; container head { when "../role = 'mgmt-lsd-lsp-role-head'" { description "../Role = 'MGMT_LSD_LSP_ROLE_HEAD'"; } description "FRR head"; leaf destination-prefix { type inet:ipv4-address; description "Destination prefix for the FRR head"; } leaf destination-prefix-length { type uint8; description "Length of the destination subnet prefix"; } } // container head container midpoint { when "../role = 'mgmt-lsd-lsp-role-mid'" { description "../Role = 'MGMT_LSD_LSP_ROLE_MID'"; } description "FRR midpoint"; leaf source-address { type inet:ipv4-address; description "Source IPv4 address"; } leaf lspid { type uint32; description "LSP ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } } // container midpoint leaf role { type Mgmt-lsd-lsp-role; description "Role"; } } // container frr-entry-id leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf input-label { type uint32; description "Input label"; } leaf entry-frr-state { type Mgmt-lsd-frr-state; description "MPLS FRR entry state"; } list out-path { description "Out Path List"; leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf out-label { type uint32; description "Outgoing label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "Next hop IPv4 address"; } leaf frr-interface { type xr:Interface-name; description "FRR interface"; } leaf frr-label { type uint32; description "FRR output label"; } } // list out-path } // list tunnel-head } // container tunnel-heads container tunnel-head-summary { description "Summary data for FRR database entry - Tunnel head"; leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // container tunnel-head-summary container summary-protected-interfaces { description "Sumary table of Protected Interfaces"; list summary-protected-interface { key "interface-name"; description "Data for MPLS interface"; leaf interface-name { type xr:Interface-name; description "Interface"; } leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // list summary-protected-interface } // container summary-protected-interfaces container summary-backup-interfaces { description "Summary Backup Interface Table"; list summary-backup-interface { key "interface-name"; description "Data for Summary Backup Interface"; leaf interface-name { type xr:Interface-name; description "Tunnel interface"; } leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // list summary-backup-interface } // container summary-backup-interfaces container tunnel-summary { description "Summary data for FRR database entry"; leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // container tunnel-summary container tunnel-midpoint-summary { description "Summary data for FRR database entry - Tunnel midpoint"; leaf active { type uint32; description "Number of FRR rewrites in Active state"; } leaf ready { type uint32; description "Number of FRR rewrites in Ready state"; } leaf partial { type uint32; description "Number of FRR rewrites in Partial state"; } leaf igp { type uint32; description "Number of FRR rewrites in IGP state for SR-TE"; } } // container tunnel-midpoint-summary } // container frr-database container rewrite { description "Table of rewrites"; container rewrite-label-range-cnts { description "Table of Label Range Counters"; list rewrite-label-range-cnt { description "Label Range Counters"; leaf label-range-type { type uint32 { range "0..5"; } description "Label range type for SRLB/SRGB opaque data to FIB"; } leaf label-range-index { type uint32 { range "0..2"; } description "Label range index for SRLB/SRGB opaque data to FIB"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-label-range-cnt } // container rewrite-label-range-cnts container rewrite-ipv6s { description "Table of IPv6 Rewrites"; list rewrite-ipv6 { description "FPI rewrite for label"; leaf rsi-table-id { type xr:Hex-integer; description "RSI table ID"; } leaf address { type inet:ipv6-address-no-zone; description "Network Address "; } leaf prefix-length { type uint32 { range "0..128"; } description "IPv6 Prefix length"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-ipv6 } // container rewrite-ipv6s container rewrite-pws { description "Table of Rewrites"; list rewrite-pw { key "pw-list-id"; description "FPI rewrite for PW List"; leaf pw-list-id { type uint32 { range "0..65535"; } description "PW List ID"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-pw } // container rewrite-pws container traffic-collector-interfaces { description "Table of Rewrite Table Collector"; list traffic-collector-interface { key "interface-name"; description "Data for Traffic Collector Interface"; leaf interface-name { type xr:Interface-name; description "External interface"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list traffic-collector-interface } // container traffic-collector-interfaces container rewrite-ipv4s { description "Table of Rewrites"; list rewrite-ipv4 { description "FPI rewrite for label"; leaf rsi-table-name { type xr:Cisco-ios-xr-string; description "RSI table name"; } leaf rsi-table-id { type xr:Hex-integer; description "RSI table ID"; } leaf prefix { type inet:ipv4-address-no-zone; description "IPv4 Prefix"; } leaf prefix-length { type uint32 { range "0..32"; } description "IPv4 Prefix length"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-ipv4 } // container rewrite-ipv4s container rewrite-tes { description "Table of Traffic Engineering Rewrites"; list rewrite-te { key "interface-name"; description "FPI rewrite for TE"; leaf interface-name { type xr:Interface-name; description "Tunnel interface"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-te } // container rewrite-tes container rewrite-labels { description "Table of Rewrites"; list rewrite-label { key "label-id"; description "FPI rewrite for label"; leaf label-id { type uint32 { range "0..1048575"; } description "Label value"; } container fpi-key { description "fpi key"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // container fpi-key container rewrite-id { description "Rewrite ID"; container rewrite-id { description "Rewrite ID"; container label-context { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-lbl-ctx'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LBL_CTX'"; } description "Label context"; container ipv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV4'"; } description "IPv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv4-data container ipv6-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IPV6'"; } description "IPv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf security-id { type uint32; description "Security ID"; } leaf vrf-name { type string { length "0..33"; } description "VRF Name"; } } // container ipv6-data container tev4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4'"; } description "TEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf tunnel-dest { type inet:ipv4-address; description "Tunnel destination"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Extended tunnel ID"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf is-srte { type int32; description "Is this an SRTE head tunnel"; } } // container tev4-data container ipv4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV4'"; } description "L3VPN IPv4 label context"; leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv4l3vpn-data container ipv6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_IPV6'"; } description "L3VPN IPv6 label context"; leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf route-distinguisher { type uint64; description "Route distinguisher"; } } // container ipv6l3vpn-data container vrf-l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-vrf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_VRF'"; } description "L3VPN VRF label context"; leaf table-id { type uint32; description "Table ID"; } leaf security-id { type uint32; description "Security ID"; } } // container vrf-l3vpn-data container cev4l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV4'"; } description "L3VPN CEv4 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev4l3vpn-data container cev6l3vpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-cev6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_CEV6'"; } description "L3VPN CEv6 label context"; leaf table-id { type uint32; description "Table ID"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf security-id { type uint32; description "Security ID"; } } // container cev6l3vpn-data container pseudowire-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pw'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PW'"; } description "Pseudowire label context"; leaf prefix { type inet:ipv4-address; description "Address prefix"; } leaf pseudowire-id { type uint64; description "Pseudo-wire ID"; } leaf remote-l2-router-id { type uint32; description "Remote L2 Router ID"; } leaf subinterface { type xr:Interface-name; description "Sub-interface name for the Pseudo-wire label"; } } // container pseudowire-data container label-block-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK'"; } description "Label block context"; leaf service { type uint8; description "Service"; } leaf vpn-id { type uint16; description "VPN ID"; } leaf edge-id { type uint16; description "Edge ID"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-data container ip-sub-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-ip-sub'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_IP_SUB'"; } description "IP Subscriber context"; leaf table-id { type uint32; description "Table Id"; } leaf parent-interface { type xr:Interface-name; description "Parent interface name"; } } // container ip-sub-data container tev4p2mp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tev4-p2mp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TEV4_P2MP'"; } description "TEv4 P2MP context"; leaf table-id { type uint32; description "Table ID"; } leaf tunnel-source { type inet:ipv4-address; description "Tunnel source"; } leaf p2mp-id { type uint32; description "Point to multipoint ID"; } leaf tunnel-id { type uint32; description "Tunnel ID"; } leaf tunnel-id-extension { type uint32; description "Tunnel ID extension"; } leaf tunnel-lsp-id { type uint32; description "Tunnel LSP ID"; } leaf previous-hop { type inet:ipv4-address; description "Previous hop"; } } // container tev4p2mp-data container mld-pv4-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-mldpv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_MLDPV4'"; } description "MLDPv4 LSM-ID context"; leaf table-id { type uint32; description "Table ID"; } leaf type { type uint16; description "LSM ID Type"; } leaf lsm-id { type uint32; description "LSM ID"; } leaf peer-lsrid { type inet:ipv4-address; description "Peer LSR Id"; } leaf peer-label-space-id { type uint16; description "Peer Label Space Id"; } } // container mld-pv4-data container pseudowire-head-end-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pwhe'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PWHE'"; } description "Pseudowire Head-end label context"; leaf pwhe-intf { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } } // container pseudowire-head-end-data container tp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-tp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TP'"; } description "TP context"; leaf source-global-id { type uint32; description "TP source global ID"; } leaf source-node-id { type inet:ipv4-address; description "TP source node ID"; } leaf dest-global-id { type uint32; description "TP destination global ID"; } leaf dest-node-id { type inet:ipv4-address; description "TP destination node ID"; } leaf source-tunnel-id { type uint16; description "TP source tunnel ID"; } leaf dest-tunnel-id { type uint16; description "TP destination tunnel ID"; } leaf lsp-id { type uint16; description "TP LSP ID"; } } // container tp-data container generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE'"; } description "Generic routing encapsulation context"; leaf gre-interface { type xr:Interface-name; description "Generic routing encapsulation interface"; } } // container generic-routing-encapsulation container ipv6-generic-routing-encapsulation { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-gre-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_GRE_IPV6'"; } description "Generic routing encapsulation context"; leaf greipv6-interface { type xr:Interface-name; description "Generic routing encapsulation IPv6 interface"; } } // container ipv6-generic-routing-encapsulation container evpn-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-evpn'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_EVPN'"; } description "EVPN context"; leaf evpn-id { type uint32; description "EVPN ID"; } leaf evpn-tag { type uint32; description "EVPN TAG"; } leaf ethernet-segment { type yang:hex-string; description "Ethernet Segment ID"; } leaf evpn-encap { type uint8; description "EVPN Encap"; } } // container evpn-data container ipv4blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV4'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type inet:ipv4-address; description "IPv4 prefix"; } } // container ipv4blb-data container ipv6blb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-blb-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_BLB_IPV6'"; } description "BFD BLB label context"; leaf blb-intf { type xr:Interface-name; description "BFD BLB interface"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 prefix"; } } // container ipv6blb-data container pi-mi-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-i-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_I_PMSI'"; } description "PIM I-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } } // container pi-mi-pmsi-data container pi-ms-pmsi-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-pim-s-pmsi'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_PIM_S_PMSI'"; } description "PIM S-PMSI label conext"; leaf vrf-id { type uint32; description "VRF ID"; } leaf source { type inet:ipv4-address; description "Originating Router"; } leaf head { type int32; description "Head"; } leaf v6 { type int32; description "PIM6"; } leaf hli { type uint32; description "Head LSM-ID"; } leaf seg { type int32; description "Segmented Multicast"; } } // container pi-ms-pmsi-data container next-hop-set-l3vpn { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-l3vpn-nh-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_L3VPN_NH_SET'"; } description "L3VPN NH SET label context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-set-l3vpn container sr-prefix-segment { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-seg'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_SEG'"; } description "SR Prefix Segment context"; leaf table-id { type uint32; description "Table ID"; } leaf segment-id { type uint32; description "Prefix Segment ID"; } } // container sr-prefix-segment container sr-adj-segment-ipv4 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv4'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV4'"; } description "SR Adj Segment ipv4 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type inet:ipv4-address; description "Adjacency nexthop IPv4 address"; } } // container sr-adj-segment-ipv4 container sr-adj-segment-ipv6 { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-adj-seg-ipv6'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_ADJ_SEG_IPV6'"; } description "SR Adj Segment ipv6 context"; leaf index { type uint32; description "Adjacency index"; } leaf type { type uint32; description "Adjacency type"; } leaf intf { type xr:Interface-name; description "Adjacency interface"; } leaf addr { type Lsd-ipv6-address; description "Adjacency nexthop IPv6 address"; } } // container sr-adj-segment-ipv6 container label-block-srgb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srgb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRGB'"; } description "Label block SRGB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srgb-data container te-binding { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-te-binding'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_TE_BINDING'"; } description "MPLS TE tunnel binding context"; leaf te-identifier { type uint32; description "MPLS Traffic Engineering Tunnel or Group ID"; } leaf te-type { type Mgmt-lsd-te-binding; description "Type of identifier for the binding"; } } // container te-binding container label-block-srlb-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-srlb'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_SRLB'"; } description "Label block SRLB context"; leaf start-label { type uint32; description "Start Label"; } leaf offset { type uint32; description "Offset"; } leaf size { type uint32; description "Number of labels"; } } // container label-block-srlb-data container recycle-label { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-recycle-lbl'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_RECYCLE_LBL'"; } description "Label stack context"; leaf grid-id { type uint64; description "Grid ID"; } } // container recycle-label container label-block-cbf-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-cbf'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_CBF'"; } description "Label block CBF context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-cbf-data container next-hop-label-set-srte { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-srte-nh-label-set'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SRTE_NH_LABEL_SET'"; } description "SRTE NH label set context"; leaf table-id { type uint32; description "Table ID"; } leaf next-hop-set-id { type uint32; description "Next Hop Set ID"; } leaf type { type Mgmt-lsd-lbl-alloc-table; description "Next Hop Table Type"; } } // container next-hop-label-set-srte container bier { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-bier'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_BIER'"; } description "Label BIER context"; leaf block-length { type uint32; description "Size of label block"; } leaf sub-domain-id { type uint32; description "Subdomain ID"; } leaf bit-stream-length { type uint32; description "Bit Stream Length"; } leaf afi { type uint16; description "Address Family Identifier"; } } // container bier container sr-pfx-node { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-sr-pfx-node'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_SR_PFX_NODE'"; } description "SR Prefix Node context"; leaf segment-routing-label { type uint32; description "Prefix Node Label"; } } // container sr-pfx-node container label-block-pfp-data { when "../label-context-type = 'mgmt-lsd-lbl-ctx-type-lbl-blk-pfp'" { description "../LabelContextType = 'MGMT_LSD_LBL_CTX_TYPE_LBL_BLK_PFP'"; } description "Label block PFP context"; leaf start-label { type uint32; description "Starting label of label block"; } leaf offset { type uint32; description "Offset from starting label of label block"; } leaf size { type uint32; description "Size of label block"; } leaf owner-app-name { type string { length "0..48"; } description "Owner Application Name"; } } // container label-block-pfp-data leaf label-context-type { type Mgmt-lsd-lbl-ctx; description "LabelContextType"; } } // container label-context container local-label-rewrite { when "../rewrite-id-type = 'mgmt-lsd-rw-id-type-loc-lbl'" { description "../RewriteIDType = 'MGMT_LSD_RW_ID_TYPE_LOC_LBL'"; } description "Local label rewrite information"; list label-data { description "label data"; leaf entry { type uint32; description "label data"; } } // list label-data } // container local-label-rewrite leaf rewrite-id-type { type Mgmt-lsd-rw-id; description "RewriteIDType"; } } // container rewrite-id } // container rewrite-id leaf rewrite-version { type uint64; description "Rewrite version"; } leaf bcdl-priority { type uint8; description "BCDL Priority"; } leaf lsd-queue { type uint8; description "LSD queue"; } leaf rw-install-time { type uint64; description "Rewrite install timestamp"; } leaf rw-install-age { type uint64; description "Rewrite install age"; } leaf rw-updated { type int32; description "Is rewrite ever updated"; } leaf priority-updated { type int32; description "Is rewrite's BCDL priority updated"; } leaf rw-redist { type int32; description "Is Rewrite redistributed"; } leaf prefix-feid { type uint64; description "FIB per-prefix encap id"; } list associated-fpi { description "Associated FPI"; container fpi { description "FPI"; container label-data { when "../fpi-type = 'mgmt-lsd-fpi-type-label'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL'"; } description "Label FPI"; leaf label { type uint32; description "Label value"; } leaf security-id { type uint32; description "Security ID"; } leaf elc { type int32; description "ELC"; } leaf label-flags { type uint32; description "Label Flags"; } } // container label-data container te-data { when "../fpi-type = 'mgmt-lsd-fpi-type-te'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_TE'"; } description "TE FPI"; leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf local-label { type uint32; description "Local label"; } } // container te-data container ipv4-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv4'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV4'"; } description "IPv4 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type inet:ipv4-address; description "IPv4 route prefix for the FPI"; } leaf prefix-length { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI version"; } leaf sr-local-label { type uint32; description "SR related Local label"; } } // container ipv4-data container ipv6-data { when "../fpi-type = 'mgmt-lsd-fpi-type-ipv6'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_IPV6'"; } description "IPv6 FPI"; leaf table-id { type uint32; description "Table ID"; } leaf prefix { type Lsd-ipv6-address; description "IPv6 route prefix for the FPI"; } leaf router-flags { type uint32; description "Route flags"; } leaf prefix-len { type uint8; description "Length of the subnet prefix"; } leaf version { type uint32; description "FPI Version"; } } // container ipv6-data container pw-list-data { when "../fpi-type = 'mgmt-lsd-fpi-type-pw-list'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_PW_LIST'"; } description "Pseudo-wire list FPI"; leaf pwhe-list-id { type uint16; description "Pseudowire List Identifier"; } } // container pw-list-data container dmtc-ext-intf-data { when "../fpi-type = 'mgmt-lsd-fpi-type-dmtc-ext-intf'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) FPI"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-ext-intf-data container label-range { when "../fpi-type = 'mgmt-lsd-fpi-type-label-range'" { description "../FPIType = 'MGMT_LSD_FPI_TYPE_LABEL_RANGE'"; } description "Label range FPI"; leaf type { type uint8; description "Label Range Type"; } leaf index { type uint8; description "Label Ranged Index"; } } // container label-range leaf fpi-type { type Mgmt-lsd-fpi; description "FPIType"; } } // container fpi list application-owner { description "Application owner instance"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list associated-fpi list v4-rpf { description "IPv4 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v4-rpf-neighbor { type inet:ipv4-address; description "V4 RPF Neighbor"; } } // list v4-rpf list v6-rpf { description "IPv6 RPF neighbors"; leaf table-id { type uint32; description "Table ID"; } leaf v6-rpf-neighbor { type Lsd-ipv6-address; description "V6 RPF Neighbor"; } } // list v6-rpf list mois { description "Mois"; container application-resource { description "Application state"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // container application-resource list moi-array { description "moi array"; container moi { description "Moi"; container pop-and-lookup-ipv4 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV4'"; } description "Pop-and-lookup IPv4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv4 container pop-and-lookup-tp { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-tp'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_TP'"; } description "Pop-and-lookup TP moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-label { type uint32; description "Outgoing Label"; } } // container pop-and-lookup-tp container pop-and-lookup-ipv6 { when "../moi-type = 'mgmt-lsd-moi-type-pop-and-lkup-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_POP_AND_LKUP_IPV6'"; } description "Pop-and-lookup IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } } // container pop-and-lookup-ipv6 container ipv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4'"; } description "IPV4 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container ipv4-data container ipv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6'"; } description "IPv6 moi"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container ipv6-data container tev4-data { when "../moi-type = 'mgmt-lsd-moi-type-tev4'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TEV4'"; } description "TEV4 moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf backup-interface { type xr:Interface-name; description "Backup interface name"; } leaf backup-ipv4-next-hop { type inet:ipv4-address; description "Backup IPv4 nexthop"; } leaf merge-point-label { type uint32; description "Merge point label"; } leaf backup-local-label { type uint32; description "Backup local label"; } leaf tunnel-interface { type xr:Interface-name; description "Tunnel interface name"; } leaf tunnel-weight { type uint32; description "Tunnel weight"; } leaf data-out-parent-interface { type xr:Interface-name; description "Outgoing data parent interface name"; } leaf tunnel-class { type uint32; description "Tunnel class"; } leaf ipv4-next-next-hop { type inet:ipv4-address; description "IPv4 next nexthop"; } } // container tev4-data container pseudowire-data { when "../moi-type = 'mgmt-lsd-moi-type-pw'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW'"; } description "Pseudo-wire moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf cross-connect-id { type uint32; description "Cross-connect ID"; } leaf pseuodo-wire-connect-id { type uint32; description "PseudoWire Cross-connect ID"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf bridge-id { type uint32; description "Bridge ID"; } leaf split-horizon-id { type uint32; description "Split horizon group ID"; } } // container pseudowire-data container ip-sub-data { when "../moi-type = 'mgmt-lsd-moi-type-ip-sub'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IP_SUB'"; } description "IP Subscriber moi"; leaf table-id { type uint32; description "VRF table ID"; } leaf table-name { type string; description "VRF table name"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container ip-sub-data container pseudowire-head-end-data { when "../moi-type = 'mgmt-lsd-moi-type-pwhe'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PWHE'"; } description "Pseudo-wire head end moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf control-word { type int32; description "Is control word present"; } leaf imposition { type int32; description "Is PWHE IMposition"; } leaf vctype { type uint8; description "Virtual Circuit Type"; } leaf pw-list-id { type uint16; description "Pseudo-wire List Identifier"; } leaf pwhe-interface { type xr:Interface-name; description "Pseudo-wire Head-end interface"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container pseudowire-head-end-data container pw-list-data { when "../moi-type = 'mgmt-lsd-moi-type-pw-list'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_PW_LIST'"; } description "Pseudo-wire list moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf l3-interface { type xr:Interface-name; description "Pseudo-wire Layer 3 interface"; } leaf l2-interface { type xr:Interface-name; description "Pseudo-wire Layer 2 interface"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } } // container pw-list-data container stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_STACK'"; } description "IPv4 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv4-data container stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_STACK'"; } description "IPv6 stack moi"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container stackv6-data container te-head-data { when "../moi-type = 'mgmt-lsd-moi-type-te-head'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_TE_HEAD'"; } description "Traffic Engineering head moi"; leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf tunnel-local-label { type uint32; description "Tunnel local label"; } leaf tunnel-local-label-str { type string; description "Tunnel local label stringified"; } leaf tunnel-fwd-class { type uint8; description "Tunnel forwarding class"; } leaf tunnel-load-metric { type uint32; description "Tunnel Load metric"; } leaf flags-decode { type string; description "Flags decoded string"; } } // container te-head-data container dmtc-data { when "../moi-type = 'mgmt-lsd-moi-type-dmtc-ext-intf'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_DMTC_EXT_INTF'"; } description "Demand Matrix Traffic-Collector (DMTC) moi"; leaf dmtc-ext-ifh { type xr:Interface-name; description "DMTC External Interface"; } } // container dmtc-data container nnh-stackv4-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv4-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV4_NNH_STACK'"; } description "IPv4 Next-Next-Hop Stack moi"; container ipv4-stack { description "IPv4 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing Interface name"; } leaf out-interface-parent { type xr:Interface-name; description "Outgoing Interface's parent name"; } leaf ipv4-next-hop { type inet:ipv4-address; description "IPv4 nexthop"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-label { type uint32; description "Outgoing Label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf local-label { type uint32; description "TE backup path local label"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type inet:ipv4-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf owner-application-type { type Mgmt-lsd-app; description "Owner application type"; } leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv4-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv4-data container nnh-stackv6-data { when "../moi-type = 'mgmt-lsd-moi-type-ipv6-nnh-stack'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_IPV6_NNH_STACK'"; } description "IPv6 Next-Next-Hop Stack moi"; container ipv6-stack { description "IPv6 stack"; container nexthop { description "Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container nexthop container inner-stack { description "Inner stack"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container inner-stack container split-stack-info { description "Split Stack Info"; container recycle-nexthop { description "Recycle Nexthop"; container path-qos-info { description "Path QoS Information"; leaf type { type string; description "Path QoS Type"; } leaf value { type uint8; description "Path Qos Value"; } leaf is-default { type int32; description "Is path's qos value equal to the default value"; } } // container path-qos-info leaf table-id { type uint32; description "Table ID"; } leaf table-name { type string; description "VRF table name"; } leaf path-flags-decode { type string; description "Path flag decoded string"; } leaf out-interface { type xr:Interface-name; description "Outgoing interface name"; } leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-name { type string; description "Outgoing label name"; } leaf ipv6-next-hop { type Lsd-ipv6-address; description "IPv6 nexthop"; } leaf path-id { type uint16; description "Routing path id"; } leaf is-path-qos-set { type int32; description "Flag to indicate if path QoS is set"; } leaf backup-path-id { type uint16; description "Routing path backup id"; } leaf tunnel-id { type uint16; description "Tunnel ID"; } leaf tunnel-type { type uint16; description "Tunnel Type"; } leaf next-hop-id { type uint32; description "Next hop ID"; } leaf out-interface-parent { type xr:Interface-name; description "Name of outgoing interface's parent"; } leaf minimum-recurse-length { type uint8; description "Minimum netmask length of recursive resolving route"; } leaf load-metric { type uint32; description "Routing path's load metric"; } leaf out-binding-sid { type uint32; description "Outgoing BindingSID"; } } // container recycle-nexthop container recycle-inner-stack { description "Recycle inner stack (the portion of the stack moved into the recycle rewrite after split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container recycle-inner-stack container modified-inner-stack { description "Modified inner stack (the portion of the stack that remains after stack split)"; leaf num-nexthops { type uint8; description "Number of remote nexthop addresses"; } leaf num-lbls { type uint8; description "Depth of inner label stack"; } leaf flags { type uint16; description "Inner stack flags"; } list nexthop { max-elements 2; description "Remote nexthop addresses"; leaf entry { type Lsd-ipv6-address; description "Remote nexthop addresses"; } } // list nexthop list label { max-elements 12; description "Info related to outgoing labels"; leaf outgoing-label { type uint32; description "Remote Label"; } leaf outgoing-label-str { type string; description "Remote Label string"; } } // list label } // container modified-inner-stack leaf recycle-label { type uint32; description "Recycle Label"; } } // container split-stack-info leaf recycle-present { type int32; description "Flag to indicate if a recycle label is present"; } } // container ipv6-stack list neighbor-next-hop { description "List of Neighbor Next Hops"; leaf nnh-type { type Mpls-lsd-nnh; description "nnh type"; } leaf address { when "../nnh-type = 'ipv4-address'" { description "../nnh_type = 'IPv4Address'"; } type inet:ipv4-address; description "IPv4 Address"; } leaf interface-name { when "../nnh-type = 'interface-name'" { description "../nnh_type = 'InterfaceName'"; } type xr:Interface-name; description "Interface name"; } } // list neighbor-next-hop } // container nnh-stackv6-data container label-range { when "../moi-type = 'mgmt-lsd-moi-type-label-range'" { description "../MoiType = 'MGMT_LSD_MOI_TYPE_LABEL_RANGE'"; } description "Label range moi"; leaf start-label-active { type uint32; description "Active Label Range Start"; } leaf end-label-active { type uint32; description "Active Label Range End"; } } // container label-range leaf moi-type { type Mgmt-lsd-moi; description "MoiType"; } } // container moi leaf mpls-feid { type uint64; description "FIB per-path mpls encap id"; } } // list moi-array } // list mois } // list rewrite-label } // container rewrite-labels } // container rewrite container rewrite-summary { description "Rewrite Summary across all VRFs"; container ipv4-paths { description "Count for IPv4 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv4-paths container ipv6-paths { description "Count for IPv6 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv6-paths leaf num-label-fpi { type uint32; description "Number of label FPI"; } leaf num-tefpi { type uint32; description "Number of TE FPI"; } leaf num-ipv4fpi { type uint32; description "Number of IPv4 FPI"; } leaf num-ipv6fpi { type uint32; description "Number of IPv6 FPI"; } leaf num-pw-list-tefpi { type uint32; description "Number of PW List FPI"; } leaf num-dmtctefpi { type uint32; description "Number of DMTC FPI"; } leaf num-label-range { type uint32; description "Number of Label Range FPI"; } leaf num-rewrite { type uint32; description "Number of rewrites"; } leaf total-forward-update { type uint32; description "Total number of forward updates"; } leaf total-forwad-update-message { type uint32; description "Total number of forward update messages"; } leaf total-paths { type uint32; description "Total number of paths"; } leaf total-t-ev4-paths { type uint32; description "Total number of Traffic Eng IPv4 paths"; } leaf total-te-head-paths { type uint32; description "Total number of Traffic Eng Head paths"; } leaf total-pw-paths { type uint32; description "Total number of Pseudo-wire paths"; } leaf total-ip-sub-paths { type uint32; description "Total number of IP Subscriber paths"; } leaf total-ipv4rpf-neighbors { type uint32; description "Total number of IPv4 RPF Neighbors"; } leaf total-ipv6rpf-neighbors { type uint32; description "Total number of IPv6 RPF Neighbors"; } leaf num-rewrite-rpf-neighbors { type uint32; description "Number of rewrites with RPF Neighbors"; } leaf total-dmtc-intf { type uint32; description "Total number of DMTC External Interfaces"; } leaf total-label-range { type uint32; description "Total number of Label Ranges"; } leaf vrf-name-xr { type string; description "VRF Name"; } } // container rewrite-summary container applications { description "Table of MPLS applications using LSD"; list application { key "application-name"; description "Data for MPLS application using LSD"; leaf application-name { type xr:Cisco-ios-xr-string; description "Application Instance name in the form of '<app_type_name>[:<instance>]'"; } container application-statistics { description "Application Statistics"; container connected { description "Connected statistics"; leaf rt-set-msg-count { type uint32; description "RT set count"; } leaf operation-msg-count { type uint32; description "Operation count"; } leaf oor-label-count { type uint32; description "Label OOR count"; } leaf error-msg-count { type uint32; description "Error count"; } } // container connected leaf interface-enable { type uint32; description "Number of interfaces enabled"; } leaf interface-enable-pending { type uint32; description "Number of interfaces with enable pending"; } leaf connect-count { type uint32; description "Number of connections made"; } list label-context-count { max-elements 36; description "Active labels contexts count"; leaf entry { type uint32; description "Active labels contexts count"; } } // list label-context-count list label-context-pending-count { max-elements 36; description "Unclaimed (pending) labels contexts count"; leaf entry { type uint32; description "Unclaimed (pending) labels contexts count"; } } // list label-context-pending-count list label-context-notification-count { max-elements 36; description "Number of notifications sent to application, per ctx type"; leaf entry { type uint32; description "Number of notifications sent to application, per ctx type"; } } // list label-context-notification-count } // container application-statistics leaf application-name-xr { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance name"; } leaf app-reg-time { type uint64; description "Application registration timestamp"; } leaf app-disconnect-time { type uint64; description "Application disconnect timestamp"; } leaf app-flow-controlled { type int32; description "Application flow control status"; } leaf flow-ctrl-time { type uint64; description "Flow Ctrl timestamp"; } leaf flow-ctrl-clr-time { type uint64; description "Flow Ctrl Clr timestamp"; } leaf go-act-ts { type uint64; description "Application go active timestamp"; } leaf eod-received-ts { type uint64; description "Application resource complete timestamp"; } leaf application-state { type Mgmt-lsd-app-state; description "Application state"; } leaf recovery-time-remaining-seconds { type uint32; units "second"; description "Recovery time [secs] remaining if client is timing out"; } leaf recovery-time-elapsed-seconds { type uint32; units "second"; description "Recovery time [secs] elapsed if client is timing out"; } leaf recovery-time-register-seconds { type uint32; units "second"; description "Recovery time [secs] specified at registration or set explicitly"; } leaf node-id { type xr:Node-id; description "Node ID where application is/was running"; } } // list application } // container applications container label-summary-vrfs { description "Dynamic label range summary by VRF"; list label-summary-vrf { key "vrf-name"; description "Dynamic label range summary by VRF"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } leaf vrf-name-xr { type string; description "VRF Name"; } leaf total-labels { type uint32; description "Total number of labels"; } leaf rsi-connected { type int32; description "Is RSI connection open"; } list owner-count { description "Label count by owner"; leaf application-type { type Mgmt-lsd-app; description "Type of application owning the label"; } leaf application-name { type string; description "Name of application owning the label"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "client-application identifier"; } leaf number-of-labels { type uint32; description "Number of labels owned by the application"; } } // list owner-count } // list label-summary-vrf } // container label-summary-vrfs container label-range { description "MPLS label range information for both static and dynamic labels"; leaf min-dynamic-label-value { type uint32; description "Minimum dynamic label value"; } leaf max-dynamic-label-value { type uint32; description "Maximum dynamic label value"; } leaf min-static-label-value { type uint32; description "Minimum static label value"; } leaf max-static-label-value { type uint32; description "Maximum static label value"; } } // container label-range container rewrite-summary-vrfs { description "Rewrite Summary by VRF"; list rewrite-summary-vrf { key "vrf-name"; description "Rewrite summary by VRF VRF-name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } container ipv4-paths { description "Count for IPv4 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv4-paths container ipv6-paths { description "Count for IPv6 paths"; leaf total-paths { type uint32; description "Total number of IP paths"; } leaf total-backup-paths { type uint32; description "Total number of non-primary backup paths"; } leaf total-remote-backup-paths { type uint32; description "Total number of remote backup paths"; } leaf total-protected-paths { type uint32; description "Total number of protected paths"; } leaf total-pop-lkup-paths { type uint32; description "Total number of Pop-and-Lookup paths"; } } // container ipv6-paths leaf num-label-fpi { type uint32; description "Number of label FPI"; } leaf num-tefpi { type uint32; description "Number of TE FPI"; } leaf num-ipv4fpi { type uint32; description "Number of IPv4 FPI"; } leaf num-ipv6fpi { type uint32; description "Number of IPv6 FPI"; } leaf num-pw-list-tefpi { type uint32; description "Number of PW List FPI"; } leaf num-dmtctefpi { type uint32; description "Number of DMTC FPI"; } leaf num-label-range { type uint32; description "Number of Label Range FPI"; } leaf num-rewrite { type uint32; description "Number of rewrites"; } leaf total-forward-update { type uint32; description "Total number of forward updates"; } leaf total-forwad-update-message { type uint32; description "Total number of forward update messages"; } leaf total-paths { type uint32; description "Total number of paths"; } leaf total-t-ev4-paths { type uint32; description "Total number of Traffic Eng IPv4 paths"; } leaf total-te-head-paths { type uint32; description "Total number of Traffic Eng Head paths"; } leaf total-pw-paths { type uint32; description "Total number of Pseudo-wire paths"; } leaf total-ip-sub-paths { type uint32; description "Total number of IP Subscriber paths"; } leaf total-ipv4rpf-neighbors { type uint32; description "Total number of IPv4 RPF Neighbors"; } leaf total-ipv6rpf-neighbors { type uint32; description "Total number of IPv6 RPF Neighbors"; } leaf num-rewrite-rpf-neighbors { type uint32; description "Number of rewrites with RPF Neighbors"; } leaf total-dmtc-intf { type uint32; description "Total number of DMTC External Interfaces"; } leaf total-label-range { type uint32; description "Total number of Label Ranges"; } leaf vrf-name-xr { type string; description "VRF Name"; } } // list rewrite-summary-vrf } // container rewrite-summary-vrfs container interfaces { description "Table of MPLS interfaces"; list interface { key "interface-name"; description "Data for MPLS interface"; leaf interface-name { type xr:Interface-name; description "Interface"; } leaf interface { type xr:Interface-name; description "LSD Interface name"; } leaf interface-state { type Mgmt-lsd-intf-state; description "Interface state"; } list application-owner { description "The applications that own the interface"; leaf application-name { type string; description "Application name"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf application-instance { type string; description "Application instance Name"; } leaf resource-state { type Mgmt-lsd-app-rsrc-state; description "Application resource state"; } } // list application-owner } // list interface } // container interfaces container label-histories { description "MPLS Label Hist"; list label-history { key "label-id"; description "MPLS Label Tabel Label"; container label-history-records { description "MPLS Label History Record Table"; list label-history-record { key "record-num"; description "MPLS Label Record Num"; leaf record-num { type uint32; description "Record Number"; } leaf label { type uint32; description "Label"; } leaf application-type { type Mgmt-lsd-app; description "Application type"; } leaf application-role-primary { type int32; description "Primary/Backup role"; } leaf hist-code { type uint32; description "Code for event that happened to label"; } leaf label-code { type uint32; description "Code for ctx type or error code"; } leaf time-stamp { type uint64; description "Timestamp"; } } // list label-history-record } // container label-history-records leaf label-id { type uint32 { range "0..1048575"; } description "Label value"; } } // list label-history } // container label-histories } // container mpls-lsd } // module Cisco-IOS-XR-mpls-lsd-oper
© 2023 YumaWorks, Inc. All rights reserved.