This module contains a collection of YANG definitions for Cisco IOS-XR mpls-ldp package operational data. This module contains ...
Version: 2021-04-06
module Cisco-IOS-XR-mpls-ldp-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-mpls-ldp-oper"; prefix mpls-ldp-oper; import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-mpls-ldp-oper-sub3 { revision-date "2021-04-06"; } include Cisco-IOS-XR-mpls-ldp-oper-sub2 { revision-date "2021-04-06"; } include Cisco-IOS-XR-mpls-ldp-oper-sub1 { revision-date "2021-04-06"; } 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-ldp package operational data. This module contains definitions for the following management objects: mpls-ldp: MPLS LDP operational data Copyright (c) 2013-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-04-06" { description "Added BSID data in LDP forwarding 2021-03-10 Added adj_grp count leaf to ldp summary 2020-08-14 Added ELC parameter."; } revision "2019-04-05" { description "Establish semantic version baseline."; } 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.1.0"; semver:module-version "1.0.0"; typedef Mpls-ldp-oper-af-name { type enumeration { enum "ipv4" { value 1; description "IPv4"; } enum "ipv6" { value 2; description "IPv6"; } enum "all" { value 65535; description "All"; } } description "Mpls ldp oper af name"; } container mpls-ldp { config false; description "MPLS LDP operational data"; container global { description "Global MPLS LDP operational data"; container standby { description "Standby MPLS LDP operational data"; container default-vrf { description "DefaultVRF specific operational data"; container graceful-restart { description "LDP Graceful Restart info"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-forwarding-state-hold-timer-running { type boolean; description "Is graceful restart forwarding state hold timer running"; } leaf forwarding-state-hold-timer-remaining-seconds { type uint32; units "second"; description "Forwarding state hold timer remaining time in seconds"; } list graceful-restartable-neighbor { description "Vector of graceful restart neighbor information"; container gr-peer { description "GR peer LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container gr-peer leaf connect-count { type uint32; description "ConnectCount"; } leaf is-neighbor-up { type boolean; description "Is neighbor up"; } leaf is-liveness-timer-running { type boolean; description "Is liveness timer running"; } leaf liveness-timer-remaining-seconds { type uint32; description "Remaining time from liveness timer"; } leaf is-recovery-timer-running { type boolean; description "Is recovery timer running"; } leaf recovery-timer-remaining-seconds { type uint32; description "Recovery timer remining time"; } leaf down-nbr-flap-count { type uint8; description "Count of back2back flaps"; } leaf down-nbr-flags { type uint32; description "Flags"; } leaf down-nbr-down-reason { type uint32; description "Session down reason code"; } list down-nbr-interface { description "Interfaces bound to GR down Nbr"; leaf address-family { type Ldp-af-id; description "Interface adj Address Family"; } leaf interface-handle { type xr:Interface-name; description "Interfaces handle"; } } // list down-nbr-interface list down-nbr-address { description "Addresses bound to GR down Nbr"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // list down-nbr-address } // list graceful-restartable-neighbor } // container graceful-restart container capabilities { description "LDP capability database information"; list capability { key "capability-type"; description "Information on LDP capability"; leaf capability-type { type uint32; description "The capability type (IANA assigned)"; } container capability { description "Capability information"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // container capability leaf capability-owner { type string; description "Capability owner"; } } // list capability } // container capabilities container summary { description "LDP VRF summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common } // container summary container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container interface-summary { description "IPv4 interface summary information"; leaf known-ip-interface-count { type uint32; description "Number of known IP Interfaces"; } leaf known-ip-interface-ldp-enabled { type uint32; description "Number of known IP Interfaces with LDP Enabled"; } leaf ldp-configured-attached-interface { type uint32; description "Number of attached interfaces configured in LDP"; } leaf ldp-configured-te-interface { type uint32; description "Number of TE tunnel interfaces configured in LDP"; } leaf forward-references { type uint32; description "Number of forward referenced interfaces"; } leaf auto-config-disabled { type uint32; description "Autoconfigure disabled"; } leaf auto-config { type uint32; description "Auto-configured interfaces"; } leaf auto-config-forward-reference-interfaces { type uint32; description "Auto-configured forward references"; } } // container interface-summary container bindings { description "The LDP Bindings"; list binding { key "prefix"; description "Binding Information"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr leaf prefix-length { type uint8; description "Prefix Length"; } leaf local-label { type uint32; description "Local label"; } leaf le-local-binding-revision { type uint32; description "Local Binding revision"; } leaf le-local-label-state { type Local-label-state; description "Local label state"; } leaf is-no-route { type boolean; description "No route"; } leaf label-oor { type boolean; description "Label space depletion OOR"; } leaf advertise-prefix-acl { type string; description "Advertise Prerfix ACL"; } leaf advertise-tsr-acl { type string; description "Advertise TSR ACL"; } leaf config-enforced-local-label-value { type boolean; description "Config/User enforced local label value"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } list remote-binding { description "Remote binding"; container assigning-peer-ldp-ident { description "Assigning peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container assigning-peer-ldp-ident leaf remote-label { type uint32; description "Remote Label"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } } // list remote-binding list peers-advertised-to { description "Peers this entry is advertised to"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-advertised-to list peers-acked { description "Peers that have ACKed this entry"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-acked } // list binding } // container bindings container igp { description "LDP IGP related information"; container syncs { description "LDP IGP Sync related information"; list sync { key "interface-name"; description "LDP-IGP Synchronization related information for an interface"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface-name-xr { type string; description "Interface name"; } leaf igp-sync-state { type Ldp-igp-sync-state; description "IGP Sync state"; } leaf igp-sync-delay { type uint32; units "second"; description "IGP sync delay in seconds"; } leaf is-delay-timer-running { type boolean; description "Is sync delay timer running"; } leaf delay-timer-remaining { type uint32; units "second"; description "Remaining timer (seconds) till expiry of sync delay timer"; } leaf igp-sync-down-reason { type Ldp-igp-sync-down-reason; description "Reason IGP Sync Not Achieved"; } list peers { description "Interface Peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-gr-enabled { type boolean; description "Is GR enabled session"; } } // list peers list gr-only-peer { description "Interface GR-only reachable peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-chkpt-created { type boolean; description "Is created due to checkpointing"; } } // list gr-only-peer } // list sync } // container syncs container sync-delay-restart { description "LDP-IGP Synchronization Delay related information"; leaf configured { type boolean; description "Is restart delay configured"; } leaf delay-secs { type uint32; description "Delay time"; } leaf timer-running { type boolean; description "Is restart delay timer running"; } leaf remaining-secs { type uint32; description "Delay timer remaining time"; } } // container sync-delay-restart } // container igp container bindings-summary { description "Counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary container interfaces { description "LDP Interface related information"; list interface { key "interface-name"; description "IPv4 interface information"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf ldp-enabled { type boolean; description "LDP enabled"; } leaf is-im-stale { type boolean; description "Is IM information stale"; } leaf ldp-config-mode { type boolean; description "LDP config mode"; } leaf ldp-autoconfig-disable { type boolean; description "LDP autoconfig disable"; } list te-mesh-grp { description "TE tunnel mesh-group"; leaf ldp-te-mesh-group-all-cfgd { type boolean; description "LDP has enabled all TE mesh-groups"; } leaf ldp-mesh-group-enabled { type boolean; description "LDP has enabled this TE mesh-group"; } leaf te-mesh-group-id { type uint32; description "TE tunnel Mesh Group ID"; } } // list te-mesh-grp list auto-config { description "Auto config"; leaf tuple { type string; description "Tuple"; } } // list auto-config } // list interface } // container interfaces container discovery { description "The LDP Discovery"; container link-hellos { description "The LDP Discovery link"; list link-hello { key "interface-name"; description "Information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } list hello-information { description "LDP hello info"; container neighbor-src-address { description "Neighbor source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-src-address container neighbor-transport-address { description "Neighbor transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-transport-address container target { description "Target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf is-no-route { type boolean; description "Is route valid"; } leaf hold-time { type uint32; units "second"; description "Session hold time in seconds"; } leaf local-hold-time { type uint32; units "second"; description "Local hold time in seconds"; } leaf neighbor-hold-time { type uint32; units "second"; description "Neighbor hold time in seconds"; } leaf disc-expiry { type uint32; description "Discovery expiry time in sec"; } leaf is-targeted { type boolean; description "Is session a targeted session"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list hello-information list discovery-link-af { max-elements 2; description "LDP hello AF info"; container local-src-address { description "Local source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-src-address container local-transport-address { description "Local transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-transport-address leaf interval { type uint32; description "Hello interval in sec"; } } // list discovery-link-af } // list link-hello } // container link-hellos container summary { description "Summarized information on LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container summary container targeted-hellos { description "The LDP Discovery Targeted"; list targeted-hello { description "Information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container dhcb-local-address { description "DHCB local address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-local-address container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf state { type Dhcb-state; description "Targeted hello state"; } leaf adjacency-ldp-identifier { type string; description "Adjacency LDP Identifier"; } leaf interval { type uint32; description "Hello interval in sec"; } leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf hold-time { type uint32; description "Targeted hello hold time"; } leaf local-hold-time { type uint32; description "Local hold time"; } leaf neighbor-hold-time { type uint32; description "Neighbor hold time"; } leaf disc-expiry { type uint32; description "Discovery expiry time in msec"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list targeted-hello } // container targeted-hellos container brief { description "Brief information on LDP discovery"; container link-hello-briefs { description "The LDP Discovery link brief information"; list link-hello-brief { key "interface-name"; description "Brief information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Discovery Brief Address Family"; } leaf address-family-set { type Ldp-af; description "Discovery Brief Address Family Set"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list link-hello-brief } // container link-hello-briefs container targeted-hello-briefs { description "The LDP Discovery Targeted brief information"; list targeted-hello-brief { description "Brief information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf address-family { type Ldp-af; description "Targeted Discovery Address Family"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list targeted-hello-brief } // container targeted-hello-briefs } // container brief container stats { description "The LDP Discovery Statistics"; list stat { description "Information on LDP discovery statistics"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf adjacency-group-up-time { type uint32; units "second"; description "Adjacency group up time in seconds"; } leaf tcp-open-count { type uint32; description "Count of attempted TCP opens"; } leaf tcp-arb-chg-count { type uint32; description "Count of changes in TCP arbitration"; } leaf tcp-role { type uint32; description "TCP Role"; } } // list stat } // container stats } // container discovery container forwardings { description "The LDP Forwarding rewrites"; list forwarding { key "prefix"; description "Information on a particular LDP forwarding rewrite"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr container route { description "Route"; container routing { description "IP routing information"; leaf version { type uint32; description "Route RIB ersion"; } leaf priority { type uint8; description "Route priority"; } leaf source { type uint16; description "Route source protol Id"; } leaf type { type uint16; description "Route type"; } leaf flags { type uint32; description "Route RIB flags"; } leaf metric { type uint32; description "Route metric"; } leaf is-local-vrf-leaked { type boolean; description "Is route leaked across local VRFs?"; } leaf routing-update-count { type uint32; description "Number of routing updates"; } leaf routing-update-timestamp { type uint64; description "Last Routing update nanosec timestamp"; } leaf routing-update-age { type uint64; description "Last Routing update nanosec age"; } leaf sr-local-label { type uint32; description "SR Local-label"; } } // container routing container mpls { description "MPLS information"; leaf local-label { type uint32; description "Local label"; } leaf forwarding-update-count { type uint32; description "Number of forwarding updates"; } leaf forwarding-update-timestamp { type uint64; description "Last Forwarding update nanosec timestamp"; } leaf forwarding-update-age { type uint64; description "Last Forwarding update nanosec age"; } } // container mpls } // container route leaf table-id { type uint32; description "Table ID associated with IP prefix"; } leaf prefix-length { type uint8; description "Prefix length"; } list paths { description "Paths"; container routing { description "IP routing information"; container next-hop { description "Next Hop"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container next-hop container remote-lfa { description "Remote LFA-FRR backup info"; container remote-p-node-id { description "Remote/P node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-p-node-id container remote-q-node-id { description "Remote/Q node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-q-node-id leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } leaf needs-tldp { type boolean; description "Whether TLDP is needed with remote PQ node"; } leaf has-q-node { type boolean; description "Whether remote LFA path has a Q node associated"; } } // container remote-lfa leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface Name"; } leaf nh-is-overriden { type boolean; description "Nexthop is overriden by LDP"; } leaf nexthop-id { type uint32; description "Nexthop Identifier"; } leaf next-hop-table-id { type uint32; description "Table ID for nexthop address"; } leaf flags { type uint32; description "Route path flags"; } leaf load-metric { type uint32; description "Path's load metric for load balancing"; } leaf binding-label { type uint32; description "Binding label obtained via RIB"; } leaf path-id { type uint8; description "path Id"; } leaf bkup-path-id { type uint8; description "Backup path Id"; } leaf path-flags { type Ldp-route-path-flags; description "Routing path flags decoded"; } } // container routing container mpls { description "MPLS information"; container mpls-outgoing-info { description "MPLS nexthop info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // container mpls-outgoing-info container remote-lfa { description "Remote LFA-FRR backup info"; container mpls-outgoing-info { description "Remote LFA MPLS nexthop(s_ info"; list stack { description "Inner label stack info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // list stack } // container mpls-outgoing-info leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } } // container remote-lfa } // container mpls } // list paths } // list forwarding } // container forwardings container bindings-advertise-spec { description "Advertisement Spec (ACL) for LDP Label Infomation Base (LIB)"; container allocation-acl { description "Local label Allocation filter"; leaf has-acl { type boolean; description "Has ACL filter?"; } leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf is-host-route-only { type boolean; description "Host-routes only?"; } } // container allocation-acl list advt-acl { description "Advertisement ACLs"; leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf peer-acl { type string { length "0..64"; } description "Peer ACL"; } } // list advt-acl } // container bindings-advertise-spec container forwarding-summary { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary leaf af-name { type Mpls-ldp-oper-af-name; description "Address Family name"; } } // list af } // container afs container neighbor-briefs { description "The LDP Neighbors (brief)"; list neighbor-brief { description "Brief information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf nsr-state { type Show-nsr-state; description "NSR readiness state"; } leaf up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } list nbr-br-af-info { max-elements 2; description "Neighbor Brief AF Info"; leaf address-family { type Ldp-af; description "Neighbor Brief Address Family"; } leaf num-of-nbr-discovery { type uint32; description "Number of neighbor discovery sources"; } leaf num-of-nbr-addresses { type uint32; description "Number of neighbor addresses"; } leaf num-of-nbr-lbl { type uint32; description "Number of neighbor labels"; } } // list nbr-br-af-info } // list neighbor-brief } // container neighbor-briefs container backoff-parameters { description "The LDP Backoff Parameters"; leaf initial-seconds { type uint32; units "second"; description "Initial backoff value in seconds"; } leaf maximum-seconds { type uint32; units "second"; description "Maximum backoff value in seconds"; } } // container backoff-parameters container backoffs { description "The LDP backoff"; list backoff { description "LDP Backoff Information"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf backoff-seconds { type uint32; units "second"; description "Backoff seconds"; } leaf waiting-seconds { type uint32; units "second"; description "Backoff waiting seconds"; } } // list backoff } // container backoffs container nsr { description "LDP NSR related information"; container nsr-pending { description "LDP NSR Pending related information"; container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container nsr-pending container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container nsr container parameters { description "LDP parameters"; container graceful-restart-information { description "Graceful restart information"; leaf is-graceful-restart-configured { type boolean; description "Is graceful restart configured"; } leaf graceful-restart-reconnect-timeout { type uint32; description "Reconnect timeout value"; } leaf graceful-restart-forwarding-state-hold-time { type uint32; description "Graceful restart forward state hold time"; } } // container graceful-restart-information leaf role-is-active { type boolean; description "Is process role active or standby"; } leaf global-md5-password-enabled { type boolean; description "Global MD5 password enabled"; } leaf protocol-version { type uint32; description "Protocol version"; } leaf router-id { type inet:ipv4-address; description "Router ID"; } leaf keepalive-interval { type uint32; description "Keepalive interval"; } leaf hello-hold-time { type uint32; description "Hello hold time"; } leaf hello-interval { type uint32; description "Hello interval"; } leaf targeted-hello-hold-time { type uint32; description "Targeted hello hold time"; } leaf targeted-hello-interval { type uint32; description "Targeted hello interval"; } leaf session-hold-time { type uint32; description "Session hold time"; } leaf housekeeping-timer-interval { type uint32; description "Housekeeping periodic timer interval"; } leaf le-no-route-timeout { type uint32; description "LIB entry no route timeout"; } leaf ldp-recovery-timeout { type uint32; description "LDP recovery timeout with LSD"; } leaf af-binding-withdraw-delay { type uint32; description "Delay (sec) in Binding Withdrawal for an Address Family"; } leaf max-intf-attached { type uint32; description "Maximum number of LDP enabled attached interfaces"; } leaf max-intf-te { type uint32; description "Maximum number of LDP enabled TE interfaces"; } leaf max-peer { type uint32; description "Maximum number of LDP peers"; } leaf ldp-out-of-mem-state { type uint32; description "LDP Out of memory state"; } leaf nsr-enabled { type boolean; description "TRUE if NSR is enabled"; } leaf nsr-synced { type boolean; description "TRUE if LDP is standby and is NSR Sync-ed with active"; } leaf igp-sync-delay-time-for-interface { type uint32; units "second"; description "Interface IGP sync delay time in seconds"; } leaf igp-sync-delay-time-on-restart { type uint32; units "second"; description "IGP sync delay time on process restart in seconds"; } leaf global-discovery-quick-start-disabled { type boolean; description "Discovery quick-start globally disabled"; } leaf discovery-quick-start-disabled-on-interfaces { type boolean; description "Discovery quick-start disabled on some LDP-enabled interfaces"; } list address-family-parameter { description "Per AF parameters"; container discovery-transport-address { description "Discovery transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container discovery-transport-address leaf address-family { type Ldp-af; description "Address Family"; } leaf null-label { type string; description "Null label"; } leaf label-imp-null-override-acl { type string; description "ACL to override local label to use implicit-null"; } leaf is-accepting-targeted-hellos { type boolean; description "Accepting targeted Hellos"; } leaf targeted-hello-acl { type string; description "Targeted Hello ACL"; } } // list address-family-parameter } // container parameters container issu { description "LDP ISSU related information"; container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container issu container neighbor-capabilities { description "LDP Neighbors Capabilities"; list neighbor-capability { description "Information on capabilities of a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // list neighbor-capability } // container neighbor-capabilities container neighbors { description "The LDP Neighbors"; list neighbor { description "Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container protocol-information { description "Protocol Information"; container ta-graceful-restart-adjacency { description "Graceful restart information"; leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf reconnect-timeout { type uint32; description "Reconnect timeout"; } leaf recovery-time { type uint32; description "Recovery time"; } } // container ta-graceful-restart-adjacency leaf ta-holdtime { type uint32; description "Session holdtime in sec"; } leaf ta-state { type string; description "State"; } leaf ta-pies-sent { type uint32; description "Number of pies sent"; } leaf ta-pies-rcvd { type uint32; description "Number of pies received"; } leaf ta-up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } leaf downstream-on-demand { type boolean; description "Is Label advertisment mode in Downstream On Demand mode or Not"; } } // container protocol-information container tcp-information { description "TCP Information"; container foreign-host { description "Foreign host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container foreign-host container local-host { description "Local host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-host leaf foreign-port { type uint16; description "Foreign port number"; } leaf local-port { type uint16; description "Local port number"; } leaf is-md5-on { type boolean; description "Is MD5 Digest on"; } } // container tcp-information container detailed-information { description "Detailed information with regards to holdtime, KA, inbound filtering, and Session protection"; container capabilities { description "Capabilities sent to and received from neighbor"; list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // container capabilities leaf peer-holdtime { type uint32; units "second"; description "Session holdtime value in seconds from the peer"; } leaf keep-alive-interval { type uint32; units "second"; description "Session keepalive interval in seconds"; } leaf peer-state { type string { length "0..80"; } description "Peer state"; } leaf has-ipv4-inbound { type boolean; description "IPv4 Inbound label filtering present"; } leaf inbound-ipv4acl { type string { length "0..80"; } description "IPv4 Inbound accept ACL"; } leaf has-ipv6-inbound { type boolean; description "IPv6 Inbound label filtering present"; } leaf inbound-ipv6acl { type string { length "0..80"; } description "IPv6 Inbound accept ACL"; } leaf has-ipv4-outbound { type boolean; description "IPv4 Outbound label filtering present"; } leaf outbound-ipv4acl { type string { length "0..80"; } description "IPv4 Outbound advertise ACL"; } leaf has-ipv6-outbound { type boolean; description "IPv6 Outbound label filtering present"; } leaf outbound-ipv6acl { type string { length "0..80"; } description "IPv6 Outbound advertise ACL"; } leaf has-sp { type boolean; description "Session Protection enabled"; } leaf sp-state { type string { length "0..80"; } description "Session Protection state"; } leaf sp-has-acl { type boolean; description "Session protection ACL is present"; } leaf spacl { type string { length "0..80"; } description "Session Protection ACL"; } leaf sp-has-duration { type boolean; description "Session Protection has non-default duration"; } leaf sp-duration { type uint32; units "second"; description "Session protection holdup time duration in seconds"; } leaf spht-running { type boolean; description "Session Protection holdup timer is running"; } leaf spht-remaining { type uint32; units "second"; description "Session Protection holdup time remaining value in seconds"; } leaf nsr-sync-state { type Mgmt-ldp-nsr-peer-sync-state; description "NSR Sync State"; } leaf nsr-last-sync-error { type Mgmt-ldp-nsr-peer-sync-err; description "Last NSR sync error"; } leaf nsr-last-sync-nack-reason { type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; description "Last NSR sync NACK reaston"; } leaf bgp-advertisement-state { type Mgmt-ldp-nbr-bgp-advt-state; description "BGP labelled prefixes advertisement state"; } leaf advertise-bgp-prefixes { type boolean; description "Is BGP labelled prefixes advertised to the neighbor"; } list client { description "Targeted Session clients"; leaf name { type string; description "Client's name"; } } // list client list ipv4-duplicate-address { description "Duplicate IPv4 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv4-duplicate-address list ipv6-duplicate-address { description "Duplicate IPv6 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv6-duplicate-address } // container detailed-information list ldp-nbr-bound-ipv4-address-info { description "Neighbor IPv4 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv4-address-info list ldp-nbr-bound-ipv6-address-info { description "Neighbor IPv6 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv6-address-info list ldp-nbr-ipv4-adj-info { description "Neighbor's IPv4 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv4-adj-info list ldp-nbr-ipv6-adj-info { description "Neighbor's IPv6 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv6-adj-info } // list neighbor } // container neighbors container ldp-id { description "Local LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container ldp-id container statistics { description "The LDP Statistics"; list statistic { description "Statistical Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container message-out { description "Message out count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-out container message-in { description "Message in count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-in leaf iccp-enabled { type boolean; description "Is session ICCP enabled?"; } } // list statistic } // container statistics } // container default-vrf container forwarding-summary-all { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary-all container bindings-summary-all { description "Aggregate VRF counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary-all container ato-mdb-table-entries { description "AToM DB Table"; list ato-mdb-table-entry { description "Entries in AToM DB"; leaf peer-id { type inet:ip-address-no-zone; description "Peer ID"; } leaf fe-ctype { type uint32; description "FEC Type"; } leaf pw-id { type uint32; description "PW ID"; } leaf agi-type { type uint32; description "AGI Type"; } leaf agi { type uint32; description "AGI"; } leaf saii-type { type uint32; description "SAII Type"; } leaf saii-local-id { type inet:ip-address-no-zone; description "SAII Local ID"; } leaf saii-global-id { type uint32; description "SAII Global ID"; } leaf saii-prefix { type xr:Hex-integer; description "SAII Prefix"; } leaf saii-ac-id { type uint32; description "SAII AC ID"; } leaf taii-type { type uint32; description "TAII Type"; } leaf taii-local-id { type inet:ip-address-no-zone; description "TAII Local ID"; } leaf taii-global-id { type uint32; description "TAII Global ID"; } leaf taii-prefix { type xr:Hex-integer; description "TAII Prefix"; } leaf taii-ac-id { type uint32; description "TAII AC ID"; } container fec-info { description "Pseudowire FEC information"; container fec128 { when "../fe-ctype = 'fec128'" { description "../FECType = 'FEC128'"; } description "fec128"; leaf pseudowire-id { type uint32; description "Pseudowire ID"; } } // container fec128 container fec129 { when "../fe-ctype = 'fec129'" { description "../FECType = 'FEC129'"; } description "fec129"; container agi { description "AGI"; container agi1 { when "../agi-type = 'rd'" { description "../AGIType = 'RD'"; } description "agi1"; leaf rd { type uint64; description "Route Distinguisher"; } } // container agi1 leaf agi-type { type L2vpn-ldp-pw-agi; description "AGIType"; } } // container agi container saii { description "Source Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container saii container taii { description "Target Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container taii } // container fec129 container fec130 { when "../fe-ctype = 'fec130'" { description "../FECType = 'FEC130'"; } description "fec130"; container agi { description "AGI"; container agi1 { when "../agi-type = 'rd'" { description "../AGIType = 'RD'"; } description "agi1"; leaf rd { type uint64; description "Route Distinguisher"; } } // container agi1 leaf agi-type { type L2vpn-ldp-pw-agi; description "AGIType"; } } // container agi container saii { description "Source Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container saii } // container fec130 leaf fe-ctype { type L2vpn-ldp-pw-fec; description "FECType"; } } // container fec-info leaf peer-id-xr { type inet:ipv4-address; description "Peer ID"; } leaf mapping-tlv-count { type uint32; description "TLV Count from Label Mapping Message"; } leaf notification-tlv-count { type uint32; description "TLV Count from Notification Message"; } } // list ato-mdb-table-entry } // container ato-mdb-table-entries container nsr-summary-all { description "Summary information regarding LDP NSR State"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container nsr-summary-all container summary { description "LDP summary"; container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common leaf number-of-vrf { type uint32; description "Number of configured VRFs (including default)"; } leaf number-of-vrf-oper { type uint32; description "Number of configured operational VRFs (including default)"; } leaf number-of-interfaces { type uint32; description "Number of known interfaces"; } leaf number-of-fwd-ref-interfaces { type uint32; description "Number of Forward Referenc interfaces"; } leaf number-of-autocfg-interfaces { type uint32; description "Number of auto-configured interfaces"; } leaf is-bound-with-sysdb { type boolean; description "Bound status with sysdb"; } leaf is-registered-with-sysdb { type boolean; description "Registration status with Sysdb"; } leaf is-bound-with-rsi { type boolean; description "Bound status with rsi"; } leaf is-bound-with-interface-manager { type boolean; description "Bound status with Interface Manager"; } leaf is-registered-with-interface-manager { type boolean; description "Registration status with Interface Manager"; } leaf is-bound-with-ip-arm { type boolean; description "Bound status with IP Arm"; } leaf is-bound-with-lsd { type boolean; description "Bound status with LSD"; } leaf is-registered-with-lsd { type boolean; description "Registration status with LSD"; } leaf is-bound-with-ipv4-rib { type boolean; description "Bound status with IPv4 RIB"; } leaf is-registered-with-ipv4-rib { type boolean; description "Registration status with IPv4 RIB"; } leaf number-of-ipv4rib-tables { type uint32; description "Total number of ipv4 RIB tables"; } leaf number-of-registered-ipv4rib-tables { type uint32; description "Number of ipv4 RIB tables registered"; } leaf is-bound-with-ipv6-rib { type boolean; description "Bound status with IPv6 RIB"; } leaf is-registered-with-ipv6-rib { type boolean; description "Registration status with IPv6 RIB"; } leaf number-of-ipv6rib-tables { type uint32; description "Total number of ipv6 RIB tables"; } leaf number-of-registered-ipv6rib-tables { type uint32; description "Number of ipv6 RIB tables registered"; } leaf is-bound-with-atom { type boolean; description "Bound status with L2VPN ATOM"; } leaf is-bound-with-nsr-mate { type boolean; description "Bound status with NSR Mate"; } leaf is-nsr-configured { type boolean; description "NSR configured"; } leaf is-mldp-registered { type boolean; description "mLDP registration status"; } } // container summary container vrfs { description "VRF specific operational data"; list vrf { key "vrf-name"; description "Operational data for given VRF"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF Name"; } container graceful-restart { description "LDP Graceful Restart info"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-forwarding-state-hold-timer-running { type boolean; description "Is graceful restart forwarding state hold timer running"; } leaf forwarding-state-hold-timer-remaining-seconds { type uint32; units "second"; description "Forwarding state hold timer remaining time in seconds"; } list graceful-restartable-neighbor { description "Vector of graceful restart neighbor information"; container gr-peer { description "GR peer LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container gr-peer leaf connect-count { type uint32; description "ConnectCount"; } leaf is-neighbor-up { type boolean; description "Is neighbor up"; } leaf is-liveness-timer-running { type boolean; description "Is liveness timer running"; } leaf liveness-timer-remaining-seconds { type uint32; description "Remaining time from liveness timer"; } leaf is-recovery-timer-running { type boolean; description "Is recovery timer running"; } leaf recovery-timer-remaining-seconds { type uint32; description "Recovery timer remining time"; } leaf down-nbr-flap-count { type uint8; description "Count of back2back flaps"; } leaf down-nbr-flags { type uint32; description "Flags"; } leaf down-nbr-down-reason { type uint32; description "Session down reason code"; } list down-nbr-interface { description "Interfaces bound to GR down Nbr"; leaf address-family { type Ldp-af-id; description "Interface adj Address Family"; } leaf interface-handle { type xr:Interface-name; description "Interfaces handle"; } } // list down-nbr-interface list down-nbr-address { description "Addresses bound to GR down Nbr"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // list down-nbr-address } // list graceful-restartable-neighbor } // container graceful-restart container capabilities { description "LDP capability database information"; list capability { key "capability-type"; description "Information on LDP capability"; leaf capability-type { type uint32; description "The capability type (IANA assigned)"; } container capability { description "Capability information"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // container capability leaf capability-owner { type string; description "Capability owner"; } } // list capability } // container capabilities container summary { description "LDP VRF summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common } // container summary container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container interface-summary { description "IPv4 interface summary information"; leaf known-ip-interface-count { type uint32; description "Number of known IP Interfaces"; } leaf known-ip-interface-ldp-enabled { type uint32; description "Number of known IP Interfaces with LDP Enabled"; } leaf ldp-configured-attached-interface { type uint32; description "Number of attached interfaces configured in LDP"; } leaf ldp-configured-te-interface { type uint32; description "Number of TE tunnel interfaces configured in LDP"; } leaf forward-references { type uint32; description "Number of forward referenced interfaces"; } leaf auto-config-disabled { type uint32; description "Autoconfigure disabled"; } leaf auto-config { type uint32; description "Auto-configured interfaces"; } leaf auto-config-forward-reference-interfaces { type uint32; description "Auto-configured forward references"; } } // container interface-summary container bindings { description "The LDP Bindings"; list binding { key "prefix"; description "Binding Information"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr leaf prefix-length { type uint8; description "Prefix Length"; } leaf local-label { type uint32; description "Local label"; } leaf le-local-binding-revision { type uint32; description "Local Binding revision"; } leaf le-local-label-state { type Local-label-state; description "Local label state"; } leaf is-no-route { type boolean; description "No route"; } leaf label-oor { type boolean; description "Label space depletion OOR"; } leaf advertise-prefix-acl { type string; description "Advertise Prerfix ACL"; } leaf advertise-tsr-acl { type string; description "Advertise TSR ACL"; } leaf config-enforced-local-label-value { type boolean; description "Config/User enforced local label value"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } list remote-binding { description "Remote binding"; container assigning-peer-ldp-ident { description "Assigning peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container assigning-peer-ldp-ident leaf remote-label { type uint32; description "Remote Label"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } } // list remote-binding list peers-advertised-to { description "Peers this entry is advertised to"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-advertised-to list peers-acked { description "Peers that have ACKed this entry"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-acked } // list binding } // container bindings container igp { description "LDP IGP related information"; container syncs { description "LDP IGP Sync related information"; list sync { key "interface-name"; description "LDP-IGP Synchronization related information for an interface"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface-name-xr { type string; description "Interface name"; } leaf igp-sync-state { type Ldp-igp-sync-state; description "IGP Sync state"; } leaf igp-sync-delay { type uint32; units "second"; description "IGP sync delay in seconds"; } leaf is-delay-timer-running { type boolean; description "Is sync delay timer running"; } leaf delay-timer-remaining { type uint32; units "second"; description "Remaining timer (seconds) till expiry of sync delay timer"; } leaf igp-sync-down-reason { type Ldp-igp-sync-down-reason; description "Reason IGP Sync Not Achieved"; } list peers { description "Interface Peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-gr-enabled { type boolean; description "Is GR enabled session"; } } // list peers list gr-only-peer { description "Interface GR-only reachable peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-chkpt-created { type boolean; description "Is created due to checkpointing"; } } // list gr-only-peer } // list sync } // container syncs container sync-delay-restart { description "LDP-IGP Synchronization Delay related information"; leaf configured { type boolean; description "Is restart delay configured"; } leaf delay-secs { type uint32; description "Delay time"; } leaf timer-running { type boolean; description "Is restart delay timer running"; } leaf remaining-secs { type uint32; description "Delay timer remaining time"; } } // container sync-delay-restart } // container igp container bindings-summary { description "Counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary container interfaces { description "LDP Interface related information"; list interface { key "interface-name"; description "IPv4 interface information"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf ldp-enabled { type boolean; description "LDP enabled"; } leaf is-im-stale { type boolean; description "Is IM information stale"; } leaf ldp-config-mode { type boolean; description "LDP config mode"; } leaf ldp-autoconfig-disable { type boolean; description "LDP autoconfig disable"; } list te-mesh-grp { description "TE tunnel mesh-group"; leaf ldp-te-mesh-group-all-cfgd { type boolean; description "LDP has enabled all TE mesh-groups"; } leaf ldp-mesh-group-enabled { type boolean; description "LDP has enabled this TE mesh-group"; } leaf te-mesh-group-id { type uint32; description "TE tunnel Mesh Group ID"; } } // list te-mesh-grp list auto-config { description "Auto config"; leaf tuple { type string; description "Tuple"; } } // list auto-config } // list interface } // container interfaces container discovery { description "The LDP Discovery"; container link-hellos { description "The LDP Discovery link"; list link-hello { key "interface-name"; description "Information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } list hello-information { description "LDP hello info"; container neighbor-src-address { description "Neighbor source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-src-address container neighbor-transport-address { description "Neighbor transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-transport-address container target { description "Target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf is-no-route { type boolean; description "Is route valid"; } leaf hold-time { type uint32; units "second"; description "Session hold time in seconds"; } leaf local-hold-time { type uint32; units "second"; description "Local hold time in seconds"; } leaf neighbor-hold-time { type uint32; units "second"; description "Neighbor hold time in seconds"; } leaf disc-expiry { type uint32; description "Discovery expiry time in sec"; } leaf is-targeted { type boolean; description "Is session a targeted session"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list hello-information list discovery-link-af { max-elements 2; description "LDP hello AF info"; container local-src-address { description "Local source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-src-address container local-transport-address { description "Local transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-transport-address leaf interval { type uint32; description "Hello interval in sec"; } } // list discovery-link-af } // list link-hello } // container link-hellos container summary { description "Summarized information on LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container summary container targeted-hellos { description "The LDP Discovery Targeted"; list targeted-hello { description "Information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container dhcb-local-address { description "DHCB local address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-local-address container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf state { type Dhcb-state; description "Targeted hello state"; } leaf adjacency-ldp-identifier { type string; description "Adjacency LDP Identifier"; } leaf interval { type uint32; description "Hello interval in sec"; } leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf hold-time { type uint32; description "Targeted hello hold time"; } leaf local-hold-time { type uint32; description "Local hold time"; } leaf neighbor-hold-time { type uint32; description "Neighbor hold time"; } leaf disc-expiry { type uint32; description "Discovery expiry time in msec"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list targeted-hello } // container targeted-hellos container brief { description "Brief information on LDP discovery"; container link-hello-briefs { description "The LDP Discovery link brief information"; list link-hello-brief { key "interface-name"; description "Brief information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Discovery Brief Address Family"; } leaf address-family-set { type Ldp-af; description "Discovery Brief Address Family Set"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list link-hello-brief } // container link-hello-briefs container targeted-hello-briefs { description "The LDP Discovery Targeted brief information"; list targeted-hello-brief { description "Brief information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf address-family { type Ldp-af; description "Targeted Discovery Address Family"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list targeted-hello-brief } // container targeted-hello-briefs } // container brief container stats { description "The LDP Discovery Statistics"; list stat { description "Information on LDP discovery statistics"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf adjacency-group-up-time { type uint32; units "second"; description "Adjacency group up time in seconds"; } leaf tcp-open-count { type uint32; description "Count of attempted TCP opens"; } leaf tcp-arb-chg-count { type uint32; description "Count of changes in TCP arbitration"; } leaf tcp-role { type uint32; description "TCP Role"; } } // list stat } // container stats } // container discovery container forwardings { description "The LDP Forwarding rewrites"; list forwarding { key "prefix"; description "Information on a particular LDP forwarding rewrite"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr container route { description "Route"; container routing { description "IP routing information"; leaf version { type uint32; description "Route RIB ersion"; } leaf priority { type uint8; description "Route priority"; } leaf source { type uint16; description "Route source protol Id"; } leaf type { type uint16; description "Route type"; } leaf flags { type uint32; description "Route RIB flags"; } leaf metric { type uint32; description "Route metric"; } leaf is-local-vrf-leaked { type boolean; description "Is route leaked across local VRFs?"; } leaf routing-update-count { type uint32; description "Number of routing updates"; } leaf routing-update-timestamp { type uint64; description "Last Routing update nanosec timestamp"; } leaf routing-update-age { type uint64; description "Last Routing update nanosec age"; } leaf sr-local-label { type uint32; description "SR Local-label"; } } // container routing container mpls { description "MPLS information"; leaf local-label { type uint32; description "Local label"; } leaf forwarding-update-count { type uint32; description "Number of forwarding updates"; } leaf forwarding-update-timestamp { type uint64; description "Last Forwarding update nanosec timestamp"; } leaf forwarding-update-age { type uint64; description "Last Forwarding update nanosec age"; } } // container mpls } // container route leaf table-id { type uint32; description "Table ID associated with IP prefix"; } leaf prefix-length { type uint8; description "Prefix length"; } list paths { description "Paths"; container routing { description "IP routing information"; container next-hop { description "Next Hop"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container next-hop container remote-lfa { description "Remote LFA-FRR backup info"; container remote-p-node-id { description "Remote/P node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-p-node-id container remote-q-node-id { description "Remote/Q node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-q-node-id leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } leaf needs-tldp { type boolean; description "Whether TLDP is needed with remote PQ node"; } leaf has-q-node { type boolean; description "Whether remote LFA path has a Q node associated"; } } // container remote-lfa leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface Name"; } leaf nh-is-overriden { type boolean; description "Nexthop is overriden by LDP"; } leaf nexthop-id { type uint32; description "Nexthop Identifier"; } leaf next-hop-table-id { type uint32; description "Table ID for nexthop address"; } leaf flags { type uint32; description "Route path flags"; } leaf load-metric { type uint32; description "Path's load metric for load balancing"; } leaf binding-label { type uint32; description "Binding label obtained via RIB"; } leaf path-id { type uint8; description "path Id"; } leaf bkup-path-id { type uint8; description "Backup path Id"; } leaf path-flags { type Ldp-route-path-flags; description "Routing path flags decoded"; } } // container routing container mpls { description "MPLS information"; container mpls-outgoing-info { description "MPLS nexthop info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // container mpls-outgoing-info container remote-lfa { description "Remote LFA-FRR backup info"; container mpls-outgoing-info { description "Remote LFA MPLS nexthop(s_ info"; list stack { description "Inner label stack info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // list stack } // container mpls-outgoing-info leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } } // container remote-lfa } // container mpls } // list paths } // list forwarding } // container forwardings container bindings-advertise-spec { description "Advertisement Spec (ACL) for LDP Label Infomation Base (LIB)"; container allocation-acl { description "Local label Allocation filter"; leaf has-acl { type boolean; description "Has ACL filter?"; } leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf is-host-route-only { type boolean; description "Host-routes only?"; } } // container allocation-acl list advt-acl { description "Advertisement ACLs"; leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf peer-acl { type string { length "0..64"; } description "Peer ACL"; } } // list advt-acl } // container bindings-advertise-spec container forwarding-summary { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary leaf af-name { type Mpls-ldp-oper-af-name; description "Address Family name"; } } // list af } // container afs container neighbor-briefs { description "The LDP Neighbors (brief)"; list neighbor-brief { description "Brief information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf nsr-state { type Show-nsr-state; description "NSR readiness state"; } leaf up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } list nbr-br-af-info { max-elements 2; description "Neighbor Brief AF Info"; leaf address-family { type Ldp-af; description "Neighbor Brief Address Family"; } leaf num-of-nbr-discovery { type uint32; description "Number of neighbor discovery sources"; } leaf num-of-nbr-addresses { type uint32; description "Number of neighbor addresses"; } leaf num-of-nbr-lbl { type uint32; description "Number of neighbor labels"; } } // list nbr-br-af-info } // list neighbor-brief } // container neighbor-briefs container backoff-parameters { description "The LDP Backoff Parameters"; leaf initial-seconds { type uint32; units "second"; description "Initial backoff value in seconds"; } leaf maximum-seconds { type uint32; units "second"; description "Maximum backoff value in seconds"; } } // container backoff-parameters container backoffs { description "The LDP backoff"; list backoff { description "LDP Backoff Information"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf backoff-seconds { type uint32; units "second"; description "Backoff seconds"; } leaf waiting-seconds { type uint32; units "second"; description "Backoff waiting seconds"; } } // list backoff } // container backoffs container nsr { description "LDP NSR related information"; container nsr-pending { description "LDP NSR Pending related information"; container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container nsr-pending container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container nsr container parameters { description "LDP parameters"; container graceful-restart-information { description "Graceful restart information"; leaf is-graceful-restart-configured { type boolean; description "Is graceful restart configured"; } leaf graceful-restart-reconnect-timeout { type uint32; description "Reconnect timeout value"; } leaf graceful-restart-forwarding-state-hold-time { type uint32; description "Graceful restart forward state hold time"; } } // container graceful-restart-information leaf role-is-active { type boolean; description "Is process role active or standby"; } leaf global-md5-password-enabled { type boolean; description "Global MD5 password enabled"; } leaf protocol-version { type uint32; description "Protocol version"; } leaf router-id { type inet:ipv4-address; description "Router ID"; } leaf keepalive-interval { type uint32; description "Keepalive interval"; } leaf hello-hold-time { type uint32; description "Hello hold time"; } leaf hello-interval { type uint32; description "Hello interval"; } leaf targeted-hello-hold-time { type uint32; description "Targeted hello hold time"; } leaf targeted-hello-interval { type uint32; description "Targeted hello interval"; } leaf session-hold-time { type uint32; description "Session hold time"; } leaf housekeeping-timer-interval { type uint32; description "Housekeeping periodic timer interval"; } leaf le-no-route-timeout { type uint32; description "LIB entry no route timeout"; } leaf ldp-recovery-timeout { type uint32; description "LDP recovery timeout with LSD"; } leaf af-binding-withdraw-delay { type uint32; description "Delay (sec) in Binding Withdrawal for an Address Family"; } leaf max-intf-attached { type uint32; description "Maximum number of LDP enabled attached interfaces"; } leaf max-intf-te { type uint32; description "Maximum number of LDP enabled TE interfaces"; } leaf max-peer { type uint32; description "Maximum number of LDP peers"; } leaf ldp-out-of-mem-state { type uint32; description "LDP Out of memory state"; } leaf nsr-enabled { type boolean; description "TRUE if NSR is enabled"; } leaf nsr-synced { type boolean; description "TRUE if LDP is standby and is NSR Sync-ed with active"; } leaf igp-sync-delay-time-for-interface { type uint32; units "second"; description "Interface IGP sync delay time in seconds"; } leaf igp-sync-delay-time-on-restart { type uint32; units "second"; description "IGP sync delay time on process restart in seconds"; } leaf global-discovery-quick-start-disabled { type boolean; description "Discovery quick-start globally disabled"; } leaf discovery-quick-start-disabled-on-interfaces { type boolean; description "Discovery quick-start disabled on some LDP-enabled interfaces"; } list address-family-parameter { description "Per AF parameters"; container discovery-transport-address { description "Discovery transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container discovery-transport-address leaf address-family { type Ldp-af; description "Address Family"; } leaf null-label { type string; description "Null label"; } leaf label-imp-null-override-acl { type string; description "ACL to override local label to use implicit-null"; } leaf is-accepting-targeted-hellos { type boolean; description "Accepting targeted Hellos"; } leaf targeted-hello-acl { type string; description "Targeted Hello ACL"; } } // list address-family-parameter } // container parameters container issu { description "LDP ISSU related information"; container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container issu container neighbor-capabilities { description "LDP Neighbors Capabilities"; list neighbor-capability { description "Information on capabilities of a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // list neighbor-capability } // container neighbor-capabilities container neighbors { description "The LDP Neighbors"; list neighbor { description "Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container protocol-information { description "Protocol Information"; container ta-graceful-restart-adjacency { description "Graceful restart information"; leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf reconnect-timeout { type uint32; description "Reconnect timeout"; } leaf recovery-time { type uint32; description "Recovery time"; } } // container ta-graceful-restart-adjacency leaf ta-holdtime { type uint32; description "Session holdtime in sec"; } leaf ta-state { type string; description "State"; } leaf ta-pies-sent { type uint32; description "Number of pies sent"; } leaf ta-pies-rcvd { type uint32; description "Number of pies received"; } leaf ta-up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } leaf downstream-on-demand { type boolean; description "Is Label advertisment mode in Downstream On Demand mode or Not"; } } // container protocol-information container tcp-information { description "TCP Information"; container foreign-host { description "Foreign host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container foreign-host container local-host { description "Local host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-host leaf foreign-port { type uint16; description "Foreign port number"; } leaf local-port { type uint16; description "Local port number"; } leaf is-md5-on { type boolean; description "Is MD5 Digest on"; } } // container tcp-information container detailed-information { description "Detailed information with regards to holdtime, KA, inbound filtering, and Session protection"; container capabilities { description "Capabilities sent to and received from neighbor"; list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // container capabilities leaf peer-holdtime { type uint32; units "second"; description "Session holdtime value in seconds from the peer"; } leaf keep-alive-interval { type uint32; units "second"; description "Session keepalive interval in seconds"; } leaf peer-state { type string { length "0..80"; } description "Peer state"; } leaf has-ipv4-inbound { type boolean; description "IPv4 Inbound label filtering present"; } leaf inbound-ipv4acl { type string { length "0..80"; } description "IPv4 Inbound accept ACL"; } leaf has-ipv6-inbound { type boolean; description "IPv6 Inbound label filtering present"; } leaf inbound-ipv6acl { type string { length "0..80"; } description "IPv6 Inbound accept ACL"; } leaf has-ipv4-outbound { type boolean; description "IPv4 Outbound label filtering present"; } leaf outbound-ipv4acl { type string { length "0..80"; } description "IPv4 Outbound advertise ACL"; } leaf has-ipv6-outbound { type boolean; description "IPv6 Outbound label filtering present"; } leaf outbound-ipv6acl { type string { length "0..80"; } description "IPv6 Outbound advertise ACL"; } leaf has-sp { type boolean; description "Session Protection enabled"; } leaf sp-state { type string { length "0..80"; } description "Session Protection state"; } leaf sp-has-acl { type boolean; description "Session protection ACL is present"; } leaf spacl { type string { length "0..80"; } description "Session Protection ACL"; } leaf sp-has-duration { type boolean; description "Session Protection has non-default duration"; } leaf sp-duration { type uint32; units "second"; description "Session protection holdup time duration in seconds"; } leaf spht-running { type boolean; description "Session Protection holdup timer is running"; } leaf spht-remaining { type uint32; units "second"; description "Session Protection holdup time remaining value in seconds"; } leaf nsr-sync-state { type Mgmt-ldp-nsr-peer-sync-state; description "NSR Sync State"; } leaf nsr-last-sync-error { type Mgmt-ldp-nsr-peer-sync-err; description "Last NSR sync error"; } leaf nsr-last-sync-nack-reason { type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; description "Last NSR sync NACK reaston"; } leaf bgp-advertisement-state { type Mgmt-ldp-nbr-bgp-advt-state; description "BGP labelled prefixes advertisement state"; } leaf advertise-bgp-prefixes { type boolean; description "Is BGP labelled prefixes advertised to the neighbor"; } list client { description "Targeted Session clients"; leaf name { type string; description "Client's name"; } } // list client list ipv4-duplicate-address { description "Duplicate IPv4 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv4-duplicate-address list ipv6-duplicate-address { description "Duplicate IPv6 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv6-duplicate-address } // container detailed-information list ldp-nbr-bound-ipv4-address-info { description "Neighbor IPv4 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv4-address-info list ldp-nbr-bound-ipv6-address-info { description "Neighbor IPv6 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv6-address-info list ldp-nbr-ipv4-adj-info { description "Neighbor's IPv4 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv4-adj-info list ldp-nbr-ipv6-adj-info { description "Neighbor's IPv6 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv6-adj-info } // list neighbor } // container neighbors container ldp-id { description "Local LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container ldp-id container statistics { description "The LDP Statistics"; list statistic { description "Statistical Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container message-out { description "Message out count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-out container message-in { description "Message in count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-in leaf iccp-enabled { type boolean; description "Is session ICCP enabled?"; } } // list statistic } // container statistics } // list vrf } // container vrfs container discovery-summary-all { description "Summary information regarding LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container discovery-summary-all } // container standby container active { description "Active MPLS LDP operational data"; container default-vrf { description "DefaultVRF specific operational data"; container graceful-restart { description "LDP Graceful Restart info"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-forwarding-state-hold-timer-running { type boolean; description "Is graceful restart forwarding state hold timer running"; } leaf forwarding-state-hold-timer-remaining-seconds { type uint32; units "second"; description "Forwarding state hold timer remaining time in seconds"; } list graceful-restartable-neighbor { description "Vector of graceful restart neighbor information"; container gr-peer { description "GR peer LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container gr-peer leaf connect-count { type uint32; description "ConnectCount"; } leaf is-neighbor-up { type boolean; description "Is neighbor up"; } leaf is-liveness-timer-running { type boolean; description "Is liveness timer running"; } leaf liveness-timer-remaining-seconds { type uint32; description "Remaining time from liveness timer"; } leaf is-recovery-timer-running { type boolean; description "Is recovery timer running"; } leaf recovery-timer-remaining-seconds { type uint32; description "Recovery timer remining time"; } leaf down-nbr-flap-count { type uint8; description "Count of back2back flaps"; } leaf down-nbr-flags { type uint32; description "Flags"; } leaf down-nbr-down-reason { type uint32; description "Session down reason code"; } list down-nbr-interface { description "Interfaces bound to GR down Nbr"; leaf address-family { type Ldp-af-id; description "Interface adj Address Family"; } leaf interface-handle { type xr:Interface-name; description "Interfaces handle"; } } // list down-nbr-interface list down-nbr-address { description "Addresses bound to GR down Nbr"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // list down-nbr-address } // list graceful-restartable-neighbor } // container graceful-restart container capabilities { description "LDP capability database information"; list capability { key "capability-type"; description "Information on LDP capability"; leaf capability-type { type uint32; description "The capability type (IANA assigned)"; } container capability { description "Capability information"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // container capability leaf capability-owner { type string; description "Capability owner"; } } // list capability } // container capabilities container summary { description "LDP VRF summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common } // container summary container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container interface-summary { description "IPv4 interface summary information"; leaf known-ip-interface-count { type uint32; description "Number of known IP Interfaces"; } leaf known-ip-interface-ldp-enabled { type uint32; description "Number of known IP Interfaces with LDP Enabled"; } leaf ldp-configured-attached-interface { type uint32; description "Number of attached interfaces configured in LDP"; } leaf ldp-configured-te-interface { type uint32; description "Number of TE tunnel interfaces configured in LDP"; } leaf forward-references { type uint32; description "Number of forward referenced interfaces"; } leaf auto-config-disabled { type uint32; description "Autoconfigure disabled"; } leaf auto-config { type uint32; description "Auto-configured interfaces"; } leaf auto-config-forward-reference-interfaces { type uint32; description "Auto-configured forward references"; } } // container interface-summary container bindings { description "The LDP Bindings"; list binding { key "prefix"; description "Binding Information"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr leaf prefix-length { type uint8; description "Prefix Length"; } leaf local-label { type uint32; description "Local label"; } leaf le-local-binding-revision { type uint32; description "Local Binding revision"; } leaf le-local-label-state { type Local-label-state; description "Local label state"; } leaf is-no-route { type boolean; description "No route"; } leaf label-oor { type boolean; description "Label space depletion OOR"; } leaf advertise-prefix-acl { type string; description "Advertise Prerfix ACL"; } leaf advertise-tsr-acl { type string; description "Advertise TSR ACL"; } leaf config-enforced-local-label-value { type boolean; description "Config/User enforced local label value"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } list remote-binding { description "Remote binding"; container assigning-peer-ldp-ident { description "Assigning peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container assigning-peer-ldp-ident leaf remote-label { type uint32; description "Remote Label"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } } // list remote-binding list peers-advertised-to { description "Peers this entry is advertised to"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-advertised-to list peers-acked { description "Peers that have ACKed this entry"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-acked } // list binding } // container bindings container igp { description "LDP IGP related information"; container syncs { description "LDP IGP Sync related information"; list sync { key "interface-name"; description "LDP-IGP Synchronization related information for an interface"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface-name-xr { type string; description "Interface name"; } leaf igp-sync-state { type Ldp-igp-sync-state; description "IGP Sync state"; } leaf igp-sync-delay { type uint32; units "second"; description "IGP sync delay in seconds"; } leaf is-delay-timer-running { type boolean; description "Is sync delay timer running"; } leaf delay-timer-remaining { type uint32; units "second"; description "Remaining timer (seconds) till expiry of sync delay timer"; } leaf igp-sync-down-reason { type Ldp-igp-sync-down-reason; description "Reason IGP Sync Not Achieved"; } list peers { description "Interface Peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-gr-enabled { type boolean; description "Is GR enabled session"; } } // list peers list gr-only-peer { description "Interface GR-only reachable peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-chkpt-created { type boolean; description "Is created due to checkpointing"; } } // list gr-only-peer } // list sync } // container syncs container sync-delay-restart { description "LDP-IGP Synchronization Delay related information"; leaf configured { type boolean; description "Is restart delay configured"; } leaf delay-secs { type uint32; description "Delay time"; } leaf timer-running { type boolean; description "Is restart delay timer running"; } leaf remaining-secs { type uint32; description "Delay timer remaining time"; } } // container sync-delay-restart } // container igp container bindings-summary { description "Counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary container interfaces { description "LDP Interface related information"; list interface { key "interface-name"; description "IPv4 interface information"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf ldp-enabled { type boolean; description "LDP enabled"; } leaf is-im-stale { type boolean; description "Is IM information stale"; } leaf ldp-config-mode { type boolean; description "LDP config mode"; } leaf ldp-autoconfig-disable { type boolean; description "LDP autoconfig disable"; } list te-mesh-grp { description "TE tunnel mesh-group"; leaf ldp-te-mesh-group-all-cfgd { type boolean; description "LDP has enabled all TE mesh-groups"; } leaf ldp-mesh-group-enabled { type boolean; description "LDP has enabled this TE mesh-group"; } leaf te-mesh-group-id { type uint32; description "TE tunnel Mesh Group ID"; } } // list te-mesh-grp list auto-config { description "Auto config"; leaf tuple { type string; description "Tuple"; } } // list auto-config } // list interface } // container interfaces container discovery { description "The LDP Discovery"; container link-hellos { description "The LDP Discovery link"; list link-hello { key "interface-name"; description "Information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } list hello-information { description "LDP hello info"; container neighbor-src-address { description "Neighbor source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-src-address container neighbor-transport-address { description "Neighbor transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-transport-address container target { description "Target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf is-no-route { type boolean; description "Is route valid"; } leaf hold-time { type uint32; units "second"; description "Session hold time in seconds"; } leaf local-hold-time { type uint32; units "second"; description "Local hold time in seconds"; } leaf neighbor-hold-time { type uint32; units "second"; description "Neighbor hold time in seconds"; } leaf disc-expiry { type uint32; description "Discovery expiry time in sec"; } leaf is-targeted { type boolean; description "Is session a targeted session"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list hello-information list discovery-link-af { max-elements 2; description "LDP hello AF info"; container local-src-address { description "Local source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-src-address container local-transport-address { description "Local transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-transport-address leaf interval { type uint32; description "Hello interval in sec"; } } // list discovery-link-af } // list link-hello } // container link-hellos container summary { description "Summarized information on LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container summary container targeted-hellos { description "The LDP Discovery Targeted"; list targeted-hello { description "Information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container dhcb-local-address { description "DHCB local address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-local-address container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf state { type Dhcb-state; description "Targeted hello state"; } leaf adjacency-ldp-identifier { type string; description "Adjacency LDP Identifier"; } leaf interval { type uint32; description "Hello interval in sec"; } leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf hold-time { type uint32; description "Targeted hello hold time"; } leaf local-hold-time { type uint32; description "Local hold time"; } leaf neighbor-hold-time { type uint32; description "Neighbor hold time"; } leaf disc-expiry { type uint32; description "Discovery expiry time in msec"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list targeted-hello } // container targeted-hellos container brief { description "Brief information on LDP discovery"; container link-hello-briefs { description "The LDP Discovery link brief information"; list link-hello-brief { key "interface-name"; description "Brief information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Discovery Brief Address Family"; } leaf address-family-set { type Ldp-af; description "Discovery Brief Address Family Set"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list link-hello-brief } // container link-hello-briefs container targeted-hello-briefs { description "The LDP Discovery Targeted brief information"; list targeted-hello-brief { description "Brief information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf address-family { type Ldp-af; description "Targeted Discovery Address Family"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list targeted-hello-brief } // container targeted-hello-briefs } // container brief container stats { description "The LDP Discovery Statistics"; list stat { description "Information on LDP discovery statistics"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf adjacency-group-up-time { type uint32; units "second"; description "Adjacency group up time in seconds"; } leaf tcp-open-count { type uint32; description "Count of attempted TCP opens"; } leaf tcp-arb-chg-count { type uint32; description "Count of changes in TCP arbitration"; } leaf tcp-role { type uint32; description "TCP Role"; } } // list stat } // container stats } // container discovery container forwardings { description "The LDP Forwarding rewrites"; list forwarding { key "prefix"; description "Information on a particular LDP forwarding rewrite"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr container route { description "Route"; container routing { description "IP routing information"; leaf version { type uint32; description "Route RIB ersion"; } leaf priority { type uint8; description "Route priority"; } leaf source { type uint16; description "Route source protol Id"; } leaf type { type uint16; description "Route type"; } leaf flags { type uint32; description "Route RIB flags"; } leaf metric { type uint32; description "Route metric"; } leaf is-local-vrf-leaked { type boolean; description "Is route leaked across local VRFs?"; } leaf routing-update-count { type uint32; description "Number of routing updates"; } leaf routing-update-timestamp { type uint64; description "Last Routing update nanosec timestamp"; } leaf routing-update-age { type uint64; description "Last Routing update nanosec age"; } leaf sr-local-label { type uint32; description "SR Local-label"; } } // container routing container mpls { description "MPLS information"; leaf local-label { type uint32; description "Local label"; } leaf forwarding-update-count { type uint32; description "Number of forwarding updates"; } leaf forwarding-update-timestamp { type uint64; description "Last Forwarding update nanosec timestamp"; } leaf forwarding-update-age { type uint64; description "Last Forwarding update nanosec age"; } } // container mpls } // container route leaf table-id { type uint32; description "Table ID associated with IP prefix"; } leaf prefix-length { type uint8; description "Prefix length"; } list paths { description "Paths"; container routing { description "IP routing information"; container next-hop { description "Next Hop"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container next-hop container remote-lfa { description "Remote LFA-FRR backup info"; container remote-p-node-id { description "Remote/P node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-p-node-id container remote-q-node-id { description "Remote/Q node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-q-node-id leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } leaf needs-tldp { type boolean; description "Whether TLDP is needed with remote PQ node"; } leaf has-q-node { type boolean; description "Whether remote LFA path has a Q node associated"; } } // container remote-lfa leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface Name"; } leaf nh-is-overriden { type boolean; description "Nexthop is overriden by LDP"; } leaf nexthop-id { type uint32; description "Nexthop Identifier"; } leaf next-hop-table-id { type uint32; description "Table ID for nexthop address"; } leaf flags { type uint32; description "Route path flags"; } leaf load-metric { type uint32; description "Path's load metric for load balancing"; } leaf binding-label { type uint32; description "Binding label obtained via RIB"; } leaf path-id { type uint8; description "path Id"; } leaf bkup-path-id { type uint8; description "Backup path Id"; } leaf path-flags { type Ldp-route-path-flags; description "Routing path flags decoded"; } } // container routing container mpls { description "MPLS information"; container mpls-outgoing-info { description "MPLS nexthop info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // container mpls-outgoing-info container remote-lfa { description "Remote LFA-FRR backup info"; container mpls-outgoing-info { description "Remote LFA MPLS nexthop(s_ info"; list stack { description "Inner label stack info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // list stack } // container mpls-outgoing-info leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } } // container remote-lfa } // container mpls } // list paths } // list forwarding } // container forwardings container bindings-advertise-spec { description "Advertisement Spec (ACL) for LDP Label Infomation Base (LIB)"; container allocation-acl { description "Local label Allocation filter"; leaf has-acl { type boolean; description "Has ACL filter?"; } leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf is-host-route-only { type boolean; description "Host-routes only?"; } } // container allocation-acl list advt-acl { description "Advertisement ACLs"; leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf peer-acl { type string { length "0..64"; } description "Peer ACL"; } } // list advt-acl } // container bindings-advertise-spec container forwarding-summary { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary leaf af-name { type Mpls-ldp-oper-af-name; description "Address Family name"; } } // list af } // container afs container neighbor-briefs { description "The LDP Neighbors (brief)"; list neighbor-brief { description "Brief information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf nsr-state { type Show-nsr-state; description "NSR readiness state"; } leaf up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } list nbr-br-af-info { max-elements 2; description "Neighbor Brief AF Info"; leaf address-family { type Ldp-af; description "Neighbor Brief Address Family"; } leaf num-of-nbr-discovery { type uint32; description "Number of neighbor discovery sources"; } leaf num-of-nbr-addresses { type uint32; description "Number of neighbor addresses"; } leaf num-of-nbr-lbl { type uint32; description "Number of neighbor labels"; } } // list nbr-br-af-info } // list neighbor-brief } // container neighbor-briefs container backoff-parameters { description "The LDP Backoff Parameters"; leaf initial-seconds { type uint32; units "second"; description "Initial backoff value in seconds"; } leaf maximum-seconds { type uint32; units "second"; description "Maximum backoff value in seconds"; } } // container backoff-parameters container backoffs { description "The LDP backoff"; list backoff { description "LDP Backoff Information"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf backoff-seconds { type uint32; units "second"; description "Backoff seconds"; } leaf waiting-seconds { type uint32; units "second"; description "Backoff waiting seconds"; } } // list backoff } // container backoffs container nsr { description "LDP NSR related information"; container nsr-pending { description "LDP NSR Pending related information"; container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container nsr-pending container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container nsr container parameters { description "LDP parameters"; container graceful-restart-information { description "Graceful restart information"; leaf is-graceful-restart-configured { type boolean; description "Is graceful restart configured"; } leaf graceful-restart-reconnect-timeout { type uint32; description "Reconnect timeout value"; } leaf graceful-restart-forwarding-state-hold-time { type uint32; description "Graceful restart forward state hold time"; } } // container graceful-restart-information leaf role-is-active { type boolean; description "Is process role active or standby"; } leaf global-md5-password-enabled { type boolean; description "Global MD5 password enabled"; } leaf protocol-version { type uint32; description "Protocol version"; } leaf router-id { type inet:ipv4-address; description "Router ID"; } leaf keepalive-interval { type uint32; description "Keepalive interval"; } leaf hello-hold-time { type uint32; description "Hello hold time"; } leaf hello-interval { type uint32; description "Hello interval"; } leaf targeted-hello-hold-time { type uint32; description "Targeted hello hold time"; } leaf targeted-hello-interval { type uint32; description "Targeted hello interval"; } leaf session-hold-time { type uint32; description "Session hold time"; } leaf housekeeping-timer-interval { type uint32; description "Housekeeping periodic timer interval"; } leaf le-no-route-timeout { type uint32; description "LIB entry no route timeout"; } leaf ldp-recovery-timeout { type uint32; description "LDP recovery timeout with LSD"; } leaf af-binding-withdraw-delay { type uint32; description "Delay (sec) in Binding Withdrawal for an Address Family"; } leaf max-intf-attached { type uint32; description "Maximum number of LDP enabled attached interfaces"; } leaf max-intf-te { type uint32; description "Maximum number of LDP enabled TE interfaces"; } leaf max-peer { type uint32; description "Maximum number of LDP peers"; } leaf ldp-out-of-mem-state { type uint32; description "LDP Out of memory state"; } leaf nsr-enabled { type boolean; description "TRUE if NSR is enabled"; } leaf nsr-synced { type boolean; description "TRUE if LDP is standby and is NSR Sync-ed with active"; } leaf igp-sync-delay-time-for-interface { type uint32; units "second"; description "Interface IGP sync delay time in seconds"; } leaf igp-sync-delay-time-on-restart { type uint32; units "second"; description "IGP sync delay time on process restart in seconds"; } leaf global-discovery-quick-start-disabled { type boolean; description "Discovery quick-start globally disabled"; } leaf discovery-quick-start-disabled-on-interfaces { type boolean; description "Discovery quick-start disabled on some LDP-enabled interfaces"; } list address-family-parameter { description "Per AF parameters"; container discovery-transport-address { description "Discovery transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container discovery-transport-address leaf address-family { type Ldp-af; description "Address Family"; } leaf null-label { type string; description "Null label"; } leaf label-imp-null-override-acl { type string; description "ACL to override local label to use implicit-null"; } leaf is-accepting-targeted-hellos { type boolean; description "Accepting targeted Hellos"; } leaf targeted-hello-acl { type string; description "Targeted Hello ACL"; } } // list address-family-parameter } // container parameters container issu { description "LDP ISSU related information"; container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container issu container neighbor-capabilities { description "LDP Neighbors Capabilities"; list neighbor-capability { description "Information on capabilities of a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // list neighbor-capability } // container neighbor-capabilities container neighbors { description "The LDP Neighbors"; list neighbor { description "Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container protocol-information { description "Protocol Information"; container ta-graceful-restart-adjacency { description "Graceful restart information"; leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf reconnect-timeout { type uint32; description "Reconnect timeout"; } leaf recovery-time { type uint32; description "Recovery time"; } } // container ta-graceful-restart-adjacency leaf ta-holdtime { type uint32; description "Session holdtime in sec"; } leaf ta-state { type string; description "State"; } leaf ta-pies-sent { type uint32; description "Number of pies sent"; } leaf ta-pies-rcvd { type uint32; description "Number of pies received"; } leaf ta-up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } leaf downstream-on-demand { type boolean; description "Is Label advertisment mode in Downstream On Demand mode or Not"; } } // container protocol-information container tcp-information { description "TCP Information"; container foreign-host { description "Foreign host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container foreign-host container local-host { description "Local host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-host leaf foreign-port { type uint16; description "Foreign port number"; } leaf local-port { type uint16; description "Local port number"; } leaf is-md5-on { type boolean; description "Is MD5 Digest on"; } } // container tcp-information container detailed-information { description "Detailed information with regards to holdtime, KA, inbound filtering, and Session protection"; container capabilities { description "Capabilities sent to and received from neighbor"; list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // container capabilities leaf peer-holdtime { type uint32; units "second"; description "Session holdtime value in seconds from the peer"; } leaf keep-alive-interval { type uint32; units "second"; description "Session keepalive interval in seconds"; } leaf peer-state { type string { length "0..80"; } description "Peer state"; } leaf has-ipv4-inbound { type boolean; description "IPv4 Inbound label filtering present"; } leaf inbound-ipv4acl { type string { length "0..80"; } description "IPv4 Inbound accept ACL"; } leaf has-ipv6-inbound { type boolean; description "IPv6 Inbound label filtering present"; } leaf inbound-ipv6acl { type string { length "0..80"; } description "IPv6 Inbound accept ACL"; } leaf has-ipv4-outbound { type boolean; description "IPv4 Outbound label filtering present"; } leaf outbound-ipv4acl { type string { length "0..80"; } description "IPv4 Outbound advertise ACL"; } leaf has-ipv6-outbound { type boolean; description "IPv6 Outbound label filtering present"; } leaf outbound-ipv6acl { type string { length "0..80"; } description "IPv6 Outbound advertise ACL"; } leaf has-sp { type boolean; description "Session Protection enabled"; } leaf sp-state { type string { length "0..80"; } description "Session Protection state"; } leaf sp-has-acl { type boolean; description "Session protection ACL is present"; } leaf spacl { type string { length "0..80"; } description "Session Protection ACL"; } leaf sp-has-duration { type boolean; description "Session Protection has non-default duration"; } leaf sp-duration { type uint32; units "second"; description "Session protection holdup time duration in seconds"; } leaf spht-running { type boolean; description "Session Protection holdup timer is running"; } leaf spht-remaining { type uint32; units "second"; description "Session Protection holdup time remaining value in seconds"; } leaf nsr-sync-state { type Mgmt-ldp-nsr-peer-sync-state; description "NSR Sync State"; } leaf nsr-last-sync-error { type Mgmt-ldp-nsr-peer-sync-err; description "Last NSR sync error"; } leaf nsr-last-sync-nack-reason { type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; description "Last NSR sync NACK reaston"; } leaf bgp-advertisement-state { type Mgmt-ldp-nbr-bgp-advt-state; description "BGP labelled prefixes advertisement state"; } leaf advertise-bgp-prefixes { type boolean; description "Is BGP labelled prefixes advertised to the neighbor"; } list client { description "Targeted Session clients"; leaf name { type string; description "Client's name"; } } // list client list ipv4-duplicate-address { description "Duplicate IPv4 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv4-duplicate-address list ipv6-duplicate-address { description "Duplicate IPv6 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv6-duplicate-address } // container detailed-information list ldp-nbr-bound-ipv4-address-info { description "Neighbor IPv4 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv4-address-info list ldp-nbr-bound-ipv6-address-info { description "Neighbor IPv6 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv6-address-info list ldp-nbr-ipv4-adj-info { description "Neighbor's IPv4 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv4-adj-info list ldp-nbr-ipv6-adj-info { description "Neighbor's IPv6 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv6-adj-info } // list neighbor } // container neighbors container ldp-id { description "Local LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container ldp-id container statistics { description "The LDP Statistics"; list statistic { description "Statistical Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container message-out { description "Message out count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-out container message-in { description "Message in count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-in leaf iccp-enabled { type boolean; description "Is session ICCP enabled?"; } } // list statistic } // container statistics } // container default-vrf container forwarding-summary-all { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary-all container bindings-summary-all { description "Aggregate VRF counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary-all container ato-mdb-table-entries { description "AToM DB Table"; list ato-mdb-table-entry { description "Entries in AToM DB"; leaf peer-id { type inet:ip-address-no-zone; description "Peer ID"; } leaf fe-ctype { type uint32; description "FEC Type"; } leaf pw-id { type uint32; description "PW ID"; } leaf agi-type { type uint32; description "AGI Type"; } leaf agi { type uint32; description "AGI"; } leaf saii-type { type uint32; description "SAII Type"; } leaf saii-local-id { type inet:ip-address-no-zone; description "SAII Local ID"; } leaf saii-global-id { type uint32; description "SAII Global ID"; } leaf saii-prefix { type xr:Hex-integer; description "SAII Prefix"; } leaf saii-ac-id { type uint32; description "SAII AC ID"; } leaf taii-type { type uint32; description "TAII Type"; } leaf taii-local-id { type inet:ip-address-no-zone; description "TAII Local ID"; } leaf taii-global-id { type uint32; description "TAII Global ID"; } leaf taii-prefix { type xr:Hex-integer; description "TAII Prefix"; } leaf taii-ac-id { type uint32; description "TAII AC ID"; } container fec-info { description "Pseudowire FEC information"; container fec128 { when "../fe-ctype = 'fec128'" { description "../FECType = 'FEC128'"; } description "fec128"; leaf pseudowire-id { type uint32; description "Pseudowire ID"; } } // container fec128 container fec129 { when "../fe-ctype = 'fec129'" { description "../FECType = 'FEC129'"; } description "fec129"; container agi { description "AGI"; container agi1 { when "../agi-type = 'rd'" { description "../AGIType = 'RD'"; } description "agi1"; leaf rd { type uint64; description "Route Distinguisher"; } } // container agi1 leaf agi-type { type L2vpn-ldp-pw-agi; description "AGIType"; } } // container agi container saii { description "Source Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container saii container taii { description "Target Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container taii } // container fec129 container fec130 { when "../fe-ctype = 'fec130'" { description "../FECType = 'FEC130'"; } description "fec130"; container agi { description "AGI"; container agi1 { when "../agi-type = 'rd'" { description "../AGIType = 'RD'"; } description "agi1"; leaf rd { type uint64; description "Route Distinguisher"; } } // container agi1 leaf agi-type { type L2vpn-ldp-pw-agi; description "AGIType"; } } // container agi container saii { description "Source Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container saii } // container fec130 leaf fe-ctype { type L2vpn-ldp-pw-fec; description "FECType"; } } // container fec-info leaf peer-id-xr { type inet:ipv4-address; description "Peer ID"; } leaf mapping-tlv-count { type uint32; description "TLV Count from Label Mapping Message"; } leaf notification-tlv-count { type uint32; description "TLV Count from Notification Message"; } } // list ato-mdb-table-entry } // container ato-mdb-table-entries container nsr-summary-all { description "Summary information regarding LDP NSR State"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container nsr-summary-all container summary { description "LDP summary"; container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common leaf number-of-vrf { type uint32; description "Number of configured VRFs (including default)"; } leaf number-of-vrf-oper { type uint32; description "Number of configured operational VRFs (including default)"; } leaf number-of-interfaces { type uint32; description "Number of known interfaces"; } leaf number-of-fwd-ref-interfaces { type uint32; description "Number of Forward Referenc interfaces"; } leaf number-of-autocfg-interfaces { type uint32; description "Number of auto-configured interfaces"; } leaf is-bound-with-sysdb { type boolean; description "Bound status with sysdb"; } leaf is-registered-with-sysdb { type boolean; description "Registration status with Sysdb"; } leaf is-bound-with-rsi { type boolean; description "Bound status with rsi"; } leaf is-bound-with-interface-manager { type boolean; description "Bound status with Interface Manager"; } leaf is-registered-with-interface-manager { type boolean; description "Registration status with Interface Manager"; } leaf is-bound-with-ip-arm { type boolean; description "Bound status with IP Arm"; } leaf is-bound-with-lsd { type boolean; description "Bound status with LSD"; } leaf is-registered-with-lsd { type boolean; description "Registration status with LSD"; } leaf is-bound-with-ipv4-rib { type boolean; description "Bound status with IPv4 RIB"; } leaf is-registered-with-ipv4-rib { type boolean; description "Registration status with IPv4 RIB"; } leaf number-of-ipv4rib-tables { type uint32; description "Total number of ipv4 RIB tables"; } leaf number-of-registered-ipv4rib-tables { type uint32; description "Number of ipv4 RIB tables registered"; } leaf is-bound-with-ipv6-rib { type boolean; description "Bound status with IPv6 RIB"; } leaf is-registered-with-ipv6-rib { type boolean; description "Registration status with IPv6 RIB"; } leaf number-of-ipv6rib-tables { type uint32; description "Total number of ipv6 RIB tables"; } leaf number-of-registered-ipv6rib-tables { type uint32; description "Number of ipv6 RIB tables registered"; } leaf is-bound-with-atom { type boolean; description "Bound status with L2VPN ATOM"; } leaf is-bound-with-nsr-mate { type boolean; description "Bound status with NSR Mate"; } leaf is-nsr-configured { type boolean; description "NSR configured"; } leaf is-mldp-registered { type boolean; description "mLDP registration status"; } } // container summary container vrfs { description "VRF specific operational data"; list vrf { key "vrf-name"; description "Operational data for given VRF"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF Name"; } container graceful-restart { description "LDP Graceful Restart info"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-forwarding-state-hold-timer-running { type boolean; description "Is graceful restart forwarding state hold timer running"; } leaf forwarding-state-hold-timer-remaining-seconds { type uint32; units "second"; description "Forwarding state hold timer remaining time in seconds"; } list graceful-restartable-neighbor { description "Vector of graceful restart neighbor information"; container gr-peer { description "GR peer LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container gr-peer leaf connect-count { type uint32; description "ConnectCount"; } leaf is-neighbor-up { type boolean; description "Is neighbor up"; } leaf is-liveness-timer-running { type boolean; description "Is liveness timer running"; } leaf liveness-timer-remaining-seconds { type uint32; description "Remaining time from liveness timer"; } leaf is-recovery-timer-running { type boolean; description "Is recovery timer running"; } leaf recovery-timer-remaining-seconds { type uint32; description "Recovery timer remining time"; } leaf down-nbr-flap-count { type uint8; description "Count of back2back flaps"; } leaf down-nbr-flags { type uint32; description "Flags"; } leaf down-nbr-down-reason { type uint32; description "Session down reason code"; } list down-nbr-interface { description "Interfaces bound to GR down Nbr"; leaf address-family { type Ldp-af-id; description "Interface adj Address Family"; } leaf interface-handle { type xr:Interface-name; description "Interfaces handle"; } } // list down-nbr-interface list down-nbr-address { description "Addresses bound to GR down Nbr"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // list down-nbr-address } // list graceful-restartable-neighbor } // container graceful-restart container capabilities { description "LDP capability database information"; list capability { key "capability-type"; description "Information on LDP capability"; leaf capability-type { type uint32; description "The capability type (IANA assigned)"; } container capability { description "Capability information"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // container capability leaf capability-owner { type string; description "Capability owner"; } } // list capability } // container capabilities container summary { description "LDP VRF summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common } // container summary container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container interface-summary { description "IPv4 interface summary information"; leaf known-ip-interface-count { type uint32; description "Number of known IP Interfaces"; } leaf known-ip-interface-ldp-enabled { type uint32; description "Number of known IP Interfaces with LDP Enabled"; } leaf ldp-configured-attached-interface { type uint32; description "Number of attached interfaces configured in LDP"; } leaf ldp-configured-te-interface { type uint32; description "Number of TE tunnel interfaces configured in LDP"; } leaf forward-references { type uint32; description "Number of forward referenced interfaces"; } leaf auto-config-disabled { type uint32; description "Autoconfigure disabled"; } leaf auto-config { type uint32; description "Auto-configured interfaces"; } leaf auto-config-forward-reference-interfaces { type uint32; description "Auto-configured forward references"; } } // container interface-summary container bindings { description "The LDP Bindings"; list binding { key "prefix"; description "Binding Information"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr leaf prefix-length { type uint8; description "Prefix Length"; } leaf local-label { type uint32; description "Local label"; } leaf le-local-binding-revision { type uint32; description "Local Binding revision"; } leaf le-local-label-state { type Local-label-state; description "Local label state"; } leaf is-no-route { type boolean; description "No route"; } leaf label-oor { type boolean; description "Label space depletion OOR"; } leaf advertise-prefix-acl { type string; description "Advertise Prerfix ACL"; } leaf advertise-tsr-acl { type string; description "Advertise TSR ACL"; } leaf config-enforced-local-label-value { type boolean; description "Config/User enforced local label value"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } list remote-binding { description "Remote binding"; container assigning-peer-ldp-ident { description "Assigning peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container assigning-peer-ldp-ident leaf remote-label { type uint32; description "Remote Label"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } } // list remote-binding list peers-advertised-to { description "Peers this entry is advertised to"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-advertised-to list peers-acked { description "Peers that have ACKed this entry"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-acked } // list binding } // container bindings container igp { description "LDP IGP related information"; container syncs { description "LDP IGP Sync related information"; list sync { key "interface-name"; description "LDP-IGP Synchronization related information for an interface"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface-name-xr { type string; description "Interface name"; } leaf igp-sync-state { type Ldp-igp-sync-state; description "IGP Sync state"; } leaf igp-sync-delay { type uint32; units "second"; description "IGP sync delay in seconds"; } leaf is-delay-timer-running { type boolean; description "Is sync delay timer running"; } leaf delay-timer-remaining { type uint32; units "second"; description "Remaining timer (seconds) till expiry of sync delay timer"; } leaf igp-sync-down-reason { type Ldp-igp-sync-down-reason; description "Reason IGP Sync Not Achieved"; } list peers { description "Interface Peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-gr-enabled { type boolean; description "Is GR enabled session"; } } // list peers list gr-only-peer { description "Interface GR-only reachable peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-chkpt-created { type boolean; description "Is created due to checkpointing"; } } // list gr-only-peer } // list sync } // container syncs container sync-delay-restart { description "LDP-IGP Synchronization Delay related information"; leaf configured { type boolean; description "Is restart delay configured"; } leaf delay-secs { type uint32; description "Delay time"; } leaf timer-running { type boolean; description "Is restart delay timer running"; } leaf remaining-secs { type uint32; description "Delay timer remaining time"; } } // container sync-delay-restart } // container igp container bindings-summary { description "Counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary container interfaces { description "LDP Interface related information"; list interface { key "interface-name"; description "IPv4 interface information"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf ldp-enabled { type boolean; description "LDP enabled"; } leaf is-im-stale { type boolean; description "Is IM information stale"; } leaf ldp-config-mode { type boolean; description "LDP config mode"; } leaf ldp-autoconfig-disable { type boolean; description "LDP autoconfig disable"; } list te-mesh-grp { description "TE tunnel mesh-group"; leaf ldp-te-mesh-group-all-cfgd { type boolean; description "LDP has enabled all TE mesh-groups"; } leaf ldp-mesh-group-enabled { type boolean; description "LDP has enabled this TE mesh-group"; } leaf te-mesh-group-id { type uint32; description "TE tunnel Mesh Group ID"; } } // list te-mesh-grp list auto-config { description "Auto config"; leaf tuple { type string; description "Tuple"; } } // list auto-config } // list interface } // container interfaces container discovery { description "The LDP Discovery"; container link-hellos { description "The LDP Discovery link"; list link-hello { key "interface-name"; description "Information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } list hello-information { description "LDP hello info"; container neighbor-src-address { description "Neighbor source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-src-address container neighbor-transport-address { description "Neighbor transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-transport-address container target { description "Target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf is-no-route { type boolean; description "Is route valid"; } leaf hold-time { type uint32; units "second"; description "Session hold time in seconds"; } leaf local-hold-time { type uint32; units "second"; description "Local hold time in seconds"; } leaf neighbor-hold-time { type uint32; units "second"; description "Neighbor hold time in seconds"; } leaf disc-expiry { type uint32; description "Discovery expiry time in sec"; } leaf is-targeted { type boolean; description "Is session a targeted session"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list hello-information list discovery-link-af { max-elements 2; description "LDP hello AF info"; container local-src-address { description "Local source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-src-address container local-transport-address { description "Local transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-transport-address leaf interval { type uint32; description "Hello interval in sec"; } } // list discovery-link-af } // list link-hello } // container link-hellos container summary { description "Summarized information on LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container summary container targeted-hellos { description "The LDP Discovery Targeted"; list targeted-hello { description "Information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container dhcb-local-address { description "DHCB local address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-local-address container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf state { type Dhcb-state; description "Targeted hello state"; } leaf adjacency-ldp-identifier { type string; description "Adjacency LDP Identifier"; } leaf interval { type uint32; description "Hello interval in sec"; } leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf hold-time { type uint32; description "Targeted hello hold time"; } leaf local-hold-time { type uint32; description "Local hold time"; } leaf neighbor-hold-time { type uint32; description "Neighbor hold time"; } leaf disc-expiry { type uint32; description "Discovery expiry time in msec"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list targeted-hello } // container targeted-hellos container brief { description "Brief information on LDP discovery"; container link-hello-briefs { description "The LDP Discovery link brief information"; list link-hello-brief { key "interface-name"; description "Brief information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Discovery Brief Address Family"; } leaf address-family-set { type Ldp-af; description "Discovery Brief Address Family Set"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list link-hello-brief } // container link-hello-briefs container targeted-hello-briefs { description "The LDP Discovery Targeted brief information"; list targeted-hello-brief { description "Brief information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf address-family { type Ldp-af; description "Targeted Discovery Address Family"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list targeted-hello-brief } // container targeted-hello-briefs } // container brief container stats { description "The LDP Discovery Statistics"; list stat { description "Information on LDP discovery statistics"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf adjacency-group-up-time { type uint32; units "second"; description "Adjacency group up time in seconds"; } leaf tcp-open-count { type uint32; description "Count of attempted TCP opens"; } leaf tcp-arb-chg-count { type uint32; description "Count of changes in TCP arbitration"; } leaf tcp-role { type uint32; description "TCP Role"; } } // list stat } // container stats } // container discovery container forwardings { description "The LDP Forwarding rewrites"; list forwarding { key "prefix"; description "Information on a particular LDP forwarding rewrite"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr container route { description "Route"; container routing { description "IP routing information"; leaf version { type uint32; description "Route RIB ersion"; } leaf priority { type uint8; description "Route priority"; } leaf source { type uint16; description "Route source protol Id"; } leaf type { type uint16; description "Route type"; } leaf flags { type uint32; description "Route RIB flags"; } leaf metric { type uint32; description "Route metric"; } leaf is-local-vrf-leaked { type boolean; description "Is route leaked across local VRFs?"; } leaf routing-update-count { type uint32; description "Number of routing updates"; } leaf routing-update-timestamp { type uint64; description "Last Routing update nanosec timestamp"; } leaf routing-update-age { type uint64; description "Last Routing update nanosec age"; } leaf sr-local-label { type uint32; description "SR Local-label"; } } // container routing container mpls { description "MPLS information"; leaf local-label { type uint32; description "Local label"; } leaf forwarding-update-count { type uint32; description "Number of forwarding updates"; } leaf forwarding-update-timestamp { type uint64; description "Last Forwarding update nanosec timestamp"; } leaf forwarding-update-age { type uint64; description "Last Forwarding update nanosec age"; } } // container mpls } // container route leaf table-id { type uint32; description "Table ID associated with IP prefix"; } leaf prefix-length { type uint8; description "Prefix length"; } list paths { description "Paths"; container routing { description "IP routing information"; container next-hop { description "Next Hop"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container next-hop container remote-lfa { description "Remote LFA-FRR backup info"; container remote-p-node-id { description "Remote/P node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-p-node-id container remote-q-node-id { description "Remote/Q node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-q-node-id leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } leaf needs-tldp { type boolean; description "Whether TLDP is needed with remote PQ node"; } leaf has-q-node { type boolean; description "Whether remote LFA path has a Q node associated"; } } // container remote-lfa leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface Name"; } leaf nh-is-overriden { type boolean; description "Nexthop is overriden by LDP"; } leaf nexthop-id { type uint32; description "Nexthop Identifier"; } leaf next-hop-table-id { type uint32; description "Table ID for nexthop address"; } leaf flags { type uint32; description "Route path flags"; } leaf load-metric { type uint32; description "Path's load metric for load balancing"; } leaf binding-label { type uint32; description "Binding label obtained via RIB"; } leaf path-id { type uint8; description "path Id"; } leaf bkup-path-id { type uint8; description "Backup path Id"; } leaf path-flags { type Ldp-route-path-flags; description "Routing path flags decoded"; } } // container routing container mpls { description "MPLS information"; container mpls-outgoing-info { description "MPLS nexthop info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // container mpls-outgoing-info container remote-lfa { description "Remote LFA-FRR backup info"; container mpls-outgoing-info { description "Remote LFA MPLS nexthop(s_ info"; list stack { description "Inner label stack info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // list stack } // container mpls-outgoing-info leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } } // container remote-lfa } // container mpls } // list paths } // list forwarding } // container forwardings container bindings-advertise-spec { description "Advertisement Spec (ACL) for LDP Label Infomation Base (LIB)"; container allocation-acl { description "Local label Allocation filter"; leaf has-acl { type boolean; description "Has ACL filter?"; } leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf is-host-route-only { type boolean; description "Host-routes only?"; } } // container allocation-acl list advt-acl { description "Advertisement ACLs"; leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf peer-acl { type string { length "0..64"; } description "Peer ACL"; } } // list advt-acl } // container bindings-advertise-spec container forwarding-summary { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary leaf af-name { type Mpls-ldp-oper-af-name; description "Address Family name"; } } // list af } // container afs container neighbor-briefs { description "The LDP Neighbors (brief)"; list neighbor-brief { description "Brief information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf nsr-state { type Show-nsr-state; description "NSR readiness state"; } leaf up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } list nbr-br-af-info { max-elements 2; description "Neighbor Brief AF Info"; leaf address-family { type Ldp-af; description "Neighbor Brief Address Family"; } leaf num-of-nbr-discovery { type uint32; description "Number of neighbor discovery sources"; } leaf num-of-nbr-addresses { type uint32; description "Number of neighbor addresses"; } leaf num-of-nbr-lbl { type uint32; description "Number of neighbor labels"; } } // list nbr-br-af-info } // list neighbor-brief } // container neighbor-briefs container backoff-parameters { description "The LDP Backoff Parameters"; leaf initial-seconds { type uint32; units "second"; description "Initial backoff value in seconds"; } leaf maximum-seconds { type uint32; units "second"; description "Maximum backoff value in seconds"; } } // container backoff-parameters container backoffs { description "The LDP backoff"; list backoff { description "LDP Backoff Information"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf backoff-seconds { type uint32; units "second"; description "Backoff seconds"; } leaf waiting-seconds { type uint32; units "second"; description "Backoff waiting seconds"; } } // list backoff } // container backoffs container nsr { description "LDP NSR related information"; container nsr-pending { description "LDP NSR Pending related information"; container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container nsr-pending container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container nsr container parameters { description "LDP parameters"; container graceful-restart-information { description "Graceful restart information"; leaf is-graceful-restart-configured { type boolean; description "Is graceful restart configured"; } leaf graceful-restart-reconnect-timeout { type uint32; description "Reconnect timeout value"; } leaf graceful-restart-forwarding-state-hold-time { type uint32; description "Graceful restart forward state hold time"; } } // container graceful-restart-information leaf role-is-active { type boolean; description "Is process role active or standby"; } leaf global-md5-password-enabled { type boolean; description "Global MD5 password enabled"; } leaf protocol-version { type uint32; description "Protocol version"; } leaf router-id { type inet:ipv4-address; description "Router ID"; } leaf keepalive-interval { type uint32; description "Keepalive interval"; } leaf hello-hold-time { type uint32; description "Hello hold time"; } leaf hello-interval { type uint32; description "Hello interval"; } leaf targeted-hello-hold-time { type uint32; description "Targeted hello hold time"; } leaf targeted-hello-interval { type uint32; description "Targeted hello interval"; } leaf session-hold-time { type uint32; description "Session hold time"; } leaf housekeeping-timer-interval { type uint32; description "Housekeeping periodic timer interval"; } leaf le-no-route-timeout { type uint32; description "LIB entry no route timeout"; } leaf ldp-recovery-timeout { type uint32; description "LDP recovery timeout with LSD"; } leaf af-binding-withdraw-delay { type uint32; description "Delay (sec) in Binding Withdrawal for an Address Family"; } leaf max-intf-attached { type uint32; description "Maximum number of LDP enabled attached interfaces"; } leaf max-intf-te { type uint32; description "Maximum number of LDP enabled TE interfaces"; } leaf max-peer { type uint32; description "Maximum number of LDP peers"; } leaf ldp-out-of-mem-state { type uint32; description "LDP Out of memory state"; } leaf nsr-enabled { type boolean; description "TRUE if NSR is enabled"; } leaf nsr-synced { type boolean; description "TRUE if LDP is standby and is NSR Sync-ed with active"; } leaf igp-sync-delay-time-for-interface { type uint32; units "second"; description "Interface IGP sync delay time in seconds"; } leaf igp-sync-delay-time-on-restart { type uint32; units "second"; description "IGP sync delay time on process restart in seconds"; } leaf global-discovery-quick-start-disabled { type boolean; description "Discovery quick-start globally disabled"; } leaf discovery-quick-start-disabled-on-interfaces { type boolean; description "Discovery quick-start disabled on some LDP-enabled interfaces"; } list address-family-parameter { description "Per AF parameters"; container discovery-transport-address { description "Discovery transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container discovery-transport-address leaf address-family { type Ldp-af; description "Address Family"; } leaf null-label { type string; description "Null label"; } leaf label-imp-null-override-acl { type string; description "ACL to override local label to use implicit-null"; } leaf is-accepting-targeted-hellos { type boolean; description "Accepting targeted Hellos"; } leaf targeted-hello-acl { type string; description "Targeted Hello ACL"; } } // list address-family-parameter } // container parameters container issu { description "LDP ISSU related information"; container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container issu container neighbor-capabilities { description "LDP Neighbors Capabilities"; list neighbor-capability { description "Information on capabilities of a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // list neighbor-capability } // container neighbor-capabilities container neighbors { description "The LDP Neighbors"; list neighbor { description "Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container protocol-information { description "Protocol Information"; container ta-graceful-restart-adjacency { description "Graceful restart information"; leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf reconnect-timeout { type uint32; description "Reconnect timeout"; } leaf recovery-time { type uint32; description "Recovery time"; } } // container ta-graceful-restart-adjacency leaf ta-holdtime { type uint32; description "Session holdtime in sec"; } leaf ta-state { type string; description "State"; } leaf ta-pies-sent { type uint32; description "Number of pies sent"; } leaf ta-pies-rcvd { type uint32; description "Number of pies received"; } leaf ta-up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } leaf downstream-on-demand { type boolean; description "Is Label advertisment mode in Downstream On Demand mode or Not"; } } // container protocol-information container tcp-information { description "TCP Information"; container foreign-host { description "Foreign host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container foreign-host container local-host { description "Local host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-host leaf foreign-port { type uint16; description "Foreign port number"; } leaf local-port { type uint16; description "Local port number"; } leaf is-md5-on { type boolean; description "Is MD5 Digest on"; } } // container tcp-information container detailed-information { description "Detailed information with regards to holdtime, KA, inbound filtering, and Session protection"; container capabilities { description "Capabilities sent to and received from neighbor"; list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // container capabilities leaf peer-holdtime { type uint32; units "second"; description "Session holdtime value in seconds from the peer"; } leaf keep-alive-interval { type uint32; units "second"; description "Session keepalive interval in seconds"; } leaf peer-state { type string { length "0..80"; } description "Peer state"; } leaf has-ipv4-inbound { type boolean; description "IPv4 Inbound label filtering present"; } leaf inbound-ipv4acl { type string { length "0..80"; } description "IPv4 Inbound accept ACL"; } leaf has-ipv6-inbound { type boolean; description "IPv6 Inbound label filtering present"; } leaf inbound-ipv6acl { type string { length "0..80"; } description "IPv6 Inbound accept ACL"; } leaf has-ipv4-outbound { type boolean; description "IPv4 Outbound label filtering present"; } leaf outbound-ipv4acl { type string { length "0..80"; } description "IPv4 Outbound advertise ACL"; } leaf has-ipv6-outbound { type boolean; description "IPv6 Outbound label filtering present"; } leaf outbound-ipv6acl { type string { length "0..80"; } description "IPv6 Outbound advertise ACL"; } leaf has-sp { type boolean; description "Session Protection enabled"; } leaf sp-state { type string { length "0..80"; } description "Session Protection state"; } leaf sp-has-acl { type boolean; description "Session protection ACL is present"; } leaf spacl { type string { length "0..80"; } description "Session Protection ACL"; } leaf sp-has-duration { type boolean; description "Session Protection has non-default duration"; } leaf sp-duration { type uint32; units "second"; description "Session protection holdup time duration in seconds"; } leaf spht-running { type boolean; description "Session Protection holdup timer is running"; } leaf spht-remaining { type uint32; units "second"; description "Session Protection holdup time remaining value in seconds"; } leaf nsr-sync-state { type Mgmt-ldp-nsr-peer-sync-state; description "NSR Sync State"; } leaf nsr-last-sync-error { type Mgmt-ldp-nsr-peer-sync-err; description "Last NSR sync error"; } leaf nsr-last-sync-nack-reason { type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; description "Last NSR sync NACK reaston"; } leaf bgp-advertisement-state { type Mgmt-ldp-nbr-bgp-advt-state; description "BGP labelled prefixes advertisement state"; } leaf advertise-bgp-prefixes { type boolean; description "Is BGP labelled prefixes advertised to the neighbor"; } list client { description "Targeted Session clients"; leaf name { type string; description "Client's name"; } } // list client list ipv4-duplicate-address { description "Duplicate IPv4 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv4-duplicate-address list ipv6-duplicate-address { description "Duplicate IPv6 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv6-duplicate-address } // container detailed-information list ldp-nbr-bound-ipv4-address-info { description "Neighbor IPv4 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv4-address-info list ldp-nbr-bound-ipv6-address-info { description "Neighbor IPv6 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv6-address-info list ldp-nbr-ipv4-adj-info { description "Neighbor's IPv4 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv4-adj-info list ldp-nbr-ipv6-adj-info { description "Neighbor's IPv6 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv6-adj-info } // list neighbor } // container neighbors container ldp-id { description "Local LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container ldp-id container statistics { description "The LDP Statistics"; list statistic { description "Statistical Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container message-out { description "Message out count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-out container message-in { description "Message in count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-in leaf iccp-enabled { type boolean; description "Is session ICCP enabled?"; } } // list statistic } // container statistics } // list vrf } // container vrfs container discovery-summary-all { description "Summary information regarding LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container discovery-summary-all } // container active } // container global container nodes { description "Location MPLS LDP operational data"; list node { key "node-name"; description "The MPLD LDP operational data for a particular node"; leaf node-name { type xr:Node-id; description "The identifier for the node"; } container default-vrf { description "DefaultVRF specific operational data"; container graceful-restart { description "LDP Graceful Restart info"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-forwarding-state-hold-timer-running { type boolean; description "Is graceful restart forwarding state hold timer running"; } leaf forwarding-state-hold-timer-remaining-seconds { type uint32; units "second"; description "Forwarding state hold timer remaining time in seconds"; } list graceful-restartable-neighbor { description "Vector of graceful restart neighbor information"; container gr-peer { description "GR peer LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container gr-peer leaf connect-count { type uint32; description "ConnectCount"; } leaf is-neighbor-up { type boolean; description "Is neighbor up"; } leaf is-liveness-timer-running { type boolean; description "Is liveness timer running"; } leaf liveness-timer-remaining-seconds { type uint32; description "Remaining time from liveness timer"; } leaf is-recovery-timer-running { type boolean; description "Is recovery timer running"; } leaf recovery-timer-remaining-seconds { type uint32; description "Recovery timer remining time"; } leaf down-nbr-flap-count { type uint8; description "Count of back2back flaps"; } leaf down-nbr-flags { type uint32; description "Flags"; } leaf down-nbr-down-reason { type uint32; description "Session down reason code"; } list down-nbr-interface { description "Interfaces bound to GR down Nbr"; leaf address-family { type Ldp-af-id; description "Interface adj Address Family"; } leaf interface-handle { type xr:Interface-name; description "Interfaces handle"; } } // list down-nbr-interface list down-nbr-address { description "Addresses bound to GR down Nbr"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // list down-nbr-address } // list graceful-restartable-neighbor } // container graceful-restart container capabilities { description "LDP capability database information"; list capability { key "capability-type"; description "Information on LDP capability"; leaf capability-type { type uint32; description "The capability type (IANA assigned)"; } container capability { description "Capability information"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // container capability leaf capability-owner { type string; description "Capability owner"; } } // list capability } // container capabilities container summary { description "LDP VRF summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common } // container summary container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container interface-summary { description "IPv4 interface summary information"; leaf known-ip-interface-count { type uint32; description "Number of known IP Interfaces"; } leaf known-ip-interface-ldp-enabled { type uint32; description "Number of known IP Interfaces with LDP Enabled"; } leaf ldp-configured-attached-interface { type uint32; description "Number of attached interfaces configured in LDP"; } leaf ldp-configured-te-interface { type uint32; description "Number of TE tunnel interfaces configured in LDP"; } leaf forward-references { type uint32; description "Number of forward referenced interfaces"; } leaf auto-config-disabled { type uint32; description "Autoconfigure disabled"; } leaf auto-config { type uint32; description "Auto-configured interfaces"; } leaf auto-config-forward-reference-interfaces { type uint32; description "Auto-configured forward references"; } } // container interface-summary container bindings { description "The LDP Bindings"; list binding { key "prefix"; description "Binding Information"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr leaf prefix-length { type uint8; description "Prefix Length"; } leaf local-label { type uint32; description "Local label"; } leaf le-local-binding-revision { type uint32; description "Local Binding revision"; } leaf le-local-label-state { type Local-label-state; description "Local label state"; } leaf is-no-route { type boolean; description "No route"; } leaf label-oor { type boolean; description "Label space depletion OOR"; } leaf advertise-prefix-acl { type string; description "Advertise Prerfix ACL"; } leaf advertise-tsr-acl { type string; description "Advertise TSR ACL"; } leaf config-enforced-local-label-value { type boolean; description "Config/User enforced local label value"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } list remote-binding { description "Remote binding"; container assigning-peer-ldp-ident { description "Assigning peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container assigning-peer-ldp-ident leaf remote-label { type uint32; description "Remote Label"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } } // list remote-binding list peers-advertised-to { description "Peers this entry is advertised to"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-advertised-to list peers-acked { description "Peers that have ACKed this entry"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-acked } // list binding } // container bindings container igp { description "LDP IGP related information"; container syncs { description "LDP IGP Sync related information"; list sync { key "interface-name"; description "LDP-IGP Synchronization related information for an interface"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface-name-xr { type string; description "Interface name"; } leaf igp-sync-state { type Ldp-igp-sync-state; description "IGP Sync state"; } leaf igp-sync-delay { type uint32; units "second"; description "IGP sync delay in seconds"; } leaf is-delay-timer-running { type boolean; description "Is sync delay timer running"; } leaf delay-timer-remaining { type uint32; units "second"; description "Remaining timer (seconds) till expiry of sync delay timer"; } leaf igp-sync-down-reason { type Ldp-igp-sync-down-reason; description "Reason IGP Sync Not Achieved"; } list peers { description "Interface Peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-gr-enabled { type boolean; description "Is GR enabled session"; } } // list peers list gr-only-peer { description "Interface GR-only reachable peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-chkpt-created { type boolean; description "Is created due to checkpointing"; } } // list gr-only-peer } // list sync } // container syncs container sync-delay-restart { description "LDP-IGP Synchronization Delay related information"; leaf configured { type boolean; description "Is restart delay configured"; } leaf delay-secs { type uint32; description "Delay time"; } leaf timer-running { type boolean; description "Is restart delay timer running"; } leaf remaining-secs { type uint32; description "Delay timer remaining time"; } } // container sync-delay-restart } // container igp container bindings-summary { description "Counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary container interfaces { description "LDP Interface related information"; list interface { key "interface-name"; description "IPv4 interface information"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf ldp-enabled { type boolean; description "LDP enabled"; } leaf is-im-stale { type boolean; description "Is IM information stale"; } leaf ldp-config-mode { type boolean; description "LDP config mode"; } leaf ldp-autoconfig-disable { type boolean; description "LDP autoconfig disable"; } list te-mesh-grp { description "TE tunnel mesh-group"; leaf ldp-te-mesh-group-all-cfgd { type boolean; description "LDP has enabled all TE mesh-groups"; } leaf ldp-mesh-group-enabled { type boolean; description "LDP has enabled this TE mesh-group"; } leaf te-mesh-group-id { type uint32; description "TE tunnel Mesh Group ID"; } } // list te-mesh-grp list auto-config { description "Auto config"; leaf tuple { type string; description "Tuple"; } } // list auto-config } // list interface } // container interfaces container discovery { description "The LDP Discovery"; container link-hellos { description "The LDP Discovery link"; list link-hello { key "interface-name"; description "Information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } list hello-information { description "LDP hello info"; container neighbor-src-address { description "Neighbor source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-src-address container neighbor-transport-address { description "Neighbor transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-transport-address container target { description "Target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf is-no-route { type boolean; description "Is route valid"; } leaf hold-time { type uint32; units "second"; description "Session hold time in seconds"; } leaf local-hold-time { type uint32; units "second"; description "Local hold time in seconds"; } leaf neighbor-hold-time { type uint32; units "second"; description "Neighbor hold time in seconds"; } leaf disc-expiry { type uint32; description "Discovery expiry time in sec"; } leaf is-targeted { type boolean; description "Is session a targeted session"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list hello-information list discovery-link-af { max-elements 2; description "LDP hello AF info"; container local-src-address { description "Local source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-src-address container local-transport-address { description "Local transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-transport-address leaf interval { type uint32; description "Hello interval in sec"; } } // list discovery-link-af } // list link-hello } // container link-hellos container summary { description "Summarized information on LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container summary container targeted-hellos { description "The LDP Discovery Targeted"; list targeted-hello { description "Information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container dhcb-local-address { description "DHCB local address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-local-address container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf state { type Dhcb-state; description "Targeted hello state"; } leaf adjacency-ldp-identifier { type string; description "Adjacency LDP Identifier"; } leaf interval { type uint32; description "Hello interval in sec"; } leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf hold-time { type uint32; description "Targeted hello hold time"; } leaf local-hold-time { type uint32; description "Local hold time"; } leaf neighbor-hold-time { type uint32; description "Neighbor hold time"; } leaf disc-expiry { type uint32; description "Discovery expiry time in msec"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list targeted-hello } // container targeted-hellos container brief { description "Brief information on LDP discovery"; container link-hello-briefs { description "The LDP Discovery link brief information"; list link-hello-brief { key "interface-name"; description "Brief information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Discovery Brief Address Family"; } leaf address-family-set { type Ldp-af; description "Discovery Brief Address Family Set"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list link-hello-brief } // container link-hello-briefs container targeted-hello-briefs { description "The LDP Discovery Targeted brief information"; list targeted-hello-brief { description "Brief information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf address-family { type Ldp-af; description "Targeted Discovery Address Family"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list targeted-hello-brief } // container targeted-hello-briefs } // container brief container stats { description "The LDP Discovery Statistics"; list stat { description "Information on LDP discovery statistics"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf adjacency-group-up-time { type uint32; units "second"; description "Adjacency group up time in seconds"; } leaf tcp-open-count { type uint32; description "Count of attempted TCP opens"; } leaf tcp-arb-chg-count { type uint32; description "Count of changes in TCP arbitration"; } leaf tcp-role { type uint32; description "TCP Role"; } } // list stat } // container stats } // container discovery container forwardings { description "The LDP Forwarding rewrites"; list forwarding { key "prefix"; description "Information on a particular LDP forwarding rewrite"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr container route { description "Route"; container routing { description "IP routing information"; leaf version { type uint32; description "Route RIB ersion"; } leaf priority { type uint8; description "Route priority"; } leaf source { type uint16; description "Route source protol Id"; } leaf type { type uint16; description "Route type"; } leaf flags { type uint32; description "Route RIB flags"; } leaf metric { type uint32; description "Route metric"; } leaf is-local-vrf-leaked { type boolean; description "Is route leaked across local VRFs?"; } leaf routing-update-count { type uint32; description "Number of routing updates"; } leaf routing-update-timestamp { type uint64; description "Last Routing update nanosec timestamp"; } leaf routing-update-age { type uint64; description "Last Routing update nanosec age"; } leaf sr-local-label { type uint32; description "SR Local-label"; } } // container routing container mpls { description "MPLS information"; leaf local-label { type uint32; description "Local label"; } leaf forwarding-update-count { type uint32; description "Number of forwarding updates"; } leaf forwarding-update-timestamp { type uint64; description "Last Forwarding update nanosec timestamp"; } leaf forwarding-update-age { type uint64; description "Last Forwarding update nanosec age"; } } // container mpls } // container route leaf table-id { type uint32; description "Table ID associated with IP prefix"; } leaf prefix-length { type uint8; description "Prefix length"; } list paths { description "Paths"; container routing { description "IP routing information"; container next-hop { description "Next Hop"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container next-hop container remote-lfa { description "Remote LFA-FRR backup info"; container remote-p-node-id { description "Remote/P node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-p-node-id container remote-q-node-id { description "Remote/Q node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-q-node-id leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } leaf needs-tldp { type boolean; description "Whether TLDP is needed with remote PQ node"; } leaf has-q-node { type boolean; description "Whether remote LFA path has a Q node associated"; } } // container remote-lfa leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface Name"; } leaf nh-is-overriden { type boolean; description "Nexthop is overriden by LDP"; } leaf nexthop-id { type uint32; description "Nexthop Identifier"; } leaf next-hop-table-id { type uint32; description "Table ID for nexthop address"; } leaf flags { type uint32; description "Route path flags"; } leaf load-metric { type uint32; description "Path's load metric for load balancing"; } leaf binding-label { type uint32; description "Binding label obtained via RIB"; } leaf path-id { type uint8; description "path Id"; } leaf bkup-path-id { type uint8; description "Backup path Id"; } leaf path-flags { type Ldp-route-path-flags; description "Routing path flags decoded"; } } // container routing container mpls { description "MPLS information"; container mpls-outgoing-info { description "MPLS nexthop info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // container mpls-outgoing-info container remote-lfa { description "Remote LFA-FRR backup info"; container mpls-outgoing-info { description "Remote LFA MPLS nexthop(s_ info"; list stack { description "Inner label stack info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // list stack } // container mpls-outgoing-info leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } } // container remote-lfa } // container mpls } // list paths } // list forwarding } // container forwardings container bindings-advertise-spec { description "Advertisement Spec (ACL) for LDP Label Infomation Base (LIB)"; container allocation-acl { description "Local label Allocation filter"; leaf has-acl { type boolean; description "Has ACL filter?"; } leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf is-host-route-only { type boolean; description "Host-routes only?"; } } // container allocation-acl list advt-acl { description "Advertisement ACLs"; leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf peer-acl { type string { length "0..64"; } description "Peer ACL"; } } // list advt-acl } // container bindings-advertise-spec container forwarding-summary { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary leaf af-name { type Mpls-ldp-oper-af-name; description "Address Family name"; } } // list af } // container afs container neighbor-briefs { description "The LDP Neighbors (brief)"; list neighbor-brief { description "Brief information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf nsr-state { type Show-nsr-state; description "NSR readiness state"; } leaf up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } list nbr-br-af-info { max-elements 2; description "Neighbor Brief AF Info"; leaf address-family { type Ldp-af; description "Neighbor Brief Address Family"; } leaf num-of-nbr-discovery { type uint32; description "Number of neighbor discovery sources"; } leaf num-of-nbr-addresses { type uint32; description "Number of neighbor addresses"; } leaf num-of-nbr-lbl { type uint32; description "Number of neighbor labels"; } } // list nbr-br-af-info } // list neighbor-brief } // container neighbor-briefs container backoff-parameters { description "The LDP Backoff Parameters"; leaf initial-seconds { type uint32; units "second"; description "Initial backoff value in seconds"; } leaf maximum-seconds { type uint32; units "second"; description "Maximum backoff value in seconds"; } } // container backoff-parameters container backoffs { description "The LDP backoff"; list backoff { description "LDP Backoff Information"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf backoff-seconds { type uint32; units "second"; description "Backoff seconds"; } leaf waiting-seconds { type uint32; units "second"; description "Backoff waiting seconds"; } } // list backoff } // container backoffs container nsr { description "LDP NSR related information"; container nsr-pending { description "LDP NSR Pending related information"; container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container nsr-pending container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container nsr container parameters { description "LDP parameters"; container graceful-restart-information { description "Graceful restart information"; leaf is-graceful-restart-configured { type boolean; description "Is graceful restart configured"; } leaf graceful-restart-reconnect-timeout { type uint32; description "Reconnect timeout value"; } leaf graceful-restart-forwarding-state-hold-time { type uint32; description "Graceful restart forward state hold time"; } } // container graceful-restart-information leaf role-is-active { type boolean; description "Is process role active or standby"; } leaf global-md5-password-enabled { type boolean; description "Global MD5 password enabled"; } leaf protocol-version { type uint32; description "Protocol version"; } leaf router-id { type inet:ipv4-address; description "Router ID"; } leaf keepalive-interval { type uint32; description "Keepalive interval"; } leaf hello-hold-time { type uint32; description "Hello hold time"; } leaf hello-interval { type uint32; description "Hello interval"; } leaf targeted-hello-hold-time { type uint32; description "Targeted hello hold time"; } leaf targeted-hello-interval { type uint32; description "Targeted hello interval"; } leaf session-hold-time { type uint32; description "Session hold time"; } leaf housekeeping-timer-interval { type uint32; description "Housekeeping periodic timer interval"; } leaf le-no-route-timeout { type uint32; description "LIB entry no route timeout"; } leaf ldp-recovery-timeout { type uint32; description "LDP recovery timeout with LSD"; } leaf af-binding-withdraw-delay { type uint32; description "Delay (sec) in Binding Withdrawal for an Address Family"; } leaf max-intf-attached { type uint32; description "Maximum number of LDP enabled attached interfaces"; } leaf max-intf-te { type uint32; description "Maximum number of LDP enabled TE interfaces"; } leaf max-peer { type uint32; description "Maximum number of LDP peers"; } leaf ldp-out-of-mem-state { type uint32; description "LDP Out of memory state"; } leaf nsr-enabled { type boolean; description "TRUE if NSR is enabled"; } leaf nsr-synced { type boolean; description "TRUE if LDP is standby and is NSR Sync-ed with active"; } leaf igp-sync-delay-time-for-interface { type uint32; units "second"; description "Interface IGP sync delay time in seconds"; } leaf igp-sync-delay-time-on-restart { type uint32; units "second"; description "IGP sync delay time on process restart in seconds"; } leaf global-discovery-quick-start-disabled { type boolean; description "Discovery quick-start globally disabled"; } leaf discovery-quick-start-disabled-on-interfaces { type boolean; description "Discovery quick-start disabled on some LDP-enabled interfaces"; } list address-family-parameter { description "Per AF parameters"; container discovery-transport-address { description "Discovery transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container discovery-transport-address leaf address-family { type Ldp-af; description "Address Family"; } leaf null-label { type string; description "Null label"; } leaf label-imp-null-override-acl { type string; description "ACL to override local label to use implicit-null"; } leaf is-accepting-targeted-hellos { type boolean; description "Accepting targeted Hellos"; } leaf targeted-hello-acl { type string; description "Targeted Hello ACL"; } } // list address-family-parameter } // container parameters container issu { description "LDP ISSU related information"; container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container issu container neighbor-capabilities { description "LDP Neighbors Capabilities"; list neighbor-capability { description "Information on capabilities of a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // list neighbor-capability } // container neighbor-capabilities container neighbors { description "The LDP Neighbors"; list neighbor { description "Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container protocol-information { description "Protocol Information"; container ta-graceful-restart-adjacency { description "Graceful restart information"; leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf reconnect-timeout { type uint32; description "Reconnect timeout"; } leaf recovery-time { type uint32; description "Recovery time"; } } // container ta-graceful-restart-adjacency leaf ta-holdtime { type uint32; description "Session holdtime in sec"; } leaf ta-state { type string; description "State"; } leaf ta-pies-sent { type uint32; description "Number of pies sent"; } leaf ta-pies-rcvd { type uint32; description "Number of pies received"; } leaf ta-up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } leaf downstream-on-demand { type boolean; description "Is Label advertisment mode in Downstream On Demand mode or Not"; } } // container protocol-information container tcp-information { description "TCP Information"; container foreign-host { description "Foreign host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container foreign-host container local-host { description "Local host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-host leaf foreign-port { type uint16; description "Foreign port number"; } leaf local-port { type uint16; description "Local port number"; } leaf is-md5-on { type boolean; description "Is MD5 Digest on"; } } // container tcp-information container detailed-information { description "Detailed information with regards to holdtime, KA, inbound filtering, and Session protection"; container capabilities { description "Capabilities sent to and received from neighbor"; list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // container capabilities leaf peer-holdtime { type uint32; units "second"; description "Session holdtime value in seconds from the peer"; } leaf keep-alive-interval { type uint32; units "second"; description "Session keepalive interval in seconds"; } leaf peer-state { type string { length "0..80"; } description "Peer state"; } leaf has-ipv4-inbound { type boolean; description "IPv4 Inbound label filtering present"; } leaf inbound-ipv4acl { type string { length "0..80"; } description "IPv4 Inbound accept ACL"; } leaf has-ipv6-inbound { type boolean; description "IPv6 Inbound label filtering present"; } leaf inbound-ipv6acl { type string { length "0..80"; } description "IPv6 Inbound accept ACL"; } leaf has-ipv4-outbound { type boolean; description "IPv4 Outbound label filtering present"; } leaf outbound-ipv4acl { type string { length "0..80"; } description "IPv4 Outbound advertise ACL"; } leaf has-ipv6-outbound { type boolean; description "IPv6 Outbound label filtering present"; } leaf outbound-ipv6acl { type string { length "0..80"; } description "IPv6 Outbound advertise ACL"; } leaf has-sp { type boolean; description "Session Protection enabled"; } leaf sp-state { type string { length "0..80"; } description "Session Protection state"; } leaf sp-has-acl { type boolean; description "Session protection ACL is present"; } leaf spacl { type string { length "0..80"; } description "Session Protection ACL"; } leaf sp-has-duration { type boolean; description "Session Protection has non-default duration"; } leaf sp-duration { type uint32; units "second"; description "Session protection holdup time duration in seconds"; } leaf spht-running { type boolean; description "Session Protection holdup timer is running"; } leaf spht-remaining { type uint32; units "second"; description "Session Protection holdup time remaining value in seconds"; } leaf nsr-sync-state { type Mgmt-ldp-nsr-peer-sync-state; description "NSR Sync State"; } leaf nsr-last-sync-error { type Mgmt-ldp-nsr-peer-sync-err; description "Last NSR sync error"; } leaf nsr-last-sync-nack-reason { type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; description "Last NSR sync NACK reaston"; } leaf bgp-advertisement-state { type Mgmt-ldp-nbr-bgp-advt-state; description "BGP labelled prefixes advertisement state"; } leaf advertise-bgp-prefixes { type boolean; description "Is BGP labelled prefixes advertised to the neighbor"; } list client { description "Targeted Session clients"; leaf name { type string; description "Client's name"; } } // list client list ipv4-duplicate-address { description "Duplicate IPv4 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv4-duplicate-address list ipv6-duplicate-address { description "Duplicate IPv6 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv6-duplicate-address } // container detailed-information list ldp-nbr-bound-ipv4-address-info { description "Neighbor IPv4 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv4-address-info list ldp-nbr-bound-ipv6-address-info { description "Neighbor IPv6 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv6-address-info list ldp-nbr-ipv4-adj-info { description "Neighbor's IPv4 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv4-adj-info list ldp-nbr-ipv6-adj-info { description "Neighbor's IPv6 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv6-adj-info } // list neighbor } // container neighbors container ldp-id { description "Local LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container ldp-id container statistics { description "The LDP Statistics"; list statistic { description "Statistical Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container message-out { description "Message out count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-out container message-in { description "Message in count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-in leaf iccp-enabled { type boolean; description "Is session ICCP enabled?"; } } // list statistic } // container statistics } // container default-vrf container forwarding-summary-all { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary-all container bindings-summary-all { description "Aggregate VRF counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary-all container ato-mdb-table-entries { description "AToM DB Table"; list ato-mdb-table-entry { description "Entries in AToM DB"; leaf peer-id { type inet:ip-address-no-zone; description "Peer ID"; } leaf fe-ctype { type uint32; description "FEC Type"; } leaf pw-id { type uint32; description "PW ID"; } leaf agi-type { type uint32; description "AGI Type"; } leaf agi { type uint32; description "AGI"; } leaf saii-type { type uint32; description "SAII Type"; } leaf saii-local-id { type inet:ip-address-no-zone; description "SAII Local ID"; } leaf saii-global-id { type uint32; description "SAII Global ID"; } leaf saii-prefix { type xr:Hex-integer; description "SAII Prefix"; } leaf saii-ac-id { type uint32; description "SAII AC ID"; } leaf taii-type { type uint32; description "TAII Type"; } leaf taii-local-id { type inet:ip-address-no-zone; description "TAII Local ID"; } leaf taii-global-id { type uint32; description "TAII Global ID"; } leaf taii-prefix { type xr:Hex-integer; description "TAII Prefix"; } leaf taii-ac-id { type uint32; description "TAII AC ID"; } container fec-info { description "Pseudowire FEC information"; container fec128 { when "../fe-ctype = 'fec128'" { description "../FECType = 'FEC128'"; } description "fec128"; leaf pseudowire-id { type uint32; description "Pseudowire ID"; } } // container fec128 container fec129 { when "../fe-ctype = 'fec129'" { description "../FECType = 'FEC129'"; } description "fec129"; container agi { description "AGI"; container agi1 { when "../agi-type = 'rd'" { description "../AGIType = 'RD'"; } description "agi1"; leaf rd { type uint64; description "Route Distinguisher"; } } // container agi1 leaf agi-type { type L2vpn-ldp-pw-agi; description "AGIType"; } } // container agi container saii { description "Source Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container saii container taii { description "Target Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container taii } // container fec129 container fec130 { when "../fe-ctype = 'fec130'" { description "../FECType = 'FEC130'"; } description "fec130"; container agi { description "AGI"; container agi1 { when "../agi-type = 'rd'" { description "../AGIType = 'RD'"; } description "agi1"; leaf rd { type uint64; description "Route Distinguisher"; } } // container agi1 leaf agi-type { type L2vpn-ldp-pw-agi; description "AGIType"; } } // container agi container saii { description "Source Attachment Individual Identifier"; container aii1 { when "../aii-type = 'local-id'" { description "../AIIType = 'LocalID'"; } description "aii1"; leaf local-id { type inet:ipv4-address; description "Local Identifier"; } } // container aii1 container aii2 { when "../aii-type = 'type2'" { description "../AIIType = 'Type2'"; } description "aii2"; leaf gobal-id { type uint32; description "Global ID"; } leaf prefix { type uint32; description "Prefix"; } leaf ac-id { type uint32; description "AC ID"; } } // container aii2 leaf aii-type { type L2vpn-ldp-pw-aii; description "AIIType"; } } // container saii } // container fec130 leaf fe-ctype { type L2vpn-ldp-pw-fec; description "FECType"; } } // container fec-info leaf peer-id-xr { type inet:ipv4-address; description "Peer ID"; } leaf mapping-tlv-count { type uint32; description "TLV Count from Label Mapping Message"; } leaf notification-tlv-count { type uint32; description "TLV Count from Notification Message"; } } // list ato-mdb-table-entry } // container ato-mdb-table-entries container nsr-summary-all { description "Summary information regarding LDP NSR State"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container nsr-summary-all container summary { description "LDP summary"; container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common leaf number-of-vrf { type uint32; description "Number of configured VRFs (including default)"; } leaf number-of-vrf-oper { type uint32; description "Number of configured operational VRFs (including default)"; } leaf number-of-interfaces { type uint32; description "Number of known interfaces"; } leaf number-of-fwd-ref-interfaces { type uint32; description "Number of Forward Referenc interfaces"; } leaf number-of-autocfg-interfaces { type uint32; description "Number of auto-configured interfaces"; } leaf is-bound-with-sysdb { type boolean; description "Bound status with sysdb"; } leaf is-registered-with-sysdb { type boolean; description "Registration status with Sysdb"; } leaf is-bound-with-rsi { type boolean; description "Bound status with rsi"; } leaf is-bound-with-interface-manager { type boolean; description "Bound status with Interface Manager"; } leaf is-registered-with-interface-manager { type boolean; description "Registration status with Interface Manager"; } leaf is-bound-with-ip-arm { type boolean; description "Bound status with IP Arm"; } leaf is-bound-with-lsd { type boolean; description "Bound status with LSD"; } leaf is-registered-with-lsd { type boolean; description "Registration status with LSD"; } leaf is-bound-with-ipv4-rib { type boolean; description "Bound status with IPv4 RIB"; } leaf is-registered-with-ipv4-rib { type boolean; description "Registration status with IPv4 RIB"; } leaf number-of-ipv4rib-tables { type uint32; description "Total number of ipv4 RIB tables"; } leaf number-of-registered-ipv4rib-tables { type uint32; description "Number of ipv4 RIB tables registered"; } leaf is-bound-with-ipv6-rib { type boolean; description "Bound status with IPv6 RIB"; } leaf is-registered-with-ipv6-rib { type boolean; description "Registration status with IPv6 RIB"; } leaf number-of-ipv6rib-tables { type uint32; description "Total number of ipv6 RIB tables"; } leaf number-of-registered-ipv6rib-tables { type uint32; description "Number of ipv6 RIB tables registered"; } leaf is-bound-with-atom { type boolean; description "Bound status with L2VPN ATOM"; } leaf is-bound-with-nsr-mate { type boolean; description "Bound status with NSR Mate"; } leaf is-nsr-configured { type boolean; description "NSR configured"; } leaf is-mldp-registered { type boolean; description "mLDP registration status"; } } // container summary container vrfs { description "VRF specific operational data"; list vrf { key "vrf-name"; description "Operational data for given VRF"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF Name"; } container graceful-restart { description "LDP Graceful Restart info"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-forwarding-state-hold-timer-running { type boolean; description "Is graceful restart forwarding state hold timer running"; } leaf forwarding-state-hold-timer-remaining-seconds { type uint32; units "second"; description "Forwarding state hold timer remaining time in seconds"; } list graceful-restartable-neighbor { description "Vector of graceful restart neighbor information"; container gr-peer { description "GR peer LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container gr-peer leaf connect-count { type uint32; description "ConnectCount"; } leaf is-neighbor-up { type boolean; description "Is neighbor up"; } leaf is-liveness-timer-running { type boolean; description "Is liveness timer running"; } leaf liveness-timer-remaining-seconds { type uint32; description "Remaining time from liveness timer"; } leaf is-recovery-timer-running { type boolean; description "Is recovery timer running"; } leaf recovery-timer-remaining-seconds { type uint32; description "Recovery timer remining time"; } leaf down-nbr-flap-count { type uint8; description "Count of back2back flaps"; } leaf down-nbr-flags { type uint32; description "Flags"; } leaf down-nbr-down-reason { type uint32; description "Session down reason code"; } list down-nbr-interface { description "Interfaces bound to GR down Nbr"; leaf address-family { type Ldp-af-id; description "Interface adj Address Family"; } leaf interface-handle { type xr:Interface-name; description "Interfaces handle"; } } // list down-nbr-interface list down-nbr-address { description "Addresses bound to GR down Nbr"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // list down-nbr-address } // list graceful-restartable-neighbor } // container graceful-restart container capabilities { description "LDP capability database information"; list capability { key "capability-type"; description "Information on LDP capability"; leaf capability-type { type uint32; description "The capability type (IANA assigned)"; } container capability { description "Capability information"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // container capability leaf capability-owner { type string; description "Capability owner"; } } // list capability } // container capabilities container summary { description "LDP VRF summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container common { description "Common Summary information"; leaf address-families { type Ldp-af; description "Address Families enabled"; } leaf number-of-ipv4af { type uint32; description "Number of IPv4 address-families enabled"; } leaf number-of-ipv6af { type uint32; description "Number of IPv6 address-families enabled"; } leaf number-of-neighbors { type uint32; description "Number of neighbors"; } leaf number-of-adj-grps { type uint32; description "Number of Adjacency Groups"; } leaf number-of-nsr-synced-neighbors { type uint32; description "Number of NSR-synced/operational neighbors"; } leaf number-of-graceful-restart-neighbors { type uint32; description "Number of Graceful Restart neighbors"; } leaf number-of-downstream-on-demand-neighbors { type uint32; description "Number of Downstream-On-Demand neighbors"; } leaf number-of-ipv4-hello-adj { type uint32; description "Number of LDP discovery IPv4 hello adjacencies"; } leaf number-of-ipv6-hello-adj { type uint32; description "Number of LDP discovery IPv6 hello adjacencies"; } leaf number-of-ipv4-routes { type uint32; description "Number of resolved IPv4 routes"; } leaf number-of-ipv6-routes { type uint32; description "Number of resolved IPv6 routes"; } leaf number-of-ipv4-local-addresses { type uint32; description "Number of IPv4 local addresses"; } leaf number-of-ipv6-local-addresses { type uint32; description "Number of IPv6 local addresses"; } leaf number-of-ldp-interfaces { type uint32; description "Number of LDP configured interfaces"; } leaf number-of-ipv4ldp-interfaces { type uint32; description "Number of LDP IPv4 configured interfaces"; } leaf number-of-ipv6ldp-interfaces { type uint32; description "Number of LDP IPv6 configured interfaces"; } leaf number-of-bindings-ipv4 { type uint32; description "Total number of ipv4 bindings"; } leaf number-of-bindings-ipv6 { type uint32; description "Total number of ipv6 bindings"; } leaf number-of-local-bindings-ipv4 { type uint32; description "Total number of ipv4 local label bindings"; } leaf number-of-local-bindings-ipv6 { type uint32; description "Total number of ipv6 local label bindings"; } leaf number-of-remote-bindings-ipv4 { type uint32; description "Total number of ipv4 remote label bindings"; } leaf number-of-remote-bindings-ipv6 { type uint32; description "Total number of ipv6 remote label bindings"; } } // container common } // container summary container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container interface-summary { description "IPv4 interface summary information"; leaf known-ip-interface-count { type uint32; description "Number of known IP Interfaces"; } leaf known-ip-interface-ldp-enabled { type uint32; description "Number of known IP Interfaces with LDP Enabled"; } leaf ldp-configured-attached-interface { type uint32; description "Number of attached interfaces configured in LDP"; } leaf ldp-configured-te-interface { type uint32; description "Number of TE tunnel interfaces configured in LDP"; } leaf forward-references { type uint32; description "Number of forward referenced interfaces"; } leaf auto-config-disabled { type uint32; description "Autoconfigure disabled"; } leaf auto-config { type uint32; description "Auto-configured interfaces"; } leaf auto-config-forward-reference-interfaces { type uint32; description "Auto-configured forward references"; } } // container interface-summary container bindings { description "The LDP Bindings"; list binding { key "prefix"; description "Binding Information"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr leaf prefix-length { type uint8; description "Prefix Length"; } leaf local-label { type uint32; description "Local label"; } leaf le-local-binding-revision { type uint32; description "Local Binding revision"; } leaf le-local-label-state { type Local-label-state; description "Local label state"; } leaf is-no-route { type boolean; description "No route"; } leaf label-oor { type boolean; description "Label space depletion OOR"; } leaf advertise-prefix-acl { type string; description "Advertise Prerfix ACL"; } leaf advertise-tsr-acl { type string; description "Advertise TSR ACL"; } leaf config-enforced-local-label-value { type boolean; description "Config/User enforced local label value"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } list remote-binding { description "Remote binding"; container assigning-peer-ldp-ident { description "Assigning peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container assigning-peer-ldp-ident leaf remote-label { type uint32; description "Remote Label"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf is-elc { type boolean; description "Is the entry entropy label capable"; } } // list remote-binding list peers-advertised-to { description "Peers this entry is advertised to"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-advertised-to list peers-acked { description "Peers that have ACKed this entry"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // list peers-acked } // list binding } // container bindings container igp { description "LDP IGP related information"; container syncs { description "LDP IGP Sync related information"; list sync { key "interface-name"; description "LDP-IGP Synchronization related information for an interface"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface-name-xr { type string; description "Interface name"; } leaf igp-sync-state { type Ldp-igp-sync-state; description "IGP Sync state"; } leaf igp-sync-delay { type uint32; units "second"; description "IGP sync delay in seconds"; } leaf is-delay-timer-running { type boolean; description "Is sync delay timer running"; } leaf delay-timer-remaining { type uint32; units "second"; description "Remaining timer (seconds) till expiry of sync delay timer"; } leaf igp-sync-down-reason { type Ldp-igp-sync-down-reason; description "Reason IGP Sync Not Achieved"; } list peers { description "Interface Peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-gr-enabled { type boolean; description "Is GR enabled session"; } } // list peers list gr-only-peer { description "Interface GR-only reachable peers"; leaf peer-id { type String-td2; description "Peer Identifier"; } leaf is-chkpt-created { type boolean; description "Is created due to checkpointing"; } } // list gr-only-peer } // list sync } // container syncs container sync-delay-restart { description "LDP-IGP Synchronization Delay related information"; leaf configured { type boolean; description "Is restart delay configured"; } leaf delay-secs { type uint32; description "Delay time"; } leaf timer-running { type boolean; description "Is restart delay timer running"; } leaf remaining-secs { type uint32; description "Delay timer remaining time"; } } // container sync-delay-restart } // container igp container bindings-summary { description "Counters for the LDP Label Infomation Base (LIB)"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Address Family"; } leaf binding-no-route { type uint32; description "Bindings with no route"; } leaf binding-local-no-route { type uint32; description "Local bindings with no route"; } leaf binding-local-null { type uint32; description "Number of local null bindings"; } leaf binding-local-implicit-null { type uint32; description "Number of local implicit null bindings"; } leaf binding-local-explicit-null { type uint32; description "Number of local explicit null bindings"; } leaf binding-local-non-null { type uint32; description "Number of local non-null bindings"; } leaf binding-local-oor { type uint32; description "Number of local bindings needing label - OOR"; } leaf lowest-allocated-label { type uint32; description "Lowest allocated label"; } leaf highest-allocated-label { type uint32; description "Highest allocated label"; } list bind-af { max-elements 2; description "bind af"; leaf address-family { type Ldp-af; description "Binding Summary Address Family"; } leaf last-lib-update { type uint32; description "Last update to LIB local binding"; } leaf lib-minimum-revision-sent-all { type uint32; description "Last update sent to all peers"; } leaf binding-total { type uint32; description "Total bindings"; } leaf binding-local { type uint32; description "Number of local bindings"; } leaf binding-remote { type uint32; description "Number of remote bindings"; } } // list bind-af } // container bindings-summary container interfaces { description "LDP Interface related information"; list interface { key "interface-name"; description "IPv4 interface information"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf ldp-enabled { type boolean; description "LDP enabled"; } leaf is-im-stale { type boolean; description "Is IM information stale"; } leaf ldp-config-mode { type boolean; description "LDP config mode"; } leaf ldp-autoconfig-disable { type boolean; description "LDP autoconfig disable"; } list te-mesh-grp { description "TE tunnel mesh-group"; leaf ldp-te-mesh-group-all-cfgd { type boolean; description "LDP has enabled all TE mesh-groups"; } leaf ldp-mesh-group-enabled { type boolean; description "LDP has enabled this TE mesh-group"; } leaf te-mesh-group-id { type uint32; description "TE tunnel Mesh Group ID"; } } // list te-mesh-grp list auto-config { description "Auto config"; leaf tuple { type string; description "Tuple"; } } // list auto-config } // list interface } // container interfaces container discovery { description "The LDP Discovery"; container link-hellos { description "The LDP Discovery link"; list link-hello { key "interface-name"; description "Information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } list hello-information { description "LDP hello info"; container neighbor-src-address { description "Neighbor source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-src-address container neighbor-transport-address { description "Neighbor transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container neighbor-transport-address container target { description "Target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf is-no-route { type boolean; description "Is route valid"; } leaf hold-time { type uint32; units "second"; description "Session hold time in seconds"; } leaf local-hold-time { type uint32; units "second"; description "Local hold time in seconds"; } leaf neighbor-hold-time { type uint32; units "second"; description "Neighbor hold time in seconds"; } leaf disc-expiry { type uint32; description "Discovery expiry time in sec"; } leaf is-targeted { type boolean; description "Is session a targeted session"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list hello-information list discovery-link-af { max-elements 2; description "LDP hello AF info"; container local-src-address { description "Local source address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-src-address container local-transport-address { description "Local transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-transport-address leaf interval { type uint32; description "Hello interval in sec"; } } // list discovery-link-af } // list link-hello } // container link-hellos container summary { description "Summarized information on LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container summary container targeted-hellos { description "The LDP Discovery Targeted"; list targeted-hello { description "Information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container dhcb-local-address { description "DHCB local address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-local-address container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf state { type Dhcb-state; description "Targeted hello state"; } leaf adjacency-ldp-identifier { type string; description "Adjacency LDP Identifier"; } leaf interval { type uint32; description "Hello interval in sec"; } leaf next-hello { type uint32; description "Next hello due time in msec"; } leaf hold-time { type uint32; description "Targeted hello hold time"; } leaf local-hold-time { type uint32; description "Local hold time"; } leaf neighbor-hold-time { type uint32; description "Neighbor hold time"; } leaf disc-expiry { type uint32; description "Discovery expiry time in msec"; } leaf quick-start-disabled { type boolean; description "Quick-start disabled"; } leaf established-time { type uint64; description "Hello adjacency estabished time in nanosec"; } leaf established-age { type uint64; description "Hello adjacency estabished age in nanosec"; } leaf session-up { type boolean; description "Is session up for this adj"; } leaf session-bringup-failure-reason { type string; description "session bringup failure reason"; } list last-session-down-info { description "Last session down information"; leaf last-session-down-reason { type string; description "The reason of last socket failure"; } leaf last-session-down-time { type uint64; description "Timestamp of when the last session went down"; } leaf last-session-up-time { type uint32; description "The time duration the last session was up"; } } // list last-session-down-info } // list targeted-hello } // container targeted-hellos container brief { description "Brief information on LDP discovery"; container link-hello-briefs { description "The LDP Discovery link brief information"; list link-hello-brief { key "interface-name"; description "Brief information on LDP link discovery"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf address-family { type Ldp-af; description "Discovery Brief Address Family"; } leaf address-family-set { type Ldp-af; description "Discovery Brief Address Family Set"; } leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name-xr { type string; description "Interface name"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list link-hello-brief } // container link-hello-briefs container targeted-hello-briefs { description "The LDP Discovery Targeted brief information"; list targeted-hello-brief { description "Brief information on LDP targeted discovery"; leaf local-address { type inet:ip-address-no-zone; description "Local IP Address"; } leaf target-address { type inet:ip-address-no-zone; description "The target IP Address"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container dhcb-target-address { description "DHCB target address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container dhcb-target-address leaf address-family { type Ldp-af; description "Targeted Discovery Address Family"; } list hello-information { description "LDP hello info"; leaf neighbor-ldp-identifier { type string; description "Neighbor LDP Identifier"; } leaf hold-time { type uint32; description "Session hold time in sec"; } leaf session-up { type boolean; description "Is session up for this adj"; } } // list hello-information } // list targeted-hello-brief } // container targeted-hello-briefs } // container brief container stats { description "The LDP Discovery Statistics"; list stat { description "Information on LDP discovery statistics"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf adjacency-group-up-time { type uint32; units "second"; description "Adjacency group up time in seconds"; } leaf tcp-open-count { type uint32; description "Count of attempted TCP opens"; } leaf tcp-arb-chg-count { type uint32; description "Count of changes in TCP arbitration"; } leaf tcp-role { type uint32; description "TCP Role"; } } // list stat } // container stats } // container discovery container forwardings { description "The LDP Forwarding rewrites"; list forwarding { key "prefix"; description "Information on a particular LDP forwarding rewrite"; leaf prefix { type inet:ip-prefix; description "The IP Prefix"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container prefix-xr { description "IP Prefix"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container prefix-xr container route { description "Route"; container routing { description "IP routing information"; leaf version { type uint32; description "Route RIB ersion"; } leaf priority { type uint8; description "Route priority"; } leaf source { type uint16; description "Route source protol Id"; } leaf type { type uint16; description "Route type"; } leaf flags { type uint32; description "Route RIB flags"; } leaf metric { type uint32; description "Route metric"; } leaf is-local-vrf-leaked { type boolean; description "Is route leaked across local VRFs?"; } leaf routing-update-count { type uint32; description "Number of routing updates"; } leaf routing-update-timestamp { type uint64; description "Last Routing update nanosec timestamp"; } leaf routing-update-age { type uint64; description "Last Routing update nanosec age"; } leaf sr-local-label { type uint32; description "SR Local-label"; } } // container routing container mpls { description "MPLS information"; leaf local-label { type uint32; description "Local label"; } leaf forwarding-update-count { type uint32; description "Number of forwarding updates"; } leaf forwarding-update-timestamp { type uint64; description "Last Forwarding update nanosec timestamp"; } leaf forwarding-update-age { type uint64; description "Last Forwarding update nanosec age"; } } // container mpls } // container route leaf table-id { type uint32; description "Table ID associated with IP prefix"; } leaf prefix-length { type uint8; description "Prefix length"; } list paths { description "Paths"; container routing { description "IP routing information"; container next-hop { description "Next Hop"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container next-hop container remote-lfa { description "Remote LFA-FRR backup info"; container remote-p-node-id { description "Remote/P node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-p-node-id container remote-q-node-id { description "Remote/Q node address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container remote-q-node-id leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } leaf needs-tldp { type boolean; description "Whether TLDP is needed with remote PQ node"; } leaf has-q-node { type boolean; description "Whether remote LFA path has a Q node associated"; } } // container remote-lfa leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface Name"; } leaf nh-is-overriden { type boolean; description "Nexthop is overriden by LDP"; } leaf nexthop-id { type uint32; description "Nexthop Identifier"; } leaf next-hop-table-id { type uint32; description "Table ID for nexthop address"; } leaf flags { type uint32; description "Route path flags"; } leaf load-metric { type uint32; description "Path's load metric for load balancing"; } leaf binding-label { type uint32; description "Binding label obtained via RIB"; } leaf path-id { type uint8; description "path Id"; } leaf bkup-path-id { type uint8; description "Backup path Id"; } leaf path-flags { type Ldp-route-path-flags; description "Routing path flags decoded"; } } // container routing container mpls { description "MPLS information"; container mpls-outgoing-info { description "MPLS nexthop info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // container mpls-outgoing-info container remote-lfa { description "Remote LFA-FRR backup info"; container mpls-outgoing-info { description "Remote LFA MPLS nexthop(s_ info"; list stack { description "Inner label stack info"; container nexthop-peer-ldp-ident { description "Nexthop LDP peer"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container nexthop-peer-ldp-ident leaf out-label { type uint32; description "Outgoing label"; } leaf out-label-rsn { type Ldp-fwd-unlbl-rsn; description "Outgoing label reason"; } leaf out-label-type { type Label-value; description "Outgoing Label Type"; } leaf out-label-owner { type Ldp-route-path-lbl-owner; description "Outgoing label owner"; } leaf is-from-graceful-restartable-neighbor { type boolean; description "Is from a GR neighbor"; } leaf is-stale { type boolean; description "Is the entry stale"; } leaf entropy-label-capability { type boolean; description "Entropy Label Capability"; } } // list stack } // container mpls-outgoing-info leaf has-remote-lfa-bkup { type boolean; description "Whether path has remote LFA backup"; } } // container remote-lfa } // container mpls } // list paths } // list forwarding } // container forwardings container bindings-advertise-spec { description "Advertisement Spec (ACL) for LDP Label Infomation Base (LIB)"; container allocation-acl { description "Local label Allocation filter"; leaf has-acl { type boolean; description "Has ACL filter?"; } leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf is-host-route-only { type boolean; description "Host-routes only?"; } } // container allocation-acl list advt-acl { description "Advertisement ACLs"; leaf prefix-acl { type string { length "0..64"; } description "Prefix ACL"; } leaf peer-acl { type string { length "0..64"; } description "Peer ACL"; } } // list advt-acl } // container bindings-advertise-spec container forwarding-summary { description "Summary information regarding LDP forwarding setup"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container rws { description "Forwarding rewrites summary"; container pfxs { description "Forwarding rewrites prefix summary"; container labeled-pfxs-aggr { description "Labeled prefix count for all paths"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-aggr container labeled-pfxs-primary { description "Labeled prefix count related to primary paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-primary container labeled-pfxs-backup { description "Labeled prefix count related to backup paths only"; leaf labeled-pfxs { type uint16; description "Count of labeled prefixes with 1 or more paths labeled"; } leaf labeled-pfxs-partial { type uint16; description "Count of labeled prefixes with some (but not ALL) paths labeled"; } leaf unlabeled-pfxs { type uint16; description "Count of labeled prefixes with ALL paths unlabeled"; } } // container labeled-pfxs-backup leaf total-pfxs { type uint16; description "Total Prefix count"; } leaf ecmp-pfxs { type uint16; description "Count of prefixes with ECMP"; } leaf protected-pfxs { type uint16; description "Count of FRR protected prefixes"; } } // container pfxs container nhs { description "Forwarding rewrites nexthops (paths) summary"; leaf total-paths { type uint32; description "Total path count"; } leaf protected-paths { type uint32; description "Count of FRR protected paths"; } leaf backup-paths { type uint32; description "Count of non-primary backup paths"; } leaf remote-backup-paths { type uint32; description "Count of non-primary remote backup paths"; } leaf labeled-paths { type uint32; description "Count of all labeled paths"; } leaf labeled-backup-paths { type uint32; description "Count of labeled backup paths"; } } // container nhs } // container rws leaf is-lsd-bound { type boolean; description "LDP is connected to LSD server"; } leaf fsht { type uint16; description "Forwarding state hold time registered with LSD"; } leaf intfs { type uint16; description "MPLS forwarding enabled interface count"; } leaf lbls { type uint16; description "Local label allocated count"; } } // container forwarding-summary leaf af-name { type Mpls-ldp-oper-af-name; description "Address Family name"; } } // list af } // container afs container neighbor-briefs { description "The LDP Neighbors (brief)"; list neighbor-brief { description "Brief information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf nsr-state { type Show-nsr-state; description "NSR readiness state"; } leaf up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } list nbr-br-af-info { max-elements 2; description "Neighbor Brief AF Info"; leaf address-family { type Ldp-af; description "Neighbor Brief Address Family"; } leaf num-of-nbr-discovery { type uint32; description "Number of neighbor discovery sources"; } leaf num-of-nbr-addresses { type uint32; description "Number of neighbor addresses"; } leaf num-of-nbr-lbl { type uint32; description "Number of neighbor labels"; } } // list nbr-br-af-info } // list neighbor-brief } // container neighbor-briefs container backoff-parameters { description "The LDP Backoff Parameters"; leaf initial-seconds { type uint32; units "second"; description "Initial backoff value in seconds"; } leaf maximum-seconds { type uint32; units "second"; description "Maximum backoff value in seconds"; } } // container backoff-parameters container backoffs { description "The LDP backoff"; list backoff { description "LDP Backoff Information"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } leaf backoff-seconds { type uint32; units "second"; description "Backoff seconds"; } leaf waiting-seconds { type uint32; units "second"; description "Backoff waiting seconds"; } } // list backoff } // container backoffs container nsr { description "LDP NSR related information"; container nsr-pending { description "LDP NSR Pending related information"; container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container nsr-pending container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container nsr container parameters { description "LDP parameters"; container graceful-restart-information { description "Graceful restart information"; leaf is-graceful-restart-configured { type boolean; description "Is graceful restart configured"; } leaf graceful-restart-reconnect-timeout { type uint32; description "Reconnect timeout value"; } leaf graceful-restart-forwarding-state-hold-time { type uint32; description "Graceful restart forward state hold time"; } } // container graceful-restart-information leaf role-is-active { type boolean; description "Is process role active or standby"; } leaf global-md5-password-enabled { type boolean; description "Global MD5 password enabled"; } leaf protocol-version { type uint32; description "Protocol version"; } leaf router-id { type inet:ipv4-address; description "Router ID"; } leaf keepalive-interval { type uint32; description "Keepalive interval"; } leaf hello-hold-time { type uint32; description "Hello hold time"; } leaf hello-interval { type uint32; description "Hello interval"; } leaf targeted-hello-hold-time { type uint32; description "Targeted hello hold time"; } leaf targeted-hello-interval { type uint32; description "Targeted hello interval"; } leaf session-hold-time { type uint32; description "Session hold time"; } leaf housekeeping-timer-interval { type uint32; description "Housekeeping periodic timer interval"; } leaf le-no-route-timeout { type uint32; description "LIB entry no route timeout"; } leaf ldp-recovery-timeout { type uint32; description "LDP recovery timeout with LSD"; } leaf af-binding-withdraw-delay { type uint32; description "Delay (sec) in Binding Withdrawal for an Address Family"; } leaf max-intf-attached { type uint32; description "Maximum number of LDP enabled attached interfaces"; } leaf max-intf-te { type uint32; description "Maximum number of LDP enabled TE interfaces"; } leaf max-peer { type uint32; description "Maximum number of LDP peers"; } leaf ldp-out-of-mem-state { type uint32; description "LDP Out of memory state"; } leaf nsr-enabled { type boolean; description "TRUE if NSR is enabled"; } leaf nsr-synced { type boolean; description "TRUE if LDP is standby and is NSR Sync-ed with active"; } leaf igp-sync-delay-time-for-interface { type uint32; units "second"; description "Interface IGP sync delay time in seconds"; } leaf igp-sync-delay-time-on-restart { type uint32; units "second"; description "IGP sync delay time on process restart in seconds"; } leaf global-discovery-quick-start-disabled { type boolean; description "Discovery quick-start globally disabled"; } leaf discovery-quick-start-disabled-on-interfaces { type boolean; description "Discovery quick-start disabled on some LDP-enabled interfaces"; } list address-family-parameter { description "Per AF parameters"; container discovery-transport-address { description "Discovery transport address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container discovery-transport-address leaf address-family { type Ldp-af; description "Address Family"; } leaf null-label { type string; description "Null label"; } leaf label-imp-null-override-acl { type string; description "ACL to override local label to use implicit-null"; } leaf is-accepting-targeted-hellos { type boolean; description "Accepting targeted Hellos"; } leaf targeted-hello-acl { type string; description "Targeted Hello ACL"; } } // list address-family-parameter } // container parameters container issu { description "LDP ISSU related information"; container ha-summary { description "LDP HA Summary"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf container sessions { description "Session summary"; leaf total { type uint32; description "Total sessions"; } leaf nsr-eligible { type uint32; description "NSR eligible sessions"; } leaf nsr-state-none { type uint32; description "Number of sessions in NSR none state"; } leaf nsr-state-wait { type uint32; description "Number of sessions in NSR wait state"; } leaf nsr-state-ready { type uint32; description "Number of sessions in NSR ready state"; } leaf nsr-state-prepare { type uint32; description "Number of sessions in NSR prepare state"; } leaf nsr-state-app-wait { type uint32; description "Number of sessions in NSR app-wait state"; } leaf nsr-state-operational { type uint32; description "Number of sessions in NSR operational state"; } leaf nsr-state-tcp-phase1 { type uint32; description "Number of sessions in NSR TCP phase 1 state"; } leaf nsr-state-tcp-phase2 { type uint32; description "Number of sessions in NSR TCP phase 2 state"; } } // container sessions } // container ha-summary container ha-statistics { description "LDP NSR Statistics related information"; container ha-global { description "LDP NSR Global Statistics information"; container init-sync { description "Init Sync"; leaf nsr-cfged { type boolean; description "TRUE if NSR configured"; } leaf nsr-synced { type boolean; description "TRUE if NSR synced"; } leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-peers { type uint32; description "Number of Peers"; } leaf num-cap-sent { type uint32; description "Number of Sent Capabilities objects"; } leaf num-cap-rcvd { type uint32; description "Number of Rcvd Capabilities objects"; } leaf num-pfx { type uint32; description "Number of binding prefixes"; } leaf num-lbl { type uint32; description "Number of label bindings"; } leaf num-lcl-addr-wd { type uint32; description "Num of lcl address withdraw"; } leaf num-lbl-adv { type uint32; description "Num of lbl adv"; } leaf ipc-msg-tx-cnt { type uint32; description "num IPC msgs sent"; } leaf ipc-msg-tx-bytes { type uint32; units "byte"; description "total IPC bytes sent"; } leaf ipc-msg-rx-cnt { type uint32; description "num IPC msgs rxed"; } leaf ipc-msg-rx-bytes { type uint32; description "num IPC msgs rxed"; } leaf ipc-max-tx-batch-bytes { type uint32; units "byte"; description "biggest IPC TX bytes"; } leaf ipc-max-rx-batch-bytes { type uint32; units "byte"; description "biggest IPC RX bytes"; } leaf ipc-tx-fail-cnt { type uint32; description "number of ipc send failures"; } leaf total-ipc-tx-fail-cnt { type uint32; description "total number of ipc send failures"; } leaf ipc-restart-cnt { type uint32; description "number of times ipc has been restarted"; } leaf ipc-default-mtu { type uint32; units "byte"; description "default IPC MTU bytes"; } leaf ipc-exceeded-mtu-msg-cnt { type uint32; description "ipc exceeded mtu msg cnt"; } } // container init-sync } // container ha-global container ha-neighbors { description "The LDP HA Neighbors"; list ha-neighbor { description "Information on a particular LDP HA neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container init-sync-info { description "NSR Init Sync Info"; leaf init-sync-start { type uint32; description "Init Sync Start Time"; } leaf init-sync-end { type uint32; description "Init Sync End Time"; } leaf num-addr { type uint32; description "Number of peer addresses"; } leaf num-duplicate-addr { type uint32; description "Number of duplicate peer addresses"; } leaf num-rx-bytes { type uint32; units "byte"; description "Number of unprocessed Rx buffer bytes"; } leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf num-lbl { type uint32; description "Number of peer bindings"; } leaf num-app-bytes { type uint32; units "byte"; description "Number of external App data bytes"; } } // container init-sync-info container steady-state-sync-info { description "NSR Steady State Sync Info"; leaf num-cap-sent { type uint32; description "Num of Sent Capabilities"; } leaf num-cap-rcvd { type uint32; description "Num of Rcvd Capabilities"; } leaf rem-lbl-wd { type uint32; description "Number of remote label withdraw events"; } leaf rem-lbl-rq { type uint32; description "Number of remote label request events"; } leaf num-stdby-adj-join { type uint32; description "Number of standby adj join"; } leaf num-stdby-adj-leave { type uint32; description "Number of standby adj leave"; } } // container steady-state-sync-info leaf lsr-id-xr { type uint32; description "lsr id xr"; } leaf lbl-spc-id { type uint16; description "lbl spc id"; } leaf nsr-sync-state { type int32; description "nsr sync state"; } leaf num-msg { type uint32; description "Number of sync messages"; } } // list ha-neighbor } // container ha-neighbors } // container ha-statistics } // container issu container neighbor-capabilities { description "LDP Neighbors Capabilities"; list neighbor-capability { description "Information on capabilities of a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // list neighbor-capability } // container neighbor-capabilities container neighbors { description "The LDP Neighbors"; list neighbor { description "Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container protocol-information { description "Protocol Information"; container ta-graceful-restart-adjacency { description "Graceful restart information"; leaf is-graceful-restartable { type boolean; description "Is graceful restartable"; } leaf reconnect-timeout { type uint32; description "Reconnect timeout"; } leaf recovery-time { type uint32; description "Recovery time"; } } // container ta-graceful-restart-adjacency leaf ta-holdtime { type uint32; description "Session holdtime in sec"; } leaf ta-state { type string; description "State"; } leaf ta-pies-sent { type uint32; description "Number of pies sent"; } leaf ta-pies-rcvd { type uint32; description "Number of pies received"; } leaf ta-up-time-seconds { type uint32; units "second"; description "Up time in seconds"; } leaf downstream-on-demand { type boolean; description "Is Label advertisment mode in Downstream On Demand mode or Not"; } } // container protocol-information container tcp-information { description "TCP Information"; container foreign-host { description "Foreign host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container foreign-host container local-host { description "Local host address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-host leaf foreign-port { type uint16; description "Foreign port number"; } leaf local-port { type uint16; description "Local port number"; } leaf is-md5-on { type boolean; description "Is MD5 Digest on"; } } // container tcp-information container detailed-information { description "Detailed information with regards to holdtime, KA, inbound filtering, and Session protection"; container capabilities { description "Capabilities sent to and received from neighbor"; list sent { description "List of sent capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list sent list received { description "List of received capabilities"; leaf type { type uint16; description "Capability type (IANA assigned)"; } leaf description { type string { length "0..80"; } description "Capability description"; } leaf capability-data-length { type uint16; description "Capability data length"; } leaf capability-data { type string; description "Capability data"; } } // list received } // container capabilities leaf peer-holdtime { type uint32; units "second"; description "Session holdtime value in seconds from the peer"; } leaf keep-alive-interval { type uint32; units "second"; description "Session keepalive interval in seconds"; } leaf peer-state { type string { length "0..80"; } description "Peer state"; } leaf has-ipv4-inbound { type boolean; description "IPv4 Inbound label filtering present"; } leaf inbound-ipv4acl { type string { length "0..80"; } description "IPv4 Inbound accept ACL"; } leaf has-ipv6-inbound { type boolean; description "IPv6 Inbound label filtering present"; } leaf inbound-ipv6acl { type string { length "0..80"; } description "IPv6 Inbound accept ACL"; } leaf has-ipv4-outbound { type boolean; description "IPv4 Outbound label filtering present"; } leaf outbound-ipv4acl { type string { length "0..80"; } description "IPv4 Outbound advertise ACL"; } leaf has-ipv6-outbound { type boolean; description "IPv6 Outbound label filtering present"; } leaf outbound-ipv6acl { type string { length "0..80"; } description "IPv6 Outbound advertise ACL"; } leaf has-sp { type boolean; description "Session Protection enabled"; } leaf sp-state { type string { length "0..80"; } description "Session Protection state"; } leaf sp-has-acl { type boolean; description "Session protection ACL is present"; } leaf spacl { type string { length "0..80"; } description "Session Protection ACL"; } leaf sp-has-duration { type boolean; description "Session Protection has non-default duration"; } leaf sp-duration { type uint32; units "second"; description "Session protection holdup time duration in seconds"; } leaf spht-running { type boolean; description "Session Protection holdup timer is running"; } leaf spht-remaining { type uint32; units "second"; description "Session Protection holdup time remaining value in seconds"; } leaf nsr-sync-state { type Mgmt-ldp-nsr-peer-sync-state; description "NSR Sync State"; } leaf nsr-last-sync-error { type Mgmt-ldp-nsr-peer-sync-err; description "Last NSR sync error"; } leaf nsr-last-sync-nack-reason { type Mgmt-ldp-nsr-peer-ldp-sync-nack-rsn; description "Last NSR sync NACK reaston"; } leaf bgp-advertisement-state { type Mgmt-ldp-nbr-bgp-advt-state; description "BGP labelled prefixes advertisement state"; } leaf advertise-bgp-prefixes { type boolean; description "Is BGP labelled prefixes advertised to the neighbor"; } list client { description "Targeted Session clients"; leaf name { type string; description "Client's name"; } } // list client list ipv4-duplicate-address { description "Duplicate IPv4 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv4-duplicate-address list ipv6-duplicate-address { description "Duplicate IPv6 address bound to this peer"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ipv6-duplicate-address } // container detailed-information list ldp-nbr-bound-ipv4-address-info { description "Neighbor IPv4 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv4-address-info list ldp-nbr-bound-ipv6-address-info { description "Neighbor IPv6 Address Info"; container address { description "Neighbor Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container address } // list ldp-nbr-bound-ipv6-address-info list ldp-nbr-ipv4-adj-info { description "Neighbor's IPv4 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv4-adj-info list ldp-nbr-ipv6-adj-info { description "Neighbor's IPv6 Adjacency Information"; container adjacency-group { description "Adjacency group"; container link-hello-data { when "../hello-type = 'link-hello'" { description "../HelloType = 'LinkHello'"; } description "Link hello"; leaf interface { type xr:Interface-name; description "Interface name"; } leaf interface-name { type string; description "Interface name"; } } // container link-hello-data container target-hello-data { when "../hello-type = 'targeted-hello'" { description "../HelloType = 'TargetedHello'"; } description "Target Hello"; container local-address { description "Local Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container local-address container target-address { description "Target Address"; leaf afi { type Ldp-af-id; description "AFI"; } leaf dummy { when "../afi = 'ldp-af-id-none'" { description "../AFI = 'LDP_AF_ID_NONE'"; } type uint8; description "No Address"; } leaf ipv4 { when "../afi = 'ldp-af-id-ipv4'" { description "../AFI = 'LDP_AF_ID_IPV4'"; } type Ldp-in-addr; description "IPv4 address type"; } leaf ipv6 { when "../afi = 'ldp-af-id-ipv6'" { description "../AFI = 'LDP_AF_ID_IPV6'"; } type Ldp-in6-addr; description "IPv6 address type"; } } // container target-address leaf state { type Dhcb-state; description "State"; } } // container target-hello-data leaf hello-type { type Ldp-adj-union-discrim; description "HelloType"; } } // container adjacency-group } // list ldp-nbr-ipv6-adj-info } // list neighbor } // container neighbors container ldp-id { description "Local LDP Id"; leaf lsr-id { type inet:ipv4-address; description "LSR identifier"; } leaf label-space-id { type uint16; description "Label space identifier"; } leaf ldp-id { type string; description "LDP identifier"; } } // container ldp-id container statistics { description "The LDP Statistics"; list statistic { description "Statistical Information on a particular LDP neighbor"; leaf lsr-id { type inet:ipv4-address-no-zone; description "LSR ID of neighbor"; } leaf label-space-id { type uint32 { range "0..65535"; } description "Label space ID of neighbor"; } container message-out { description "Message out count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-out container message-in { description "Message in count"; leaf total-count { type uint32; description "Total message count"; } leaf init-count { type uint32; description "Init message count"; } leaf address-count { type uint32; description "Address message count"; } leaf address-withdraw-count { type uint32; description "Address withdraw count"; } leaf label-map-count { type uint32; description "Label map count"; } leaf label-withdraw-count { type uint32; description "Label withdraw count"; } leaf label-release-count { type uint32; description "Label release count"; } leaf label-request-count { type uint32; description "Label request count"; } leaf label-abort-request-count { type uint32; description "Label abort request count"; } leaf notification-count { type uint32; description "Notification count"; } leaf keep-alive-count { type uint32; description "Keepalive count"; } leaf iccp-rg-conn-count { type uint32; description "ICCP RG Connect count"; } leaf iccp-rg-disconn-count { type uint32; description "ICCP RG Disconnect count"; } leaf iccp-rg-notif-count { type uint32; description "ICCP RG Notif count"; } leaf iccp-rg-app-data-count { type uint32; description "ICCP RG App Data count"; } } // container message-in leaf iccp-enabled { type boolean; description "Is session ICCP enabled?"; } } // list statistic } // container statistics } // list vrf } // container vrfs container discovery-summary-all { description "Summary information regarding LDP discovery"; container vrf { description "VRF information"; leaf name { type string; description "VRF Name"; } leaf id { type uint32; description "VRF Id"; } } // container vrf leaf local-ldp-id { type string; description "Local LDP identifier"; } leaf num-of-ldp-interfaces { type uint32; description "Total Number of LDP configured interfaces"; } leaf num-of-active-ldp-interfaces { type uint32; description "Number of active LDP enabled interfaces"; } leaf num-of-lnk-disc-xmit { type uint32; description "Number of link hello discoveries in xmit state"; } leaf num-of-tgt-disc-xmit { type uint32; description "Number of targeted hello discoveries in xmit state"; } leaf num-of-lnk-disc-recv { type uint32; description "Number of link hello discoveries in recv state"; } leaf num-of-tgt-disc-recv { type uint32; description "Number of targeted hello discoveries in recv state"; } leaf num-of-disc-with-bad-addr-recv { type uint32; description "Number of hello discoveries received with bad source address"; } leaf num-of-disc-with-bad-hello-pdu { type uint32; description "Number of hello discoveries received with bad hello PDU"; } leaf num-of-disc-with-bad-xport-addr { type uint32; description "Number of hello discoveries received with bad export address"; } leaf num-of-disc-with-same-router-id { type uint32; description "Number of hello discoveries received with the same router id as this router"; } leaf num-of-disc-with-wrong-router-id { type uint32; description "Number of hello discoveries received with the router id that is not destined for this router"; } } // container discovery-summary-all } // list node } // container nodes } // container mpls-ldp } // module Cisco-IOS-XR-mpls-ldp-oper
© 2023 YumaWorks, Inc. All rights reserved.