Cisco-IOS-XR-infra-xtc-oper

This module contains a collection of YANG definitions for Cisco IOS-XR infra-xtc package operational data. This module contains...

  • Version: 2021-04-22

    Cisco-IOS-XR-infra-xtc-oper@2021-04-22


    
      module Cisco-IOS-XR-infra-xtc-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper";
    
        prefix infra-xtc-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-infra-xtc-oper-sub1 {
          revision-date "2021-04-22";
        }
    
        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 infra-xtc package operational data.
         
         This module contains definitions
         for the following management objects:
           pce-lsp-data: PCE LSP's data
           pce-peer: PCE peer data
           pce-topology: PCE topology data
           pce: PCE operational data
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-04-22" {
          description
            "Added TE metric field for Flex-algo ASLA.
           2021-04-08
             Change protection type from integer to enum.
           2021-03-31
             Added new enumeration Api-peer-stats-info-oper. Changed type of type in API-PEER-STATS-INFO to use Api-peer-stats-info-oper. This is a non backward compatible change.
           2021-03-04
             Added MSD list per topology link. Added SRLB list per topology node.
           2021-01-29
             Updated SRv6 Endpoint function from int to enum.
           2020-09-16
             Adding operational nodes for new features path invalidation drop protected and unprotected path Operational nodes for PCE segment-routing traffic-eng policy
           2020-09-01
             Added uB6SID field in the LSP object
           2020-08-18
             Added SRv6 LSP details fields in the LSP object
           2020-07-13
             Added NodeID fields in the uN SID object in the IPv6 topology.
           2020-04-20
             Added fields in the PCE IPv6 link object.";
        }
    
        revision "2020-03-17" {
          description
            "Add flex-algo related operational nodes. Updated description of statistics-nodes. Add SR-PAG related operational nodes. Add PCE authentication related operational nodes.
           2020-02-03
           Added TCP AuthenticationOption related operational model. Implemented show pce authentication. Added classes AuthenticationKeyTable and AuthenticationKey.
           2019-11-07
           Adding leaf preference, leaf interface-name, and leaf profile-id to support a new HTTP API bindpoint for sibling PCEs.
           2019-10-09
           Adding enum sr-flex-algo-prefix-sid, enum pce-cspf-flex-algo-definition-mistmatch, leaf flex-algo-prefix-sids, list sr-flex-algo, and container flex-algos to support Flex-algo info.";
        }
    
        revision "2019-10-02" {
          description
            "Added REST peer statistic information.
           2019-09-27
           Implement new show pce lsp and show pce initiated tunnels commands for Optima";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-08-24" {
          description
            "Added C flag to pcep flags.";
        }
    
        revision "2017-06-26" {
          description
            "Change identifiers to be more readable.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2016-05-31" {
          description
            "Revision description string.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "3.0.0";
        semver:module-version "2.0.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Pceigp-protocol {
          type enumeration {
            enum "unknown" {
              value 0;
              description "Unknown protocol";
            }
            enum "isis" {
              value 1;
              description "ISIS protocol";
            }
            enum "ospf" {
              value 2;
              description "OSPF protocol";
            }
            enum "bgp" {
              value 3;
              description "BGP protocol";
            }
            enum "te" {
              value 4;
              description "TE protocol";
            }
          }
          description "Pceigp protocol";
        }
    
        typedef Pce-asso {
          type enumeration {
            enum "unknown" {
              value 0;
              description "Unknown type";
            }
            enum "link" {
              value 1;
              description "LINK";
            }
            enum "node" {
              value 2;
              description "NODE";
            }
            enum "srlg" {
              value 3;
              description "SRLG";
            }
          }
          description "Pce asso";
        }
    
        typedef Xtc-adj-sid-protection {
          type enumeration {
            enum "protected-preferred" {
              value 0;
              description
                "Protected adj SID preferred";
            }
            enum "unprotected-only" {
              value 1;
              description
                "Unprotected adj SID only";
            }
            enum "protected-only" {
              value 2;
              description
                "Protected adj SID only";
            }
            enum "unprotected-preferred" {
              value 3;
              description
                "Unprotected adj SID preferred";
            }
          }
          description "Xtc adj sid protection";
        }
    
        typedef Pce-address-family {
          type enumeration {
            enum "ipv4" {
              value 1;
              description "IPv4 address family";
            }
            enum "ipv6" {
              value 2;
              description "IPv6 address family";
            }
          }
          description "Pce address family";
        }
    
        container pce-lsp-data {
          config false;
          description "PCE LSP's data";
          container tunnel-infos {
            description "Tunnel database in XTC";
            list tunnel-info {
              key "peer-address plsp-id tunnel-name";
              description "Tunnel information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              leaf plsp-id {
                type uint32;
                description "PCEP LSP ID";
              }
    
              leaf tunnel-name {
                type string;
                description "Tunnel name";
              }
    
              container pcc-address {
                description "PCC address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container pcc-address
    
              leaf tunnel-name-xr {
                type string;
                description "Tunnel Name";
              }
    
              list brief-lsp-information {
                description
                  "Brief LSP information";
                container source-address {
                  description "Source address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container source-address
    
                container destination-address {
                  description
                    "Destination address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container destination-address
    
                container srv6-binding-sid {
                  description "SRv6 Binding SID";
                  container binding-sid-prefix {
                    description
                      "SRv6 Binding SID prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container binding-sid-prefix
    
                  container binding-sid-behavior {
                    description
                      "Binding SID behavior";
                    leaf type {
                      type Mgmt-srv6-endpoint;
                      description
                        "Behavior type";
                    }
    
                    leaf description {
                      type string;
                      description
                        "Behavior description";
                    }
                  }  // container binding-sid-behavior
    
                  container structure {
                    description
                      "The SRv6 strucutre of the SID";
                    leaf locator-block-length {
                      type uint8;
                      description "Block Length";
                    }
    
                    leaf locator-node-length {
                      type uint8;
                      description "Node Length";
                    }
    
                    leaf function-length {
                      type uint8;
                      description
                        "Function Length";
                    }
    
                    leaf argument-length {
                      type uint8;
                      description
                        "Argument Length";
                    }
                  }  // container structure
                }  // container srv6-binding-sid
    
                leaf tunnel-id {
                  type uint32;
                  description "Tunnel ID";
                }
    
                leaf lspid {
                  type uint32;
                  description "LSP ID";
                }
    
                leaf binding-sid {
                  type uint32;
                  description "Binding SID";
                }
    
                leaf lsp-setup-type {
                  type Lsp-setup;
                  description "LSP Setup Type";
                }
    
                leaf operational-state {
                  type Pcep-lsp-state;
                  description
                    "Operational state";
                }
    
                leaf administrative-state {
                  type Lsp-state;
                  description
                    "Administrative state";
                }
    
                leaf msd {
                  type uint32;
                  description
                    "Maximum SID Depth";
                }
    
                leaf absolute-margin {
                  type uint32;
                  description "Absolute Margin";
                }
    
                leaf relative-margin {
                  type uint32;
                  description "Relative Margin";
                }
    
                leaf igp-bound {
                  type uint32;
                  description "IGP Metric Bound";
                }
    
                leaf te-bound {
                  type uint32;
                  description "TE Metric Bound";
                }
    
                leaf latency-bound {
                  type uint32;
                  description
                    "Latency Metric Bound";
                }
    
                leaf hop-count-bound {
                  type uint32;
                  description
                    "HopCount Metric Bound";
                }
    
                leaf anycast-sid-inclusion {
                  type uint32;
                  description
                    "Anycast SID Inclusion";
                }
              }  // list brief-lsp-information
            }  // list tunnel-info
          }  // container tunnel-infos
    
          container lsp-summary {
            description
              "LSP summary database in XTC";
            container all-ls-ps {
              description
                "Summary for all peers";
              leaf all-ls-ps {
                type uint32;
                description "Number of all LSPs";
              }
    
              leaf up-ls-ps {
                type uint32;
                description
                  "Number of operational LSPs";
              }
    
              leaf admin-up-ls-ps {
                type uint32;
                description
                  "Number of administratively up LSPs";
              }
    
              leaf sr-ls-ps {
                type uint32;
                description
                  "Number of LSPs with Segment routing setup type";
              }
    
              leaf rsvp-ls-ps {
                type uint32;
                description
                  "Number of LSPs with RSVP setup type";
              }
            }  // container all-ls-ps
    
            list peer-ls-ps-info {
              description
                "Number of LSPs for specific peer";
              container lsp-summary {
                description
                  "Number of LSPs for specific peer";
                leaf all-ls-ps {
                  type uint32;
                  description
                    "Number of all LSPs";
                }
    
                leaf up-ls-ps {
                  type uint32;
                  description
                    "Number of operational LSPs";
                }
    
                leaf admin-up-ls-ps {
                  type uint32;
                  description
                    "Number of administratively up LSPs";
                }
    
                leaf sr-ls-ps {
                  type uint32;
                  description
                    "Number of LSPs with Segment routing setup type";
                }
    
                leaf rsvp-ls-ps {
                  type uint32;
                  description
                    "Number of LSPs with RSVP setup type";
                }
              }  // container lsp-summary
    
              container peer-address {
                description "Peer address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address
            }  // list peer-ls-ps-info
          }  // container lsp-summary
    
          container tunnel-detail-infos {
            description
              "Detailed tunnel database in XTC";
            list tunnel-detail-info {
              key "peer-address plsp-id tunnel-name";
              description
                "Detailed tunnel information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              leaf plsp-id {
                type uint32;
                description "PCEP LSP ID";
              }
    
              leaf tunnel-name {
                type string;
                description "Tunnel name";
              }
    
              container pcc-address {
                description "PCC address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container pcc-address
    
              container private-lsp-information {
                description
                  "Private LSP information";
                list event-buffer {
                  description "LSP Event buffer";
                  leaf event-id {
                    type uint32;
                    description
                      "Event ID in range 1 - 0xFFFFFFFF. 0 is invalid.";
                  }
    
                  leaf event-message {
                    type string;
                    description "Event message";
                  }
    
                  leaf time-stamp {
                    type uint64;
                    description
                      "Event time, relative to Jan 1, 1970";
                  }
                }  // list event-buffer
              }  // container private-lsp-information
    
              leaf tunnel-name-xr {
                type string;
                description "Tunnel Name";
              }
    
              leaf xtc-controlled {
                type boolean;
                description
                  "Allow XTC reoptimizations";
              }
    
              leaf color {
                type uint32;
                description "Color";
              }
    
              leaf interface-name {
                type string;
                description "Interface name";
              }
    
              leaf profile-id {
                type uint16;
                description "Profile ID";
              }
    
              leaf is-zombie {
                type boolean;
                description
                  "PCC has disconnected, but tunnel still kept
    around";
              }
    
              list detail-lsp-information {
                description
                  "Detail LSP information";
                container brief-lsp-information {
                  description
                    "Brief LSP information";
                  container source-address {
                    description "Source address";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container source-address
    
                  container destination-address {
                    description
                      "Destination address";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container destination-address
    
                  container srv6-binding-sid {
                    description
                      "SRv6 Binding SID";
                    container binding-sid-prefix {
                      description
                        "SRv6 Binding SID prefix";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container binding-sid-prefix
    
                    container binding-sid-behavior {
                      description
                        "Binding SID behavior";
                      leaf type {
                        type Mgmt-srv6-endpoint;
                        description
                          "Behavior type";
                      }
    
                      leaf description {
                        type string;
                        description
                          "Behavior description";
                      }
                    }  // container binding-sid-behavior
    
                    container structure {
                      description
                        "The SRv6 strucutre of the SID";
                      leaf locator-block-length {
                        type uint8;
                        description
                          "Block Length";
                      }
    
                      leaf locator-node-length {
                        type uint8;
                        description
                          "Node Length";
                      }
    
                      leaf function-length {
                        type uint8;
                        description
                          "Function Length";
                      }
    
                      leaf argument-length {
                        type uint8;
                        description
                          "Argument Length";
                      }
                    }  // container structure
                  }  // container srv6-binding-sid
    
                  leaf tunnel-id {
                    type uint32;
                    description "Tunnel ID";
                  }
    
                  leaf lspid {
                    type uint32;
                    description "LSP ID";
                  }
    
                  leaf binding-sid {
                    type uint32;
                    description "Binding SID";
                  }
    
                  leaf lsp-setup-type {
                    type Lsp-setup;
                    description "LSP Setup Type";
                  }
    
                  leaf operational-state {
                    type Pcep-lsp-state;
                    description
                      "Operational state";
                  }
    
                  leaf administrative-state {
                    type Lsp-state;
                    description
                      "Administrative state";
                  }
    
                  leaf msd {
                    type uint32;
                    description
                      "Maximum SID Depth";
                  }
    
                  leaf absolute-margin {
                    type uint32;
                    description
                      "Absolute Margin";
                  }
    
                  leaf relative-margin {
                    type uint32;
                    description
                      "Relative Margin";
                  }
    
                  leaf igp-bound {
                    type uint32;
                    description
                      "IGP Metric Bound";
                  }
    
                  leaf te-bound {
                    type uint32;
                    description
                      "TE Metric Bound";
                  }
    
                  leaf latency-bound {
                    type uint32;
                    description
                      "Latency Metric Bound";
                  }
    
                  leaf hop-count-bound {
                    type uint32;
                    description
                      "HopCount Metric Bound";
                  }
    
                  leaf anycast-sid-inclusion {
                    type uint32;
                    description
                      "Anycast SID Inclusion";
                  }
                }  // container brief-lsp-information
    
                container er-os {
                  description "Paths";
                  leaf reported-metric-type {
                    type uint32;
                    description
                      "Reported Metric Type";
                  }
    
                  leaf reported-metric-value {
                    type uint32;
                    description
                      "Reported Metric Value";
                  }
    
                  leaf computed-metric-type {
                    type uint32;
                    description
                      "Computed Metric Type";
                  }
    
                  leaf computed-metric-value {
                    type uint32;
                    description
                      "Computed Metric Value";
                  }
    
                  leaf computed-hop-list-time {
                    type uint32;
                    description
                      "Computed Hop List Time";
                  }
    
                  list reported-rsvp-path {
                    description
                      "Reported RSVP path";
                    leaf hop-address {
                      type inet:ipv4-address;
                      description
                        "RSVP hop address";
                    }
    
                    leaf loose {
                      type boolean;
                      description "Loose hop";
                    }
                  }  // list reported-rsvp-path
    
                  list reported-sr-path {
                    description
                      "Reported SR path";
                    container local-addr {
                      description
                        "Local Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container local-addr
    
                    container remote-addr {
                      description
                        "Remote Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container remote-addr
    
                    container srv6sid {
                      description "SRv6 SID";
                      container endpoint-function {
                        description
                          "Endpoint behavior of the SRv6SID";
                        leaf type {
                          type Mgmt-srv6-endpoint;
                          description
                            "Behavior type";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Behavior description";
                        }
                      }  // container endpoint-function
    
                      container structure {
                        description
                          "The SRv6 strucutre of the SID";
                        leaf locator-block-length {
                          type uint8;
                          description
                            "Block Length";
                        }
    
                        leaf locator-node-length {
                          type uint8;
                          description
                            "Node Length";
                        }
    
                        leaf function-length {
                          type uint8;
                          description
                            "Function Length";
                        }
    
                        leaf argument-length {
                          type uint8;
                          description
                            "Argument Length";
                        }
                      }  // container structure
    
                      leaf srv6sid {
                        type inet:ipv6-address;
                        description
                          "Full SRv6 SID";
                      }
    
                      leaf type {
                        type uint8;
                        description
                          "SRv6 SID Type";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "SRv6 SID flags";
                      }
    
                      leaf algorithm {
                        type uint8;
                        description
                          "Flex-Algo value used for this SRv6SID";
                      }
    
                      leaf weight {
                        type uint8;
                        description "Weight";
                      }
                    }  // container srv6sid
    
                    leaf sid-type {
                      type Pce-sr-sid;
                      description "SID type";
                    }
    
                    leaf mpls-label {
                      type uint32;
                      description "Label";
                    }
    
                    leaf local-interface-index {
                      type uint32;
                      description
                        "SNMP index of the upstream interface of this hop";
                    }
    
                    leaf remote-interface-index {
                      type uint32;
                      description
                        "SNMP index of the downstream interface of this
    hop";
                    }
                  }  // list reported-sr-path
    
                  list computed-rsvp-path {
                    description
                      "Computed RSVP path";
                    leaf hop-address {
                      type inet:ipv4-address;
                      description
                        "RSVP hop address";
                    }
    
                    leaf loose {
                      type boolean;
                      description "Loose hop";
                    }
                  }  // list computed-rsvp-path
    
                  list computed-sr-path {
                    description
                      "Computed SR path";
                    container local-addr {
                      description
                        "Local Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container local-addr
    
                    container remote-addr {
                      description
                        "Remote Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container remote-addr
    
                    container srv6sid {
                      description "SRv6 SID";
                      container endpoint-function {
                        description
                          "Endpoint behavior of the SRv6SID";
                        leaf type {
                          type Mgmt-srv6-endpoint;
                          description
                            "Behavior type";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Behavior description";
                        }
                      }  // container endpoint-function
    
                      container structure {
                        description
                          "The SRv6 strucutre of the SID";
                        leaf locator-block-length {
                          type uint8;
                          description
                            "Block Length";
                        }
    
                        leaf locator-node-length {
                          type uint8;
                          description
                            "Node Length";
                        }
    
                        leaf function-length {
                          type uint8;
                          description
                            "Function Length";
                        }
    
                        leaf argument-length {
                          type uint8;
                          description
                            "Argument Length";
                        }
                      }  // container structure
    
                      leaf srv6sid {
                        type inet:ipv6-address;
                        description
                          "Full SRv6 SID";
                      }
    
                      leaf type {
                        type uint8;
                        description
                          "SRv6 SID Type";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "SRv6 SID flags";
                      }
    
                      leaf algorithm {
                        type uint8;
                        description
                          "Flex-Algo value used for this SRv6SID";
                      }
    
                      leaf weight {
                        type uint8;
                        description "Weight";
                      }
                    }  // container srv6sid
    
                    leaf sid-type {
                      type Pce-sr-sid;
                      description "SID type";
                    }
    
                    leaf mpls-label {
                      type uint32;
                      description "Label";
                    }
    
                    leaf local-interface-index {
                      type uint32;
                      description
                        "SNMP index of the upstream interface of this hop";
                    }
    
                    leaf remote-interface-index {
                      type uint32;
                      description
                        "SNMP index of the downstream interface of this
    hop";
                    }
                  }  // list computed-sr-path
                }  // container er-os
    
                container lsppcep-information {
                  description
                    "PCEP related LSP information";
                  container rsvp-error {
                    description
                      "RSVP error info";
                    leaf node-address {
                      type inet:ipv4-address;
                      description
                        "RSVP error node address";
                    }
    
                    leaf error-flags {
                      type uint8;
                      description
                        "RSVP error flags";
                    }
    
                    leaf error-code {
                      type uint8;
                      description
                        "RSVP error code";
                    }
    
                    leaf error-value {
                      type uint16;
                      description
                        "RSVP error value";
                    }
                  }  // container rsvp-error
    
                  leaf pcepid {
                    type uint32;
                    description
                      "PCE protocol identifier";
                  }
    
                  leaf pcep-flag-d {
                    type boolean;
                    description
                      "PCEP LSP delegation flag";
                  }
    
                  leaf pcep-flag-s {
                    type boolean;
                    description
                      "PCEP LSP state-sync flag";
                  }
    
                  leaf pcep-flag-r {
                    type boolean;
                    description
                      "PCEP LSP remove flag";
                  }
    
                  leaf pcep-flag-a {
                    type boolean;
                    description
                      "PCEP LSP admin flag";
                  }
    
                  leaf pcep-flag-o {
                    type uint8;
                    description
                      "PCEP LSP operation flag";
                  }
    
                  leaf pcep-flag-c {
                    type uint8;
                    description
                      "PCEP LSP initiated flag";
                  }
                }  // container lsppcep-information
    
                container lsp-association-info {
                  description
                    "LSP association information";
                  container association-source {
                    description
                      "Association Source";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container association-source
    
                  leaf association-type {
                    type uint32;
                    description
                      "Association Type";
                  }
    
                  leaf association-id {
                    type uint32;
                    description "Association ID";
                  }
                }  // container lsp-association-info
    
                container lsp-attributes {
                  description "LSP attributes";
                  leaf affinity-exclude-any {
                    type uint32;
                    description
                      "Affinity exclude any";
                  }
    
                  leaf affinity-include-any {
                    type uint32;
                    description
                      "Affinity include any";
                  }
    
                  leaf affinity-include-all {
                    type uint32;
                    description
                      "Affinity include all";
                  }
    
                  leaf setup-priority {
                    type uint8;
                    description "Setup Priority";
                  }
    
                  leaf hold-priority {
                    type uint8;
                    description "Hold Priority";
                  }
    
                  leaf local-protection {
                    type boolean;
                    description
                      "True, if local protection is desired";
                  }
                }  // container lsp-attributes
    
                container sub-delegated-pce {
                  description
                    "Sub delegated PCE";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container sub-delegated-pce
    
                container state-sync-pce {
                  description "State-sync PCE";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container state-sync-pce
    
                container reporting-pcc-address {
                  description
                    "Reporting PCC address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container reporting-pcc-address
    
                container srpag-info {
                  description
                    "SR Policy Association Group";
                  container srpag-asso-source {
                    description
                      "Association Source";
                    leaf af-name {
                      type Xtc-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Xtc-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Xtc-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container srpag-asso-source
    
                  container policy-id-info {
                    description "POL ID";
                    container endpoint {
                      description
                        "Policy endpoint";
                      leaf af-name {
                        type Xtc-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Xtc-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Xtc-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container endpoint
    
                    leaf color {
                      type uint32;
                      description "Policy color";
                    }
                  }  // container policy-id-info
    
                  container policy-name-info {
                    description "POL Name";
                    leaf policy-name {
                      type string;
                      description "Policy name";
                    }
                  }  // container policy-name-info
    
                  container candidate-path-id-info {
                    description "CPATH ID";
                    leaf originator-address {
                      type inet:ipv6-address;
                      description
                        "Originator IPv6 address";
                    }
    
                    leaf originator-asn {
                      type uint32;
                      description
                        "Originator AS number";
                    }
    
                    leaf discriminator {
                      type uint32;
                      description
                        "Discriminator";
                    }
    
                    leaf protocol-origin {
                      type uint8;
                      description
                        "Protocol origin";
                    }
                  }  // container candidate-path-id-info
    
                  container candidate-path-preference {
                    description
                      "CPATH PREFERENCE";
                    leaf preference {
                      type uint32;
                      description "Preference";
                    }
                  }  // container candidate-path-preference
    
                  leaf srpag-asso-id {
                    type uint16;
                    description "Association ID";
                  }
                }  // container srpag-info
    
                leaf signaled-bandwidth-specified {
                  type boolean;
                  description
                    "True if router notifies signal bandwidth";
                }
    
                leaf signaled-bandwidth {
                  type uint64;
                  description
                    "Signaled Bandwidth";
                }
    
                leaf actual-bandwidth-specified {
                  type boolean;
                  description
                    "True if router notifies actual bandwidth";
                }
    
                leaf actual-bandwidth {
                  type uint64;
                  description
                    "Actual bandwidth utilized in the data-plane";
                }
    
                leaf lsp-role {
                  type uint32;
                  description "LSP Role";
                }
    
                leaf computing-pce {
                  type uint32;
                  description "Computing PCE";
                }
    
                leaf preference {
                  type uint32;
                  description "Preference";
                }
    
                leaf protection-type {
                  type uint32;
                  description "Protection Type";
                }
    
                leaf invalidated-traffic-dropped {
                  type boolean;
                  description
                    "Invalidated Traffic Dropped";
                }
    
                leaf-list srlg-info {
                  type uint32;
                  description
                    "List of SLRGs used by LSP";
                }
    
                list rro {
                  description "RRO";
                  container sr-rro {
                    description
                      "Segment Routing RRO info";
                    container local-addr {
                      description
                        "Local Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container local-addr
    
                    container remote-addr {
                      description
                        "Remote Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container remote-addr
    
                    container srv6sid {
                      description "SRv6 SID";
                      container endpoint-function {
                        description
                          "Endpoint behavior of the SRv6SID";
                        leaf type {
                          type Mgmt-srv6-endpoint;
                          description
                            "Behavior type";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Behavior description";
                        }
                      }  // container endpoint-function
    
                      container structure {
                        description
                          "The SRv6 strucutre of the SID";
                        leaf locator-block-length {
                          type uint8;
                          description
                            "Block Length";
                        }
    
                        leaf locator-node-length {
                          type uint8;
                          description
                            "Node Length";
                        }
    
                        leaf function-length {
                          type uint8;
                          description
                            "Function Length";
                        }
    
                        leaf argument-length {
                          type uint8;
                          description
                            "Argument Length";
                        }
                      }  // container structure
    
                      leaf srv6sid {
                        type inet:ipv6-address;
                        description
                          "Full SRv6 SID";
                      }
    
                      leaf type {
                        type uint8;
                        description
                          "SRv6 SID Type";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "SRv6 SID flags";
                      }
    
                      leaf algorithm {
                        type uint8;
                        description
                          "Flex-Algo value used for this SRv6SID";
                      }
    
                      leaf weight {
                        type uint8;
                        description "Weight";
                      }
                    }  // container srv6sid
    
                    leaf sid-type {
                      type Pce-sr-sid;
                      description "SID type";
                    }
    
                    leaf mpls-label {
                      type uint32;
                      description "Label";
                    }
    
                    leaf local-interface-index {
                      type uint32;
                      description
                        "SNMP index of the upstream interface of this hop";
                    }
    
                    leaf remote-interface-index {
                      type uint32;
                      description
                        "SNMP index of the downstream interface of this
    hop";
                    }
                  }  // container sr-rro
    
                  leaf rro-type {
                    type Pce-rro;
                    description "RRO Type";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description
                      "IPv4 address of RRO";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description
                      "MPLS label of RRO";
                  }
    
                  leaf flags {
                    type uint8;
                    description "RRO Flags";
                  }
                }  // list rro
              }  // list detail-lsp-information
            }  // list tunnel-detail-info
          }  // container tunnel-detail-infos
        }  // container pce-lsp-data
    
        container pce-peer {
          config false;
          description "PCE peer data";
          container peer-detail-infos {
            description
              "Detailed peers database in XTC";
            list peer-detail-info {
              key "peer-address";
              description
                "Detailed PCE peer information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              container peer-address-xr {
                description "Peer address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address-xr
    
              container detail-pcep-information {
                description
                  "Detailed PCE protocol information";
                container brief-pcep-information {
                  description
                    "Brief PCE protocol information";
                  leaf pcep-state {
                    type Pcep-state;
                    description "PCEP State";
                  }
    
                  leaf stateful {
                    type boolean;
                    description "Stateful";
                  }
    
                  leaf capability-update {
                    type boolean;
                    description
                      "Update capability";
                  }
    
                  leaf capability-instantiate {
                    type boolean;
                    description
                      "Instantiation capability";
                  }
    
                  leaf capability-segment-routing {
                    type boolean;
                    description
                      "Segment Routing capability";
                  }
    
                  leaf capability-triggered-sync {
                    type boolean;
                    description
                      "Triggered Synchronization capability";
                  }
    
                  leaf capability-db-version {
                    type boolean;
                    description
                      "DB version capability";
                  }
    
                  leaf capability-delta-sync {
                    type boolean;
                    description
                      "Delta Synchronization capability";
                  }
                }  // container brief-pcep-information
    
                container last-error-rx {
                  description
                    "Last PCError received";
                  leaf pc-error-type {
                    type uint8;
                    description
                      "PCEP Error type";
                  }
    
                  leaf pc-error-value {
                    type uint8;
                    description
                      "PCEP Error Value";
                  }
                }  // container last-error-rx
    
                container last-error-tx {
                  description
                    "Last PCError sent";
                  leaf pc-error-type {
                    type uint8;
                    description
                      "PCEP Error type";
                  }
    
                  leaf pc-error-value {
                    type uint8;
                    description
                      "PCEP Error Value";
                  }
                }  // container last-error-tx
    
                container pce-authentication {
                  description
                    "PCE Peer Authentication";
                  leaf authentication-key-type {
                    type Cmn-auth;
                    description
                      "Authentication Key Type";
                  }
    
                  leaf password {
                    type string;
                    description
                      "Authentication Password";
                  }
    
                  leaf authentication-option-include-options-enable {
                    type boolean;
                    description
                      "Include Option Enable";
                  }
    
                  leaf authentication-option-accept-mismatch-enable {
                    type boolean;
                    description
                      "Accept Mismatch Enable";
                  }
                }  // container pce-authentication
    
                leaf error {
                  type string;
                  description
                    "Error (for display only)";
                }
    
                leaf speaker-id {
                  type string;
                  description
                    "Speaker Entity ID";
                }
    
                leaf pcep-up-time {
                  type uint32;
                  description "PCEP Up Time";
                }
    
                leaf keepalives {
                  type uint32;
                  description "Keepalive count";
                }
    
                leaf md5-enabled {
                  type boolean;
                  description
                    "MD5 Authentication Enabled";
                }
    
                leaf authentication-option-keychain-enabled {
                  type boolean;
                  description
                    "AO Keychain based Authentication Enabled";
                }
    
                leaf negotiated-local-keepalive {
                  type uint32;
                  description "Negotiated KA";
                }
    
                leaf negotiated-remote-keepalive {
                  type uint32;
                  description "Negotiated KA";
                }
    
                leaf negotiated-dead-time {
                  type uint32;
                  description "Negotiated DT";
                }
    
                leaf pce-request-rx {
                  type uint32;
                  description "PCEReq Rx";
                }
    
                leaf pce-request-tx {
                  type uint32;
                  description "PCEReq Tx";
                }
    
                leaf pce-reply-rx {
                  type uint32;
                  description "PCERep Rx";
                }
    
                leaf pce-reply-tx {
                  type uint32;
                  description "PCERep Tx";
                }
    
                leaf pce-error-rx {
                  type uint32;
                  description "PCEErr Rx";
                }
    
                leaf pce-error-tx {
                  type uint32;
                  description "PCEErr Tx";
                }
    
                leaf pce-open-tx {
                  type uint32;
                  description "PCEOpen Tx";
                }
    
                leaf pce-open-rx {
                  type uint32;
                  description "PCEOpen Rx";
                }
    
                leaf pce-report-rx {
                  type uint32;
                  description "PCERpt Rx";
                }
    
                leaf pce-report-tx {
                  type uint32;
                  description "PCERpt Tx";
                }
    
                leaf pce-update-rx {
                  type uint32;
                  description "PCEUpd Rx";
                }
    
                leaf pce-update-tx {
                  type uint32;
                  description "PCEUpd Tx";
                }
    
                leaf pce-initiate-rx {
                  type uint32;
                  description "PCEInit Rx";
                }
    
                leaf pce-initiate-tx {
                  type uint32;
                  description "PCEInit Tx";
                }
    
                leaf pce-keepalive-tx {
                  type uint64;
                  description "PCE Keepalive Tx";
                }
    
                leaf pce-keepalive-rx {
                  type uint64;
                  description "PCE Keepalive Rx";
                }
    
                leaf local-session-id {
                  type uint8;
                  description
                    "Local PCEP session ID";
                }
    
                leaf remote-session-id {
                  type uint8;
                  description
                    "Remote PCEP session ID";
                }
    
                leaf minimum-keepalive-interval {
                  type uint8;
                  description
                    "Minimum keepalive interval for the peer";
                }
    
                leaf maximum-dead-interval {
                  type uint8;
                  description
                    "Maximum dead interval for the peer";
                }
    
                leaf max-sid-depth {
                  type uint8;
                  description
                    "Maximum number of labels the peer can impose";
                }
              }  // container detail-pcep-information
    
              leaf peer-protocol {
                type Pce-proto;
                description
                  "Protocol between PCE and peer";
              }
    
              leaf max-sid-depth {
                type uint32;
                description "Maximum SID Depth";
              }
            }  // list peer-detail-info
          }  // container peer-detail-infos
    
          container peer-infos {
            description "Peers database in XTC";
            list peer-info {
              key "peer-address";
              description "PCE peer information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              container peer-address-xr {
                description "Peer address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address-xr
    
              container brief-pcep-information {
                description
                  "PCE protocol information";
                leaf pcep-state {
                  type Pcep-state;
                  description "PCEP State";
                }
    
                leaf stateful {
                  type boolean;
                  description "Stateful";
                }
    
                leaf capability-update {
                  type boolean;
                  description
                    "Update capability";
                }
    
                leaf capability-instantiate {
                  type boolean;
                  description
                    "Instantiation capability";
                }
    
                leaf capability-segment-routing {
                  type boolean;
                  description
                    "Segment Routing capability";
                }
    
                leaf capability-triggered-sync {
                  type boolean;
                  description
                    "Triggered Synchronization capability";
                }
    
                leaf capability-db-version {
                  type boolean;
                  description
                    "DB version capability";
                }
    
                leaf capability-delta-sync {
                  type boolean;
                  description
                    "Delta Synchronization capability";
                }
              }  // container brief-pcep-information
    
              leaf peer-protocol {
                type Pce-proto;
                description
                  "Protocol between PCE and peer";
              }
            }  // list peer-info
          }  // container peer-infos
        }  // container pce-peer
    
        container pce-topology {
          config false;
          description "PCE topology data";
          container remote-prefixes {
            description
              "Remote Prefixes database in PCE";
            list remote-prefix {
              key "remote-pce-id";
              description
                "PCE remote prefix information";
              leaf remote-pce-id {
                type uint32;
                description "Remote PCE ID";
              }
    
              container ip {
                description
                  "Remote prefix IP address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container ip
    
              leaf virtual-node-pce-id {
                type uint32;
                description
                  "Virtual Node PCE ID";
              }
    
              list virtual-link {
                description "virtual links";
                leaf local-pce-id {
                  type uint32;
                  description
                    "Virtual link local PCE ID";
                }
    
                leaf remote-pce-id {
                  type uint32;
                  description
                    "Virtual link remote PCE ID";
                }
    
                leaf local-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Virtual link local IPv4 address";
                }
    
                leaf remote-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Virtual link remote IPv4 address";
                }
    
                leaf metric {
                  type uint32;
                  description
                    "Virtual link metric";
                }
    
                leaf label {
                  type uint32;
                  description
                    "Virtual link SID Label";
                }
              }  // list virtual-link
            }  // list remote-prefix
          }  // container remote-prefixes
    
          container topology-nodes {
            description "Node database in XTC";
            list topology-node {
              key "node-identifier";
              description "Node information";
              leaf node-identifier {
                type uint32;
                description "Node Identifier";
              }
    
              container node-protocol-identifier {
                description
                  "Node protocol identifier";
                leaf node-name {
                  type string;
                  description "Node Name";
                }
    
                leaf ipv4-bgp-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 BGP router ID is set";
                }
    
                leaf ipv4-bgp-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 TE router ID";
                }
    
                leaf ipv4te-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 TE router ID is set";
                }
    
                leaf ipv4te-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 BGP router ID";
                }
    
                leaf ipv6-router-id-set {
                  type boolean;
                  description
                    "True if the IPv6 router ID is set";
                }
    
                leaf ipv6-router-id {
                  type inet:ipv6-address;
                  description "IPv6 Router ID";
                }
    
                list igp-information {
                  description "IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list igp-information
    
                list srgb-information {
                  description "SRGB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRGB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRGB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srgb-information
    
                list sr-algo {
                  description
                    "SR Algo information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
    
                  leaf-list algo-participation {
                    type uint8;
                    description
                      "Algos participated by this node";
                  }
    
                  list flex-algo-advertised-definition {
                    description
                      "Flex-algo definition advertised";
                    leaf number {
                      type uint8;
                      description
                        "Flex-Algo number";
                    }
    
                    leaf local-priority {
                      type uint8;
                      description
                        "Local Priority";
                    }
    
                    leaf metric-type {
                      type Cmn-metric;
                      description "Metric Type";
                    }
    
                    leaf-list aff {
                      type uint32;
                      description
                        "Affinity exclude any";
                    }
    
                    leaf-list affinity-include-any {
                      type uint32;
                      description
                        "Affinity include any";
                    }
    
                    leaf-list affinity-include-all {
                      type uint32;
                      description
                        "Affinity include all";
                    }
                  }  // list flex-algo-advertised-definition
                }  // list sr-algo
    
                list srlb-information {
                  description "SRLB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRLB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRLB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srlb-information
              }  // container node-protocol-identifier
    
              leaf node-identifier-xr {
                type uint32;
                description "Node identifier";
              }
    
              leaf overload {
                type boolean;
                description "Node Overload Bit";
              }
    
              list prefixe {
                description "Prefixes";
                container pfx-sid {
                  description "Prefix SID";
                  container sid-prefix {
                    description "Prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container sid-prefix
    
                  leaf sid-type {
                    type Sid;
                    description "SID Type";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description "MPLS Label";
                  }
    
                  leaf algorithm {
                    type uint32;
                    description
                      "Prefix SID Algorithm";
                  }
    
                  leaf xflag {
                    type boolean;
                    description "X Flag";
                  }
    
                  leaf rflag {
                    type boolean;
                    description "R Flag";
                  }
    
                  leaf nflag {
                    type boolean;
                    description "N Flag";
                  }
    
                  leaf pflag {
                    type boolean;
                    description "P Flag";
                  }
    
                  leaf eflag {
                    type boolean;
                    description "E Flag";
                  }
    
                  leaf vflag {
                    type boolean;
                    description "V Flag";
                  }
    
                  leaf lflag {
                    type boolean;
                    description "L Flag";
                  }
    
                  leaf mflag {
                    type boolean;
                    description "M Flag";
                  }
                }  // container pfx-sid
    
                container node-id {
                  description
                    "Link-state node identifier";
                  container igp {
                    description
                      "IGP-specific information";
                    container isis {
                      when "../igp-id = 'isis'" {
                        description
                          "../IGP_ID = 'ISIS'";
                      }
                      description
                        "ISIS information";
                      leaf system-id {
                        type string;
                        description
                          "ISIS system ID";
                      }
    
                      leaf level {
                        type uint32;
                        description "ISIS level";
                      }
    
                      leaf area {
                        type string;
                        description "ISIS area";
                      }
                    }  // container isis
    
                    container ospf {
                      when "../igp-id = 'ospf'" {
                        description
                          "../IGP_ID = 'OSPF'";
                      }
                      description
                        "OSPF information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "OSPF router ID";
                      }
    
                      leaf area {
                        type uint32;
                        description "OSPF area";
                      }
                    }  // container ospf
    
                    container bgp {
                      when "../igp-id = 'bgp'" {
                        description
                          "../IGP_ID = 'BGP'";
                      }
                      description
                        "BGP information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "BGP router ID";
                      }
    
                      leaf confed-asn {
                        type uint32;
                        description
                          "Confederation ASN";
                      }
                    }  // container bgp
    
                    leaf igp-id {
                      type Pce-igp-info-id;
                      description "IGP ID";
                    }
                  }  // container igp
    
                  leaf autonomous-system-number {
                    type uint32;
                    description
                      "Autonomous System Number";
                  }
    
                  leaf ls-identifier {
                    type uint32;
                    description
                      "Link-State identifier";
                  }
                }  // container node-id
    
                leaf domain-identifier {
                  type uint64;
                  description
                    "Domain identifier";
                }
              }  // list prefixe
    
              list ipv4-link {
                description
                  "IPv4 Link information";
                container local-igp-information {
                  description
                    "Local node IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // container local-igp-information
    
                container remote-node-protocol-identifier {
                  description
                    "Remote node protocol identifier";
                  leaf node-name {
                    type string;
                    description "Node Name";
                  }
    
                  leaf ipv4-bgp-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 BGP router ID is set";
                  }
    
                  leaf ipv4-bgp-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 TE router ID";
                  }
    
                  leaf ipv4te-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 TE router ID is set";
                  }
    
                  leaf ipv4te-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 BGP router ID";
                  }
    
                  leaf ipv6-router-id-set {
                    type boolean;
                    description
                      "True if the IPv6 router ID is set";
                  }
    
                  leaf ipv6-router-id {
                    type inet:ipv6-address;
                    description "IPv6 Router ID";
                  }
    
                  list igp-information {
                    description
                      "IGP information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list igp-information
    
                  list srgb-information {
                    description
                      "SRGB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRGB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRGB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srgb-information
    
                  list sr-algo {
                    description
                      "SR Algo information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
    
                    leaf-list algo-participation {
                      type uint8;
                      description
                        "Algos participated by this node";
                    }
    
                    list flex-algo-advertised-definition {
                      description
                        "Flex-algo definition advertised";
                      leaf number {
                        type uint8;
                        description
                          "Flex-Algo number";
                      }
    
                      leaf local-priority {
                        type uint8;
                        description
                          "Local Priority";
                      }
    
                      leaf metric-type {
                        type Cmn-metric;
                        description
                          "Metric Type";
                      }
    
                      leaf-list aff {
                        type uint32;
                        description
                          "Affinity exclude any";
                      }
    
                      leaf-list affinity-include-any {
                        type uint32;
                        description
                          "Affinity include any";
                      }
    
                      leaf-list affinity-include-all {
                        type uint32;
                        description
                          "Affinity include all";
                      }
                    }  // list flex-algo-advertised-definition
                  }  // list sr-algo
    
                  list srlb-information {
                    description
                      "SRLB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRLB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRLB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srlb-information
                }  // container remote-node-protocol-identifier
    
                container performance-metrics {
                  description
                    "Performance metrics";
                  leaf unidirectional-minimum-delay-microseconds {
                    type uint32;
                    units "microsecond";
                    description
                      "Min delay in microseconds";
                  }
                }  // container performance-metrics
    
                leaf is-unnumbered {
                  type boolean;
                  description
                    "True if this is an IPv4 Unnumbered link";
                }
    
                leaf local-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf remote-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf local-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Local IPv4 address";
                }
    
                leaf remote-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Remote IPv4 address";
                }
    
                leaf igp-metric {
                  type uint32;
                  description "IGP Metric";
                }
    
                leaf te-metric {
                  type uint32;
                  description "TE Metric";
                }
    
                leaf maximum-link-bandwidth {
                  type uint64;
                  description
                    "Max link bandwidth";
                }
    
                leaf max-reservable-bandwidth {
                  type uint64;
                  description
                    "Max Reservable bandwidth";
                }
    
                leaf administrative-groups {
                  type uint32;
                  description
                    "Link admin-groups";
                }
    
                leaf flex-algo-asla-te-metric {
                  type uint32;
                  description
                    "Flex-algo specific Link TE metric";
                }
    
                leaf-list flex-algo-asla-administrative-group {
                  type uint32;
                  description
                    "Flex-algo specific Link Extended admin-groups";
                }
    
                leaf-list srlgs {
                  type uint32;
                  description "SRLG Values";
                }
    
                list adjacency-sid {
                  description "Adjacency SIDs";
                  container sid-prefix {
                    description "Prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container sid-prefix
    
                  leaf sid-type {
                    type Sid;
                    description "SID Type";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description "MPLS Label";
                  }
    
                  leaf algorithm {
                    type uint32;
                    description
                      "Prefix SID Algorithm";
                  }
    
                  leaf xflag {
                    type boolean;
                    description "X Flag";
                  }
    
                  leaf rflag {
                    type boolean;
                    description "R Flag";
                  }
    
                  leaf nflag {
                    type boolean;
                    description "N Flag";
                  }
    
                  leaf pflag {
                    type boolean;
                    description "P Flag";
                  }
    
                  leaf eflag {
                    type boolean;
                    description "E Flag";
                  }
    
                  leaf vflag {
                    type boolean;
                    description "V Flag";
                  }
    
                  leaf lflag {
                    type boolean;
                    description "L Flag";
                  }
    
                  leaf mflag {
                    type boolean;
                    description "M Flag";
                  }
                }  // list adjacency-sid
    
                list msd {
                  description "Advertised MSDs";
                  leaf subtype {
                    type Topo-msd-subtype;
                    description
                      "Subtype of the MSD as defined by IANA";
                  }
    
                  leaf value {
                    type uint8;
                    description "MSD value";
                  }
                }  // list msd
              }  // list ipv4-link
    
              list ipv6-link {
                description
                  "IPv6 Link information";
                container local-igp-information {
                  description
                    "Local node IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // container local-igp-information
    
                container remote-node-protocol-identifier {
                  description
                    "Remote node protocol identifier";
                  leaf node-name {
                    type string;
                    description "Node Name";
                  }
    
                  leaf ipv4-bgp-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 BGP router ID is set";
                  }
    
                  leaf ipv4-bgp-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 TE router ID";
                  }
    
                  leaf ipv4te-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 TE router ID is set";
                  }
    
                  leaf ipv4te-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 BGP router ID";
                  }
    
                  leaf ipv6-router-id-set {
                    type boolean;
                    description
                      "True if the IPv6 router ID is set";
                  }
    
                  leaf ipv6-router-id {
                    type inet:ipv6-address;
                    description "IPv6 Router ID";
                  }
    
                  list igp-information {
                    description
                      "IGP information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list igp-information
    
                  list srgb-information {
                    description
                      "SRGB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRGB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRGB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srgb-information
    
                  list sr-algo {
                    description
                      "SR Algo information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
    
                    leaf-list algo-participation {
                      type uint8;
                      description
                        "Algos participated by this node";
                    }
    
                    list flex-algo-advertised-definition {
                      description
                        "Flex-algo definition advertised";
                      leaf number {
                        type uint8;
                        description
                          "Flex-Algo number";
                      }
    
                      leaf local-priority {
                        type uint8;
                        description
                          "Local Priority";
                      }
    
                      leaf metric-type {
                        type Cmn-metric;
                        description
                          "Metric Type";
                      }
    
                      leaf-list aff {
                        type uint32;
                        description
                          "Affinity exclude any";
                      }
    
                      leaf-list affinity-include-any {
                        type uint32;
                        description
                          "Affinity include any";
                      }
    
                      leaf-list affinity-include-all {
                        type uint32;
                        description
                          "Affinity include all";
                      }
                    }  // list flex-algo-advertised-definition
                  }  // list sr-algo
    
                  list srlb-information {
                    description
                      "SRLB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRLB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRLB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srlb-information
                }  // container remote-node-protocol-identifier
    
                container performance-metrics {
                  description
                    "Performance metrics";
                  leaf unidirectional-minimum-delay-microseconds {
                    type uint32;
                    units "microsecond";
                    description
                      "Min delay in microseconds";
                  }
                }  // container performance-metrics
    
                leaf is-unnumbered {
                  type boolean;
                  description
                    "True if this is an IPv6 Unnumbered link";
                }
    
                leaf local-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf remote-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf local-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Local IPv6 address";
                }
    
                leaf remote-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Remote IPv6 address";
                }
    
                leaf igp-metric {
                  type uint32;
                  description "IGP Metric";
                }
    
                leaf te-metric {
                  type uint32;
                  description "TE Metric";
                }
    
                leaf maximum-link-bandwidth {
                  type uint64;
                  description
                    "Max link bandwidth";
                }
    
                leaf max-reservable-bandwidth {
                  type uint64;
                  description
                    "Max Reservable bandwidth";
                }
    
                leaf administrative-groups {
                  type uint32;
                  description
                    "Link admin-groups";
                }
    
                leaf flex-algo-asla-te-metric {
                  type uint32;
                  description
                    "Flex-algo specific Link TE metric";
                }
    
                leaf-list srlgs {
                  type uint32;
                  description "SRLG Values";
                }
    
                leaf-list flex-algo-asla-administrative-group {
                  type uint32;
                  description
                    "Flex-algo specific Link Extended admin-groups";
                }
    
                list adjacency-sid {
                  description "Adjacency SIDs";
                  container sid-prefix {
                    description "Prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container sid-prefix
    
                  leaf sid-type {
                    type Sid;
                    description "SID Type";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description "MPLS Label";
                  }
    
                  leaf algorithm {
                    type uint32;
                    description
                      "Prefix SID Algorithm";
                  }
    
                  leaf xflag {
                    type boolean;
                    description "X Flag";
                  }
    
                  leaf rflag {
                    type boolean;
                    description "R Flag";
                  }
    
                  leaf nflag {
                    type boolean;
                    description "N Flag";
                  }
    
                  leaf pflag {
                    type boolean;
                    description "P Flag";
                  }
    
                  leaf eflag {
                    type boolean;
                    description "E Flag";
                  }
    
                  leaf vflag {
                    type boolean;
                    description "V Flag";
                  }
    
                  leaf lflag {
                    type boolean;
                    description "L Flag";
                  }
    
                  leaf mflag {
                    type boolean;
                    description "M Flag";
                  }
                }  // list adjacency-sid
    
                list srv6-adjacency-sid {
                  description
                    "SRv6 Adjacecny micro-SIDs";
                  container endpoint-function {
                    description
                      "Endpoint behavior of the SRv6SID";
                    leaf type {
                      type Mgmt-srv6-endpoint;
                      description
                        "Behavior type";
                    }
    
                    leaf description {
                      type string;
                      description
                        "Behavior description";
                    }
                  }  // container endpoint-function
    
                  container structure {
                    description
                      "The SRv6 strucutre of the SID";
                    leaf locator-block-length {
                      type uint8;
                      description "Block Length";
                    }
    
                    leaf locator-node-length {
                      type uint8;
                      description "Node Length";
                    }
    
                    leaf function-length {
                      type uint8;
                      description
                        "Function Length";
                    }
    
                    leaf argument-length {
                      type uint8;
                      description
                        "Argument Length";
                    }
                  }  // container structure
    
                  leaf srv6sid {
                    type inet:ipv6-address;
                    description "Full SRv6 SID";
                  }
    
                  leaf type {
                    type uint8;
                    description "SRv6 SID Type";
                  }
    
                  leaf flags {
                    type uint8;
                    description "SRv6 SID flags";
                  }
    
                  leaf algorithm {
                    type uint8;
                    description
                      "Flex-Algo value used for this SRv6SID";
                  }
    
                  leaf weight {
                    type uint8;
                    description "Weight";
                  }
                }  // list srv6-adjacency-sid
    
                list msd {
                  description "Advertised MSDs";
                  leaf subtype {
                    type Topo-msd-subtype;
                    description
                      "Subtype of the MSD as defined by IANA";
                  }
    
                  leaf value {
                    type uint8;
                    description "MSD value";
                  }
                }  // list msd
              }  // list ipv6-link
    
              list srv6-node-sid {
                description
                  "SRv6 Node micro-SIDs";
                container srv6sid {
                  description "SRv6 node SID";
                  container endpoint-function {
                    description
                      "Endpoint behavior of the SRv6SID";
                    leaf type {
                      type Mgmt-srv6-endpoint;
                      description
                        "Behavior type";
                    }
    
                    leaf description {
                      type string;
                      description
                        "Behavior description";
                    }
                  }  // container endpoint-function
    
                  container structure {
                    description
                      "The SRv6 strucutre of the SID";
                    leaf locator-block-length {
                      type uint8;
                      description "Block Length";
                    }
    
                    leaf locator-node-length {
                      type uint8;
                      description "Node Length";
                    }
    
                    leaf function-length {
                      type uint8;
                      description
                        "Function Length";
                    }
    
                    leaf argument-length {
                      type uint8;
                      description
                        "Argument Length";
                    }
                  }  // container structure
    
                  leaf srv6sid {
                    type inet:ipv6-address;
                    description "Full SRv6 SID";
                  }
    
                  leaf type {
                    type uint8;
                    description "SRv6 SID Type";
                  }
    
                  leaf flags {
                    type uint8;
                    description "SRv6 SID flags";
                  }
    
                  leaf algorithm {
                    type uint8;
                    description
                      "Flex-Algo value used for this SRv6SID";
                  }
    
                  leaf weight {
                    type uint8;
                    description "Weight";
                  }
                }  // container srv6sid
    
                container node-id {
                  description
                    "Link-state node identifier";
                  container igp {
                    description
                      "IGP-specific information";
                    container isis {
                      when "../igp-id = 'isis'" {
                        description
                          "../IGP_ID = 'ISIS'";
                      }
                      description
                        "ISIS information";
                      leaf system-id {
                        type string;
                        description
                          "ISIS system ID";
                      }
    
                      leaf level {
                        type uint32;
                        description "ISIS level";
                      }
    
                      leaf area {
                        type string;
                        description "ISIS area";
                      }
                    }  // container isis
    
                    container ospf {
                      when "../igp-id = 'ospf'" {
                        description
                          "../IGP_ID = 'OSPF'";
                      }
                      description
                        "OSPF information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "OSPF router ID";
                      }
    
                      leaf area {
                        type uint32;
                        description "OSPF area";
                      }
                    }  // container ospf
    
                    container bgp {
                      when "../igp-id = 'bgp'" {
                        description
                          "../IGP_ID = 'BGP'";
                      }
                      description
                        "BGP information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "BGP router ID";
                      }
    
                      leaf confed-asn {
                        type uint32;
                        description
                          "Confederation ASN";
                      }
                    }  // container bgp
    
                    leaf igp-id {
                      type Pce-igp-info-id;
                      description "IGP ID";
                    }
                  }  // container igp
    
                  leaf autonomous-system-number {
                    type uint32;
                    description
                      "Autonomous System Number";
                  }
    
                  leaf ls-identifier {
                    type uint32;
                    description
                      "Link-State identifier";
                  }
                }  // container node-id
    
                leaf domain-identifier {
                  type uint64;
                  description
                    "Domain identifier";
                }
              }  // list srv6-node-sid
            }  // list topology-node
          }  // container topology-nodes
    
          container topology-summaries {
            description
              "Node summary database in XTC";
            list topology-summary {
              description
                "Node summary database in XTC";
              leaf af {
                type Pce-address-family;
                description
                  "Only show data related to the specified
    address family";
              }
    
              leaf protocol {
                type Pceigp-protocol;
                description
                  "Match nodes from the specified IGP protocol";
              }
    
              container stats-topology-update {
                description
                  "Statistics on topology update";
                leaf num-nodes-added {
                  type uint32;
                  description
                    "Number of nodes added";
                }
    
                leaf num-nodes-deleted {
                  type uint32;
                  description
                    "Number of nodes deleted";
                }
    
                leaf num-links-added {
                  type uint32;
                  description
                    "Number of links added";
                }
    
                leaf num-links-deleted {
                  type uint32;
                  description
                    "Number of links deleted";
                }
    
                leaf num-prefixes-added {
                  type uint32;
                  description
                    "Number of prefixes added";
                }
    
                leaf num-prefixes-deleted {
                  type uint32;
                  description
                    "Number of prefixes deleted";
                }
              }  // container stats-topology-update
    
              container topology-ready-summary {
                description
                  "Topology ready summary";
                container timer {
                  description
                    "Topology readiness timer";
                  leaf running {
                    type boolean;
                    description
                      "Whether the timer is running";
                  }
    
                  leaf remaining-seconds {
                    type int64;
                    units "second";
                    description
                      "Number of remaining seconds";
                  }
    
                  leaf remaining-nano-seconds {
                    type int64;
                    units "nanosecond";
                    description
                      "Number of remaining nanoseconds";
                  }
                }  // container timer
    
                leaf ready {
                  type boolean;
                  description
                    "Topology readiness";
                }
    
                leaf pcep-allowed {
                  type boolean;
                  description
                    "Whether PCEP is allowed";
                }
    
                leaf ha-case {
                  type Cmn-ha-case;
                  description "Last HA case";
                }
    
                leaf timer-value {
                  type uint32;
                  description
                    "Topology ready timer value selected at start";
                }
              }  // container topology-ready-summary
    
              leaf nodes {
                type uint32;
                description
                  "Number of PCE nodes";
              }
    
              leaf lookup-nodes {
                type uint32;
                description
                  "Number of lookup nodes";
              }
    
              leaf prefixes {
                type uint32;
                description "Number of prefixes";
              }
    
              leaf prefix-sids {
                type uint32;
                description
                  "Number of total prefix SIDs";
              }
    
              leaf regular-prefix-sids {
                type uint32;
                description
                  "Number of reguar prefix SIDs";
              }
    
              leaf strict-prefix-sids {
                type uint32;
                description
                  "Number of strict prefix SIDs";
              }
    
              leaf flex-algo-prefix-sids {
                type uint32;
                description
                  "Number of flex-algo prefix SIDs";
              }
    
              leaf links {
                type uint32;
                description "Number of links";
              }
    
              leaf epe-links {
                type uint32;
                description
                  "Number of EPE links";
              }
    
              leaf adjacency-sids {
                type uint32;
                description
                  "Number of total adjacency SIDs";
              }
    
              leaf epesids {
                type uint32;
                description
                  "Number of total EPE SIDs";
              }
    
              leaf protected-adjacency-sids {
                type uint32;
                description
                  "Number of protected adjacency SIDs";
              }
    
              leaf un-protected-adjacency-sids {
                type uint32;
                description
                  "Number of unprotected adjacency SIDs";
              }
    
              leaf topology-consistent {
                type boolean;
                description
                  "True if topology is consistent";
              }
            }  // list topology-summary
          }  // container topology-summaries
    
          container prefix-infos {
            description
              "Prefixes database in XTC";
            list prefix-info {
              key "node-identifier";
              description
                "PCE prefix information";
              leaf node-identifier {
                type uint32;
                description "Node ID";
              }
    
              container node-protocol-identifier {
                description
                  "Node protocol identifier";
                leaf node-name {
                  type string;
                  description "Node Name";
                }
    
                leaf ipv4-bgp-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 BGP router ID is set";
                }
    
                leaf ipv4-bgp-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 TE router ID";
                }
    
                leaf ipv4te-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 TE router ID is set";
                }
    
                leaf ipv4te-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 BGP router ID";
                }
    
                leaf ipv6-router-id-set {
                  type boolean;
                  description
                    "True if the IPv6 router ID is set";
                }
    
                leaf ipv6-router-id {
                  type inet:ipv6-address;
                  description "IPv6 Router ID";
                }
    
                list igp-information {
                  description "IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list igp-information
    
                list srgb-information {
                  description "SRGB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRGB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRGB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srgb-information
    
                list sr-algo {
                  description
                    "SR Algo information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
    
                  leaf-list algo-participation {
                    type uint8;
                    description
                      "Algos participated by this node";
                  }
    
                  list flex-algo-advertised-definition {
                    description
                      "Flex-algo definition advertised";
                    leaf number {
                      type uint8;
                      description
                        "Flex-Algo number";
                    }
    
                    leaf local-priority {
                      type uint8;
                      description
                        "Local Priority";
                    }
    
                    leaf metric-type {
                      type Cmn-metric;
                      description "Metric Type";
                    }
    
                    leaf-list aff {
                      type uint32;
                      description
                        "Affinity exclude any";
                    }
    
                    leaf-list affinity-include-any {
                      type uint32;
                      description
                        "Affinity include any";
                    }
    
                    leaf-list affinity-include-all {
                      type uint32;
                      description
                        "Affinity include all";
                    }
                  }  // list flex-algo-advertised-definition
                }  // list sr-algo
    
                list srlb-information {
                  description "SRLB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRLB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRLB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srlb-information
              }  // container node-protocol-identifier
    
              leaf node-identifier-xr {
                type uint32;
                description "Node identifier";
              }
    
              list address {
                description "Prefix address";
                container ip {
                  description
                    "Prefix IP address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container ip
              }  // list address
            }  // list prefix-info
          }  // container prefix-infos
        }  // container pce-topology
    
        container pce {
          config false;
          description "PCE operational data";
          container authentication-keys {
            description "Authentication keys";
            list authentication-key {
              key "ip-address";
              description "PCE peer IP address";
              leaf ip-address {
                type inet:ip-address-no-zone;
                description "IP address";
              }
    
              container peer-address {
                description "Peer address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address
    
              container authentication-option {
                description
                  "Authentication Option information";
                leaf authentication-key-type {
                  type Cmn-auth;
                  description
                    "Authentication Key Type";
                }
    
                leaf password {
                  type string;
                  description
                    "Authentication Password";
                }
    
                leaf authentication-option-include-options-enable {
                  type boolean;
                  description
                    "Include Option Enable";
                }
    
                leaf authentication-option-accept-mismatch-enable {
                  type boolean;
                  description
                    "Accept Mismatch Enable";
                }
              }  // container authentication-option
            }  // list authentication-key
          }  // container authentication-keys
    
          container cspf-sr-mpls {
            description
              "CSPF for SR MPLS path info";
            container cspf-sr-mpls-paths {
              description
                "This table models the path calculation
               capabilities in XTC.A GET operation for the
               complete table will return no entries.";
              list cspf-sr-mpls-path {
                description
                  "A GET operation on this class returns the path
                 .";
                leaf af {
                  type uint32;
                  description "Address Family";
                }
    
                leaf source1 {
                  type inet:ip-address-no-zone;
                  description "Source of path 1";
                }
    
                leaf destination1 {
                  type inet:ip-address-no-zone;
                  description
                    "Destination of path 1";
                }
    
                leaf metric-type {
                  type uint32;
                  description "Metric type";
                }
    
                leaf source2 {
                  type inet:ip-address-no-zone;
                  description "Source of path 2";
                }
    
                leaf destination2 {
                  type inet:ip-address-no-zone;
                  description
                    "Destination of path 2";
                }
    
                leaf disjoint-level {
                  type uint32;
                  description
                    "Disjointness level";
                }
    
                leaf disjoint-strict {
                  type uint32;
                  description
                    "Strict disjointness required";
                }
    
                leaf shortest-path {
                  type uint32;
                  description
                    "Whether path 1 or 2 should be shortest";
                }
    
                leaf msd1 {
                  type uint32;
                  description "MSD for path 1";
                }
    
                leaf msd2 {
                  type uint32;
                  description "MSD for path 2";
                }
    
                leaf relative-margin {
                  type uint32;
                  description "Relative Margin";
                }
    
                leaf absolute-margin {
                  type uint32;
                  description "Absolute Margin";
                }
    
                leaf affinity-include-all {
                  type uint32;
                  description
                    "Affinity include-all constraint";
                }
    
                leaf affinity-include-any {
                  type uint32;
                  description
                    "Affinity include-any constraint";
                }
    
                leaf affinity-exclude-any {
                  type uint32;
                  description
                    "Affinity exclude-any constraint";
                }
    
                leaf protection-type1 {
                  type Xtc-adj-sid-protection;
                  description
                    "Protection type for path 1";
                }
    
                leaf protection-type2 {
                  type Xtc-adj-sid-protection;
                  description
                    "Protection type for path 2";
                }
    
                leaf flex-algo {
                  type uint32;
                  description "Flex Algo number";
                }
    
                leaf anycast-include {
                  type boolean;
                  description
                    "Perform anycast SID inclusion";
                }
    
                leaf cspf-result {
                  type Pce-cspf-rc;
                  description
                    "Result of the computation";
                }
    
                leaf iterations-done {
                  type uint32;
                  description
                    "Iterations performed of the Suurballe-Tarjan
    algorithm";
                }
    
                list output-path {
                  description
                    "Output SR MPLS paths";
                  container source {
                    description "Source of path";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container source
    
                  container destination {
                    description
                      "Destination of path";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container destination
    
                  leaf cost {
                    type uint64;
                    description "Cost";
                  }
    
                  list hops {
                    description "SR hops";
                    container local-addr {
                      description
                        "Local Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container local-addr
    
                    container remote-addr {
                      description
                        "Remote Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container remote-addr
    
                    container srv6sid {
                      description "SRv6 SID";
                      container endpoint-function {
                        description
                          "Endpoint behavior of the SRv6SID";
                        leaf type {
                          type Mgmt-srv6-endpoint;
                          description
                            "Behavior type";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Behavior description";
                        }
                      }  // container endpoint-function
    
                      container structure {
                        description
                          "The SRv6 strucutre of the SID";
                        leaf locator-block-length {
                          type uint8;
                          description
                            "Block Length";
                        }
    
                        leaf locator-node-length {
                          type uint8;
                          description
                            "Node Length";
                        }
    
                        leaf function-length {
                          type uint8;
                          description
                            "Function Length";
                        }
    
                        leaf argument-length {
                          type uint8;
                          description
                            "Argument Length";
                        }
                      }  // container structure
    
                      leaf srv6sid {
                        type inet:ipv6-address;
                        description
                          "Full SRv6 SID";
                      }
    
                      leaf type {
                        type uint8;
                        description
                          "SRv6 SID Type";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "SRv6 SID flags";
                      }
    
                      leaf algorithm {
                        type uint8;
                        description
                          "Flex-Algo value used for this SRv6SID";
                      }
    
                      leaf weight {
                        type uint8;
                        description "Weight";
                      }
                    }  // container srv6sid
    
                    leaf sid-type {
                      type Pce-sr-sid;
                      description "SID type";
                    }
    
                    leaf mpls-label {
                      type uint32;
                      description "Label";
                    }
    
                    leaf local-interface-index {
                      type uint32;
                      description
                        "SNMP index of the upstream interface of this hop";
                    }
    
                    leaf remote-interface-index {
                      type uint32;
                      description
                        "SNMP index of the downstream interface of this
    hop";
                    }
                  }  // list hops
                }  // list output-path
              }  // list cspf-sr-mpls-path
            }  // container cspf-sr-mpls-paths
          }  // container cspf-sr-mpls
    
          container segment-routing {
            description
              "Segment-Routing related data";
            container traffic-engineering {
              description
                "Traffic-engineering related data";
              container policies {
                description "PCE policies";
                list policy {
                  description "PCE policy";
                  leaf pcc-address {
                    type inet:ip-address-no-zone;
                    description "PCC Address";
                  }
    
                  leaf policy-name {
                    type xr:Cisco-ios-xr-string;
                    description "Policy Name";
                  }
    
                  container pcc-address-xr {
                    description
                      "Path computation client address";
                    leaf af-name {
                      type Xtc-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Xtc-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Xtc-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container pcc-address-xr
    
                  container end-point {
                    description
                      "End-point of the policy";
                    leaf af-name {
                      type Xtc-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Xtc-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Xtc-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container end-point
    
                  leaf interface-name {
                    type string;
                    description
                      "Name of the interface";
                  }
    
                  leaf color {
                    type uint32;
                    description
                      "Color of the policy";
                  }
    
                  list candidate-path {
                    description
                      "Array of candidate-paths";
                    leaf name {
                      type string;
                      description
                        "Name of the candidate-path";
                    }
    
                    leaf plsp-id {
                      type uint32;
                      description
                        "PLSP-ID pf tje candidate-path";
                    }
    
                    leaf active-flag {
                      type boolean;
                      description
                        "Flag to mention if the candidate-path is
    currently active";
                    }
                  }  // list candidate-path
                }  // list policy
              }  // container policies
            }  // container traffic-engineering
          }  // container segment-routing
    
          container verification-events {
            description
              "PCE Verification events in XTC";
            list verification-event {
              key "event-idx";
              description
                "PCE single verification event";
              leaf event-idx {
                type uint32;
                description "Index of an event";
              }
    
              leaf event-id {
                type uint32;
                description
                  "Event ID in range 1 - 0xFFFFFFFF. 0 is invalid.";
              }
    
              leaf event-message {
                type string;
                description "Event message";
              }
    
              leaf time-stamp {
                type uint64;
                description
                  "Event time, relative to Jan 1, 1970";
              }
            }  // list verification-event
          }  // container verification-events
    
          container api {
            description "PCE API details";
            container sibling {
              description "PCE sibling";
              container synced-lsps {
                description "Synced LSP table";
                list synced-lsp {
                  description
                    "Synced LSP details";
                  leaf pcc-address {
                    type inet:ip-address-no-zone;
                    description "PCC Address";
                  }
    
                  leaf lsp-name {
                    type string;
                    description
                      "Name of the synced LSP";
                  }
    
                  leaf remote-flag {
                    type boolean;
                    description
                      "Flag to indicate lsp data is remote";
                  }
    
                  container actual-pcc-address {
                    description
                      "Actual address of PCC peer where the PCInitiate
    was sent";
                    leaf af-name {
                      type Xtc-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Xtc-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Xtc-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container actual-pcc-address
    
                  container requested-pcc-address {
                    description
                      "Requested address of PCC peer used by the
    creator of LSP";
                    leaf af-name {
                      type Xtc-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Xtc-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Xtc-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container requested-pcc-address
    
                  container affinity {
                    description "Affinity";
                    leaf exclude-any {
                      type uint32;
                      description "Exclude any";
                    }
    
                    leaf include-any {
                      type uint32;
                      description "Include any";
                    }
    
                    leaf include-all {
                      type uint32;
                      description "Include all";
                    }
                  }  // container affinity
    
                  container disjointness {
                    description "Disjointness";
                    container association-information {
                      description
                        "Association information";
                      container association-source {
                        description
                          "Association Source";
                        leaf af-name {
                          type Pce-af-id;
                          description "AFName";
                        }
    
                        leaf ipv4 {
                          when
                            "../af-name = 'ipv4'" {
                            description
                              "../AFName = 'IPv4'";
                          }
                          type Pce-ipv4-address;
                          description
                            "IPv4 address type";
                        }
    
                        leaf ipv6 {
                          when
                            "../af-name = 'ipv6'" {
                            description
                              "../AFName = 'IPv6'";
                          }
                          type Pce-ipv6-address;
                          description
                            "IPv6 address type";
                        }
                      }  // container association-source
    
                      leaf association-type {
                        type uint32;
                        description
                          "Association Type";
                      }
    
                      leaf association-id {
                        type uint32;
                        description
                          "Association ID";
                      }
                    }  // container association-information
    
                    leaf fallback {
                      type boolean;
                      description
                        "Fallback flag";
                    }
                  }  // container disjointness
    
                  leaf lsp-name-xr {
                    type string;
                    description
                      "Name of the LSP";
                  }
    
                  leaf remote-ls-pdata {
                    type boolean;
                    description
                      "Flag to indicate whether this is remote lsp data
    or a local copy";
                  }
    
                  leaf protected {
                    type boolean;
                    description
                      "Flag to indicate if protected path is required";
                  }
    
                  leaf allow-xtc-reoptimization {
                    type boolean;
                    description
                      "Flag to indicate if reoptimization is allowed";
                  }
                }  // list synced-lsp
              }  // container synced-lsps
    
              container connection {
                description
                  "Connection information";
                container address {
                  description
                    "Address of sibling";
                  leaf af-name {
                    type Xtc-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Xtc-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Xtc-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container address
    
                leaf connected {
                  type boolean;
                  description
                    "Flag indicating the connection status";
                }
    
                leaf packet-read-size {
                  type uint32;
                  description
                    "Input buffer data size";
                }
    
                leaf packet-write {
                  type uint32;
                  description
                    "Packets in output buffer";
                }
              }  // container connection
            }  // container sibling
          }  // container api
    
          container p2mp-policies {
            description
              "P2MP policy database in SR-PCE";
            list p2mp-policy {
              key "name";
              description "Policy information";
              leaf name {
                type xr:Cisco-ios-xr-string;
                description "Policy name";
              }
    
              container attribute-info {
                description "TreeSID attributes";
                leaf affinity-exclude-any {
                  type uint32;
                  description
                    "Affinity exclude any";
                }
    
                leaf affinity-include-any {
                  type uint32;
                  description
                    "Affinity include any";
                }
    
                leaf affinity-include-all {
                  type uint32;
                  description
                    "Affinity include all";
                }
    
                leaf setup-priority {
                  type uint8;
                  description "Setup Priority";
                }
    
                leaf hold-priority {
                  type uint8;
                  description "Hold Priority";
                }
    
                leaf local-protection {
                  type boolean;
                  description
                    "True, if local protection is desired";
                }
              }  // container attribute-info
    
              leaf name-xr {
                type string;
                description
                  "Name of the TreeSID";
              }
    
              leaf metric-type {
                type uint8;
                description
                  "Metric type of the TreeSID";
              }
    
              leaf error {
                type string;
                description
                  "Last path computation error";
              }
    
              leaf label {
                type uint32;
                description "SID of the TreeSID";
              }
    
              leaf source-address {
                type inet:ipv4-address;
                description
                  "Address of the source node";
              }
    
              leaf pcc-address {
                type inet:ipv4-address;
                description
                  "PCC Address of the source node";
              }
    
              leaf operational-state {
                type boolean;
                description "Operational state";
              }
    
              leaf administrative-state {
                type boolean;
                description
                  "Administrative state";
              }
    
              leaf lfa-protected {
                type boolean;
                description
                  "LFA Protection enabled?";
              }
    
              leaf from-checkpoint {
                type boolean;
                description
                  "Created from checkpoint database?";
              }
    
              leaf pcc-initiated {
                type boolean;
                description "Initiated by PCC?";
              }
    
              leaf state {
                type Pce-treesid-state;
                description
                  "State of the TreeSID (ie, pending operation)";
              }
    
              leaf uptime {
                type uint32;
                units "second";
                description
                  "Uptime of the tunnel in seconds";
              }
    
              leaf transition-count {
                type uint32;
                description
                  "Number of transitions between operational
    up/down";
              }
    
              leaf tree-id-xr {
                type uint32;
                description "TreeSID Tree-ID";
              }
    
              leaf-list destination-address {
                type inet:ipv4-address;
                description
                  "List of destination addresses";
              }
    
              list nodes {
                description
                  "List of nodes associated with this TreeSID";
                leaf prefix-address {
                  type inet:ipv4-address;
                  description
                    "Node prefix address";
                }
    
                leaf name {
                  type string;
                  description "Node name";
                }
    
                leaf role {
                  type Pce-treesid-role;
                  description "Node role";
                }
    
                leaf awaiting-report {
                  type boolean;
                  description "Awaiting report";
                }
    
                leaf stale {
                  type boolean;
                  description "Stale node";
                }
    
                list next-hop {
                  description "Next hops";
                  leaf next-hop-address {
                    type inet:ipv4-address;
                    description
                      "Next hop remote address";
                  }
    
                  leaf next-hop-label {
                    type uint32;
                    description
                      "Next hop outgoing label";
                  }
    
                  leaf next-hop-node-address {
                    type inet:ipv4-address;
                    description
                      "Next hop node address";
                  }
    
                  leaf next-hop-node-name {
                    type string;
                    description
                      "Next hop node name";
                  }
    
                  leaf stale {
                    type boolean;
                    description
                      "Stale hop; will be removed in next update";
                  }
    
                  leaf central-control-identifier {
                    type uint32;
                    description
                      "Identifier for Central Control instructions";
                  }
    
                  leaf fast-reroute {
                    type boolean;
                    description
                      "Fast Re-route to hop remote node";
                  }
                }  // list next-hop
              }  // list nodes
    
              list event {
                description "Events";
                leaf event-id {
                  type uint32;
                  description
                    "Event ID in range 1 - 0xFFFFFFFF. 0 is invalid.";
                }
    
                leaf event-message {
                  type string;
                  description "Event message";
                }
    
                leaf time-stamp {
                  type uint64;
                  description
                    "Event time, relative to Jan 1, 1970";
                }
              }  // list event
            }  // list p2mp-policy
          }  // container p2mp-policies
    
          container peer-summaries {
            description
              "Detailed PCE peer information";
            list peer-summary {
              key "af";
              description
                "Summary PCE peer information";
              leaf af {
                type Pce-address-family;
                description
                  "Only show data related to the specified
                 address family";
              }
    
              container pcep-peers {
                description
                  "PCEP peers summary information";
                leaf peer-count-up {
                  type uint32;
                  description
                    "Number of peers in up state";
                }
    
                leaf peer-count-down {
                  type uint32;
                  description
                    "Number of peers in down state";
                }
    
                leaf peer-count-all {
                  type uint32;
                  description
                    "Number of all peers";
                }
              }  // container pcep-peers
            }  // list peer-summary
          }  // container peer-summaries
    
          container flex-algos {
            description
              "FlexAlgo database in PCE";
            list flex-algo {
              description "FlexAlgo Definition";
              leaf igp-type {
                type Pceigp-protocol;
                description
                  "Match nodes from the specified IGP protocol";
              }
    
              leaf domain-id {
                type uint32;
                description "Domain ID";
              }
    
              leaf area-id {
                type uint32;
                description "Area ID";
              }
    
              container igp-area {
                description
                  "IGP-area-specific information";
                leaf igp-id {
                  type Pce-igp-info-id;
                  description "IGP ID";
                }
    
                leaf level {
                  when "../igp-id = 'isis'" {
                    description
                      "../IGP_ID = 'ISIS'";
                  }
                  type uint32;
                  description "ISIS level";
                }
    
                leaf area {
                  when "../igp-id = 'ospf'" {
                    description
                      "../IGP_ID = 'OSPF'";
                  }
                  type uint32;
                  description "OSPF area";
                }
              }  // container igp-area
    
              leaf igp-id {
                type Pce-igp-info-id;
                description "IGP type";
              }
    
              leaf domain-identifier {
                type uint64;
                description "Domain identifier";
              }
    
              list definition {
                description
                  "Per Area Flex-Algo Definition";
                container node-id {
                  description
                    "Flex-algo Advertising Link-state node identifier";
                  container igp {
                    description
                      "IGP-specific information";
                    container isis {
                      when "../igp-id = 'isis'" {
                        description
                          "../IGP_ID = 'ISIS'";
                      }
                      description
                        "ISIS information";
                      leaf system-id {
                        type string;
                        description
                          "ISIS system ID";
                      }
    
                      leaf level {
                        type uint32;
                        description "ISIS level";
                      }
    
                      leaf area {
                        type string;
                        description "ISIS area";
                      }
                    }  // container isis
    
                    container ospf {
                      when "../igp-id = 'ospf'" {
                        description
                          "../IGP_ID = 'OSPF'";
                      }
                      description
                        "OSPF information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "OSPF router ID";
                      }
    
                      leaf area {
                        type uint32;
                        description "OSPF area";
                      }
                    }  // container ospf
    
                    container bgp {
                      when "../igp-id = 'bgp'" {
                        description
                          "../IGP_ID = 'BGP'";
                      }
                      description
                        "BGP information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "BGP router ID";
                      }
    
                      leaf confed-asn {
                        type uint32;
                        description
                          "Confederation ASN";
                      }
                    }  // container bgp
    
                    leaf igp-id {
                      type Pce-igp-info-id;
                      description "IGP ID";
                    }
                  }  // container igp
    
                  leaf autonomous-system-number {
                    type uint32;
                    description
                      "Autonomous System Number";
                  }
    
                  leaf ls-identifier {
                    type uint32;
                    description
                      "Link-State identifier";
                  }
                }  // container node-id
    
                container flex-algo-definition {
                  description
                    "Flex-algo definition";
                  leaf number {
                    type uint8;
                    description
                      "Flex-Algo number";
                  }
    
                  leaf local-priority {
                    type uint8;
                    description "Local Priority";
                  }
    
                  leaf metric-type {
                    type Cmn-metric;
                    description "Metric Type";
                  }
    
                  leaf-list aff {
                    type uint32;
                    description
                      "Affinity exclude any";
                  }
    
                  leaf-list affinity-include-any {
                    type uint32;
                    description
                      "Affinity include any";
                  }
    
                  leaf-list affinity-include-all {
                    type uint32;
                    description
                      "Affinity include all";
                  }
                }  // container flex-algo-definition
              }  // list definition
            }  // list flex-algo
          }  // container flex-algos
    
          container work-nodes {
            description "Work node database";
            list work-node {
              key "index";
              description
                "Path work node information";
              leaf index {
                type uint32;
                description
                  "Position in work list";
              }
    
              leaf type {
                type Path-work-node;
                description "Node type";
              }
    
              leaf repr {
                type string;
                description
                  "String representation";
              }
            }  // list work-node
          }  // container work-nodes
    
          container trace-buffer-summaries {
            description
              "Summary of all trace buffers";
            list trace-buffer-summary {
              key "name";
              description
                "Summary of specific trace buffer";
              leaf name {
                type xr:Cisco-ios-xr-string;
                description "Trace buffer name";
              }
    
              leaf trace-buffer-name {
                type string;
                description
                  "Name of trace buffer";
              }
    
              leaf unique-trace-count {
                type uint32;
                description "Unique trace count";
              }
    
              leaf wrapping-trace-count-default {
                type uint32;
                description
                  "Default value of wrapping trace count";
              }
    
              leaf wrapping-trace-count-programmed {
                type uint32;
                description
                  "Programmed value of wrapping trace count";
              }
    
              leaf string-buffer-size-default {
                type uint32;
                units "byte";
                description
                  "Default string buffer size for wrapping traces
    in bytes";
              }
    
              leaf string-buffer-size-programmed {
                type uint32;
                units "byte";
                description
                  "Programmed string buffer size for wrapping
    traces in bytes";
              }
            }  // list trace-buffer-summary
          }  // container trace-buffer-summaries
    
          container association-infos {
            description
              "Associaition database in XTC";
            list association-info {
              key "group-id";
              description
                "PCE Association information";
              leaf group-id {
                type uint32;
                description "Group ID";
              }
    
              leaf type {
                type Pce-asso;
                description "Type";
              }
    
              leaf sub-id {
                type inet:ip-address-no-zone;
                description "Sub ID";
              }
    
              container association-source {
                description "Association Source";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container association-source
    
              leaf association-type {
                type uint32;
                description "Association Type";
              }
    
              leaf association-id {
                type uint32;
                description "Association ID";
              }
    
              leaf strict {
                type boolean;
                description
                  "Association Strict Mode";
              }
    
              leaf status {
                type uint32;
                description "Association Status";
              }
    
              leaf headends-swapped {
                type uint32;
                description "Headends Swapped";
              }
    
              list association-lsp {
                description
                  "Association LSP Info";
                container pcc-address {
                  description "PCC address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container pcc-address
    
                leaf tunnel-id {
                  type uint32;
                  description "Tunnel ID";
                }
    
                leaf lspid {
                  type uint32;
                  description "LSP ID";
                }
    
                leaf tunnel-name {
                  type string;
                  description "Tunnel Name";
                }
    
                leaf pce-based {
                  type boolean;
                  description "PCE Based";
                }
    
                leaf plsp-id {
                  type uint32;
                  description "PLSP ID";
                }
              }  // list association-lsp
            }  // list association-info
          }  // container association-infos
    
          container work-groups {
            description "Work group database";
            list work-group {
              key "algo";
              description
                "Path work group information";
              leaf algo {
                type uint32;
                description "Algorithm";
              }
    
              leaf metric-type {
                type uint32;
                description "Metric Type";
              }
    
              leaf msd {
                type uint32;
                description "Max SID Depth";
              }
    
              leaf inc-all {
                type uint32;
                description
                  "Include-All affinity";
              }
    
              leaf exc-any {
                type uint32;
                description
                  "Exclude-Any affinity";
              }
    
              leaf inc-any {
                type uint32;
                description
                  "Include-Any affinity";
              }
    
              leaf source {
                type inet:ip-address-no-zone;
                description "Source";
              }
    
              container key {
                description
                  "Unique key to identify group";
                container source-address {
                  description "Source address";
                  leaf af-name {
                    type Xtc-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Xtc-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Xtc-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container source-address
    
                leaf maximum-segments {
                  type uint16;
                  description
                    "Max number of segments to impose";
                }
    
                leaf metric-type {
                  type uint8;
                  description
                    "Metric type being optimized";
                }
    
                leaf non-ocspf {
                  type boolean;
                  description
                    "Constraints are something other than O-CSPF";
                }
    
                list affinity-constraint {
                  description
                    "Affinity constraints list";
                  leaf type {
                    type uint8;
                    description "Affinity type";
                  }
    
                  leaf value {
                    type uint32;
                    description "Affinity value";
                  }
    
                  leaf-list extended-value {
                    type uint32;
                    description
                      "Extended Affinity values";
                  }
    
                  list color {
                    description "Colors";
                    leaf color {
                      type string;
                      description
                        "An affinity color";
                    }
                  }  // list color
                }  // list affinity-constraint
              }  // container key
    
              container region-1 {
                description
                  "First region of the group";
                leaf work-count {
                  type uint32;
                  description
                    "Number of work elements";
                }
              }  // container region-1
    
              container region-2 {
                description
                  "Second region of the group";
                leaf work-count {
                  type uint32;
                  description
                    "Number of work elements";
                }
              }  // container region-2
    
              container stats {
                description "Group statistics";
                list last {
                  description
                    "Last several computations";
                  leaf work-consumed {
                    type uint64;
                    description
                      "Number of work nodes consumed";
                  }
    
                  leaf cache-hit {
                    type uint64;
                    description
                      "How many times we were able to use the cache";
                  }
    
                  leaf cache-miss {
                    type uint64;
                    description
                      "How many times we had to recompute the cache";
                  }
    
                  leaf cache-miss-time-usec {
                    type uint64;
                    units "microsecond";
                    description
                      "How many microseconds the last computation took";
                  }
    
                  leaf average-cache-miss-time-usec {
                    type uint64;
                    units "microsecond";
                    description
                      "How many microseconds the average computation
    took";
                  }
    
                  leaf error {
                    type uint64;
                    description
                      "Number of errors";
                  }
    
                  leaf run-time-usec {
                    type uint64;
                    units "microsecond";
                    description
                      "How many microseconds it took to verify one
    region";
                  }
                }  // list last
              }  // container stats
    
              leaf works-count {
                type uint64;
                description
                  "Number of works in this group";
              }
    
              leaf worker-past-region1 {
                type boolean;
                description
                  "Is the worker past region_1";
              }
            }  // list work-group
          }  // container work-groups
    
          container paths {
            description
              "This table models the path calculation
             capabilities in XTC.A GET operation for the
             complete table will return no entries.";
            list path {
              key "af source destination";
              description
                "A GET operation on this class returns the path.";
              leaf af {
                type uint32;
                description "Address Family";
              }
    
              leaf source {
                type inet:ip-address-no-zone;
                description "Source of path";
              }
    
              leaf destination {
                type inet:ip-address-no-zone;
                description
                  "Destination of path";
              }
    
              container source-xr {
                description "Source of path";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container source-xr
    
              container destination-xr {
                description
                  "Destination of path";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container destination-xr
    
              leaf cost {
                type uint64;
                description "Cost";
              }
    
              list hops {
                description "Hop addresses";
                container srv6-hop {
                  description
                    "SRv6 Hop information";
                  container srv6sid {
                    description
                      "SRv6 SID detailed";
                    container endpoint-function {
                      description
                        "Endpoint behavior of the SRv6SID";
                      leaf type {
                        type Mgmt-srv6-endpoint;
                        description
                          "Behavior type";
                      }
    
                      leaf description {
                        type string;
                        description
                          "Behavior description";
                      }
                    }  // container endpoint-function
    
                    container structure {
                      description
                        "The SRv6 strucutre of the SID";
                      leaf locator-block-length {
                        type uint8;
                        description
                          "Block Length";
                      }
    
                      leaf locator-node-length {
                        type uint8;
                        description
                          "Node Length";
                      }
    
                      leaf function-length {
                        type uint8;
                        description
                          "Function Length";
                      }
    
                      leaf argument-length {
                        type uint8;
                        description
                          "Argument Length";
                      }
                    }  // container structure
    
                    leaf srv6sid {
                      type inet:ipv6-address;
                      description
                        "Full SRv6 SID";
                    }
    
                    leaf type {
                      type uint8;
                      description
                        "SRv6 SID Type";
                    }
    
                    leaf flags {
                      type uint8;
                      description
                        "SRv6 SID flags";
                    }
    
                    leaf algorithm {
                      type uint8;
                      description
                        "Flex-Algo value used for this SRv6SID";
                    }
    
                    leaf weight {
                      type uint8;
                      description "Weight";
                    }
                  }  // container srv6sid
    
                  leaf local-ipv6-address {
                    type inet:ipv6-address;
                    description
                      "Local IPv6 address";
                  }
    
                  leaf remote-ipv6-address {
                    type inet:ipv6-address;
                    description
                      "Remote IPv6 address";
                  }
                }  // container srv6-hop
    
                leaf address-family {
                  type uint8;
                  description "Address Family";
                }
    
                leaf ipv4-prefix {
                  type inet:ipv4-address;
                  description "IPv4 prefix";
                }
    
                leaf ipv6-prefix {
                  type inet:ipv6-address;
                  description "IPv6 prefix";
                }
              }  // list hops
            }  // list path
          }  // container paths
    
          container p2mp-policy-infos {
            description
              "P2MP policy database indexed by Root address in
             XTC";
            list p2mp-policy-info {
              key "root-address tree-id";
              description
                "P2MP Policy information";
              leaf root-address {
                type inet:ip-address-no-zone;
                description "Root Address";
              }
    
              leaf tree-id {
                type uint32;
                description
                  "P2MP Policy Tree-ID";
              }
    
              container attribute-info {
                description "TreeSID attributes";
                leaf affinity-exclude-any {
                  type uint32;
                  description
                    "Affinity exclude any";
                }
    
                leaf affinity-include-any {
                  type uint32;
                  description
                    "Affinity include any";
                }
    
                leaf affinity-include-all {
                  type uint32;
                  description
                    "Affinity include all";
                }
    
                leaf setup-priority {
                  type uint8;
                  description "Setup Priority";
                }
    
                leaf hold-priority {
                  type uint8;
                  description "Hold Priority";
                }
    
                leaf local-protection {
                  type boolean;
                  description
                    "True, if local protection is desired";
                }
              }  // container attribute-info
    
              leaf name-xr {
                type string;
                description
                  "Name of the TreeSID";
              }
    
              leaf metric-type {
                type uint8;
                description
                  "Metric type of the TreeSID";
              }
    
              leaf error {
                type string;
                description
                  "Last path computation error";
              }
    
              leaf label {
                type uint32;
                description "SID of the TreeSID";
              }
    
              leaf source-address {
                type inet:ipv4-address;
                description
                  "Address of the source node";
              }
    
              leaf pcc-address {
                type inet:ipv4-address;
                description
                  "PCC Address of the source node";
              }
    
              leaf operational-state {
                type boolean;
                description "Operational state";
              }
    
              leaf administrative-state {
                type boolean;
                description
                  "Administrative state";
              }
    
              leaf lfa-protected {
                type boolean;
                description
                  "LFA Protection enabled?";
              }
    
              leaf from-checkpoint {
                type boolean;
                description
                  "Created from checkpoint database?";
              }
    
              leaf pcc-initiated {
                type boolean;
                description "Initiated by PCC?";
              }
    
              leaf state {
                type Pce-treesid-state;
                description
                  "State of the TreeSID (ie, pending operation)";
              }
    
              leaf uptime {
                type uint32;
                units "second";
                description
                  "Uptime of the tunnel in seconds";
              }
    
              leaf transition-count {
                type uint32;
                description
                  "Number of transitions between operational
    up/down";
              }
    
              leaf tree-id-xr {
                type uint32;
                description "TreeSID Tree-ID";
              }
    
              leaf-list destination-address {
                type inet:ipv4-address;
                description
                  "List of destination addresses";
              }
    
              list nodes {
                description
                  "List of nodes associated with this TreeSID";
                leaf prefix-address {
                  type inet:ipv4-address;
                  description
                    "Node prefix address";
                }
    
                leaf name {
                  type string;
                  description "Node name";
                }
    
                leaf role {
                  type Pce-treesid-role;
                  description "Node role";
                }
    
                leaf awaiting-report {
                  type boolean;
                  description "Awaiting report";
                }
    
                leaf stale {
                  type boolean;
                  description "Stale node";
                }
    
                list next-hop {
                  description "Next hops";
                  leaf next-hop-address {
                    type inet:ipv4-address;
                    description
                      "Next hop remote address";
                  }
    
                  leaf next-hop-label {
                    type uint32;
                    description
                      "Next hop outgoing label";
                  }
    
                  leaf next-hop-node-address {
                    type inet:ipv4-address;
                    description
                      "Next hop node address";
                  }
    
                  leaf next-hop-node-name {
                    type string;
                    description
                      "Next hop node name";
                  }
    
                  leaf stale {
                    type boolean;
                    description
                      "Stale hop; will be removed in next update";
                  }
    
                  leaf central-control-identifier {
                    type uint32;
                    description
                      "Identifier for Central Control instructions";
                  }
    
                  leaf fast-reroute {
                    type boolean;
                    description
                      "Fast Re-route to hop remote node";
                  }
                }  // list next-hop
              }  // list nodes
    
              list event {
                description "Events";
                leaf event-id {
                  type uint32;
                  description
                    "Event ID in range 1 - 0xFFFFFFFF. 0 is invalid.";
                }
    
                leaf event-message {
                  type string;
                  description "Event message";
                }
    
                leaf time-stamp {
                  type uint64;
                  description
                    "Event time, relative to Jan 1, 1970";
                }
              }  // list event
            }  // list p2mp-policy-info
          }  // container p2mp-policy-infos
    
          container cspf {
            description "CSPF path info";
            container cspf-paths {
              description
                "This table models the path calculation
               capabilities in XTC.A GET operation for the
               complete table will return no entries.";
              list cspf-path {
                description
                  "A GET operation on this class returns the path
                 .";
                leaf af {
                  type uint32;
                  description "Address Family";
                }
    
                leaf source1 {
                  type inet:ip-address-no-zone;
                  description "Source of path 1";
                }
    
                leaf destination1 {
                  type inet:ip-address-no-zone;
                  description
                    "Destination of path 1";
                }
    
                leaf metric-type {
                  type uint32;
                  description "Metric type";
                }
    
                leaf source2 {
                  type inet:ip-address-no-zone;
                  description "Source of path 2";
                }
    
                leaf destination2 {
                  type inet:ip-address-no-zone;
                  description
                    "Destination of path 2";
                }
    
                leaf disjoint-level {
                  type uint32;
                  description
                    "Disjointness level";
                }
    
                leaf disjoint-strict {
                  type uint32;
                  description
                    "Strict disjointness required";
                }
    
                leaf shortest-path {
                  type uint32;
                  description
                    "Whether path 1 or 2 should be shortest";
                }
    
                leaf headends-swapped {
                  type Pce-headend-swap;
                  description "Headends swapped";
                }
    
                leaf cspf-result {
                  type Pce-cspf-rc;
                  description "CSPF Result";
                }
    
                leaf iterations-done {
                  type uint32;
                  description
                    "Iterations of the Suurballe-Tarjan algorithm";
                }
    
                list output-path {
                  description "Output PCE paths";
                  container source-xr {
                    description "Source of path";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container source-xr
    
                  container destination-xr {
                    description
                      "Destination of path";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container destination-xr
    
                  leaf cost {
                    type uint64;
                    description "Cost";
                  }
    
                  list hops {
                    description "Hop addresses";
                    container srv6-hop {
                      description
                        "SRv6 Hop information";
                      container srv6sid {
                        description
                          "SRv6 SID detailed";
                        container endpoint-function {
                          description
                            "Endpoint behavior of the SRv6SID";
                          leaf type {
                            type Mgmt-srv6-endpoint;
                            description
                              "Behavior type";
                          }
    
                          leaf description {
                            type string;
                            description
                              "Behavior description";
                          }
                        }  // container endpoint-function
    
                        container structure {
                          description
                            "The SRv6 strucutre of the SID";
                          leaf locator-block-length {
                            type uint8;
                            description
                              "Block Length";
                          }
    
                          leaf locator-node-length {
                            type uint8;
                            description
                              "Node Length";
                          }
    
                          leaf function-length {
                            type uint8;
                            description
                              "Function Length";
                          }
    
                          leaf argument-length {
                            type uint8;
                            description
                              "Argument Length";
                          }
                        }  // container structure
    
                        leaf srv6sid {
                          type inet:ipv6-address;
                          description
                            "Full SRv6 SID";
                        }
    
                        leaf type {
                          type uint8;
                          description
                            "SRv6 SID Type";
                        }
    
                        leaf flags {
                          type uint8;
                          description
                            "SRv6 SID flags";
                        }
    
                        leaf algorithm {
                          type uint8;
                          description
                            "Flex-Algo value used for this SRv6SID";
                        }
    
                        leaf weight {
                          type uint8;
                          description "Weight";
                        }
                      }  // container srv6sid
    
                      leaf local-ipv6-address {
                        type inet:ipv6-address;
                        description
                          "Local IPv6 address";
                      }
    
                      leaf remote-ipv6-address {
                        type inet:ipv6-address;
                        description
                          "Remote IPv6 address";
                      }
                    }  // container srv6-hop
    
                    leaf address-family {
                      type uint8;
                      description
                        "Address Family";
                    }
    
                    leaf ipv4-prefix {
                      type inet:ipv4-address;
                      description "IPv4 prefix";
                    }
    
                    leaf ipv6-prefix {
                      type inet:ipv6-address;
                      description "IPv6 prefix";
                    }
                  }  // list hops
                }  // list output-path
              }  // list cspf-path
            }  // container cspf-paths
          }  // container cspf
    
          container statistics-nodes {
            description
              "PCE API peer statistics";
            list statistics-node {
              key "ip";
              description
                "PCE API peer statistics information";
              leaf ip {
                type inet:ip-address-no-zone;
                description
                  "Specify IPv4 or v6 Address";
              }
    
              container peer-address {
                description
                  "Indicates the peer IP";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address
    
              leaf uid {
                type uint32;
                description
                  "Indicates the UID for the peer";
              }
    
              list stats {
                description "Stats info";
                leaf api-peer-type {
                  type Api-peer-stats-info-oper;
                  description
                    "Peer operation types";
                }
    
                leaf peer-state {
                  type Nbapi-peer-state;
                  description "Peer state";
                }
    
                leaf id {
                  type uint32;
                  description
                    "Unique Identifier for stats";
                }
    
                leaf failed-flag {
                  type boolean;
                  description
                    "Indicates failure";
                }
    
                leaf start-time {
                  type uint32;
                  description
                    "Indicates start time";
                }
    
                leaf last-seen-time {
                  type uint32;
                  description
                    "Indicates Last seen time";
                }
    
                leaf queue-valid-time {
                  type uint32;
                  description
                    "Timestamp, when something was sent from queue or
    when it was empty.";
                }
    
                leaf send-queue-size {
                  type uint64;
                  units "byte";
                  description
                    "Size of data in send queue in bytes";
                }
    
                leaf rest-query {
                  type string;
                  description "query string";
                }
              }  // list stats
            }  // list statistics-node
          }  // container statistics-nodes
    
          container remote-prefixes {
            description
              "Remote Prefixes database in PCE";
            list remote-prefix {
              key "remote-pce-id";
              description
                "PCE remote prefix information";
              leaf remote-pce-id {
                type uint32;
                description "Remote PCE ID";
              }
    
              container ip {
                description
                  "Remote prefix IP address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container ip
    
              leaf virtual-node-pce-id {
                type uint32;
                description
                  "Virtual Node PCE ID";
              }
    
              list virtual-link {
                description "virtual links";
                leaf local-pce-id {
                  type uint32;
                  description
                    "Virtual link local PCE ID";
                }
    
                leaf remote-pce-id {
                  type uint32;
                  description
                    "Virtual link remote PCE ID";
                }
    
                leaf local-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Virtual link local IPv4 address";
                }
    
                leaf remote-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Virtual link remote IPv4 address";
                }
    
                leaf metric {
                  type uint32;
                  description
                    "Virtual link metric";
                }
    
                leaf label {
                  type uint32;
                  description
                    "Virtual link SID Label";
                }
              }  // list virtual-link
            }  // list remote-prefix
          }  // container remote-prefixes
    
          container tunnel-infos {
            description "Tunnel database in XTC";
            list tunnel-info {
              key "peer-address plsp-id tunnel-name";
              description "Tunnel information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              leaf plsp-id {
                type uint32;
                description "PCEP LSP ID";
              }
    
              leaf tunnel-name {
                type string;
                description "Tunnel name";
              }
    
              container pcc-address {
                description "PCC address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container pcc-address
    
              leaf tunnel-name-xr {
                type string;
                description "Tunnel Name";
              }
    
              list brief-lsp-information {
                description
                  "Brief LSP information";
                container source-address {
                  description "Source address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container source-address
    
                container destination-address {
                  description
                    "Destination address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container destination-address
    
                container srv6-binding-sid {
                  description "SRv6 Binding SID";
                  container binding-sid-prefix {
                    description
                      "SRv6 Binding SID prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container binding-sid-prefix
    
                  container binding-sid-behavior {
                    description
                      "Binding SID behavior";
                    leaf type {
                      type Mgmt-srv6-endpoint;
                      description
                        "Behavior type";
                    }
    
                    leaf description {
                      type string;
                      description
                        "Behavior description";
                    }
                  }  // container binding-sid-behavior
    
                  container structure {
                    description
                      "The SRv6 strucutre of the SID";
                    leaf locator-block-length {
                      type uint8;
                      description "Block Length";
                    }
    
                    leaf locator-node-length {
                      type uint8;
                      description "Node Length";
                    }
    
                    leaf function-length {
                      type uint8;
                      description
                        "Function Length";
                    }
    
                    leaf argument-length {
                      type uint8;
                      description
                        "Argument Length";
                    }
                  }  // container structure
                }  // container srv6-binding-sid
    
                leaf tunnel-id {
                  type uint32;
                  description "Tunnel ID";
                }
    
                leaf lspid {
                  type uint32;
                  description "LSP ID";
                }
    
                leaf binding-sid {
                  type uint32;
                  description "Binding SID";
                }
    
                leaf lsp-setup-type {
                  type Lsp-setup;
                  description "LSP Setup Type";
                }
    
                leaf operational-state {
                  type Pcep-lsp-state;
                  description
                    "Operational state";
                }
    
                leaf administrative-state {
                  type Lsp-state;
                  description
                    "Administrative state";
                }
    
                leaf msd {
                  type uint32;
                  description
                    "Maximum SID Depth";
                }
    
                leaf absolute-margin {
                  type uint32;
                  description "Absolute Margin";
                }
    
                leaf relative-margin {
                  type uint32;
                  description "Relative Margin";
                }
    
                leaf igp-bound {
                  type uint32;
                  description "IGP Metric Bound";
                }
    
                leaf te-bound {
                  type uint32;
                  description "TE Metric Bound";
                }
    
                leaf latency-bound {
                  type uint32;
                  description
                    "Latency Metric Bound";
                }
    
                leaf hop-count-bound {
                  type uint32;
                  description
                    "HopCount Metric Bound";
                }
    
                leaf anycast-sid-inclusion {
                  type uint32;
                  description
                    "Anycast SID Inclusion";
                }
              }  // list brief-lsp-information
            }  // list tunnel-info
          }  // container tunnel-infos
    
          container peer-detail-infos {
            description
              "Detailed peers database in XTC";
            list peer-detail-info {
              key "peer-address";
              description
                "Detailed PCE peer information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              container peer-address-xr {
                description "Peer address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address-xr
    
              container detail-pcep-information {
                description
                  "Detailed PCE protocol information";
                container brief-pcep-information {
                  description
                    "Brief PCE protocol information";
                  leaf pcep-state {
                    type Pcep-state;
                    description "PCEP State";
                  }
    
                  leaf stateful {
                    type boolean;
                    description "Stateful";
                  }
    
                  leaf capability-update {
                    type boolean;
                    description
                      "Update capability";
                  }
    
                  leaf capability-instantiate {
                    type boolean;
                    description
                      "Instantiation capability";
                  }
    
                  leaf capability-segment-routing {
                    type boolean;
                    description
                      "Segment Routing capability";
                  }
    
                  leaf capability-triggered-sync {
                    type boolean;
                    description
                      "Triggered Synchronization capability";
                  }
    
                  leaf capability-db-version {
                    type boolean;
                    description
                      "DB version capability";
                  }
    
                  leaf capability-delta-sync {
                    type boolean;
                    description
                      "Delta Synchronization capability";
                  }
                }  // container brief-pcep-information
    
                container last-error-rx {
                  description
                    "Last PCError received";
                  leaf pc-error-type {
                    type uint8;
                    description
                      "PCEP Error type";
                  }
    
                  leaf pc-error-value {
                    type uint8;
                    description
                      "PCEP Error Value";
                  }
                }  // container last-error-rx
    
                container last-error-tx {
                  description
                    "Last PCError sent";
                  leaf pc-error-type {
                    type uint8;
                    description
                      "PCEP Error type";
                  }
    
                  leaf pc-error-value {
                    type uint8;
                    description
                      "PCEP Error Value";
                  }
                }  // container last-error-tx
    
                container pce-authentication {
                  description
                    "PCE Peer Authentication";
                  leaf authentication-key-type {
                    type Cmn-auth;
                    description
                      "Authentication Key Type";
                  }
    
                  leaf password {
                    type string;
                    description
                      "Authentication Password";
                  }
    
                  leaf authentication-option-include-options-enable {
                    type boolean;
                    description
                      "Include Option Enable";
                  }
    
                  leaf authentication-option-accept-mismatch-enable {
                    type boolean;
                    description
                      "Accept Mismatch Enable";
                  }
                }  // container pce-authentication
    
                leaf error {
                  type string;
                  description
                    "Error (for display only)";
                }
    
                leaf speaker-id {
                  type string;
                  description
                    "Speaker Entity ID";
                }
    
                leaf pcep-up-time {
                  type uint32;
                  description "PCEP Up Time";
                }
    
                leaf keepalives {
                  type uint32;
                  description "Keepalive count";
                }
    
                leaf md5-enabled {
                  type boolean;
                  description
                    "MD5 Authentication Enabled";
                }
    
                leaf authentication-option-keychain-enabled {
                  type boolean;
                  description
                    "AO Keychain based Authentication Enabled";
                }
    
                leaf negotiated-local-keepalive {
                  type uint32;
                  description "Negotiated KA";
                }
    
                leaf negotiated-remote-keepalive {
                  type uint32;
                  description "Negotiated KA";
                }
    
                leaf negotiated-dead-time {
                  type uint32;
                  description "Negotiated DT";
                }
    
                leaf pce-request-rx {
                  type uint32;
                  description "PCEReq Rx";
                }
    
                leaf pce-request-tx {
                  type uint32;
                  description "PCEReq Tx";
                }
    
                leaf pce-reply-rx {
                  type uint32;
                  description "PCERep Rx";
                }
    
                leaf pce-reply-tx {
                  type uint32;
                  description "PCERep Tx";
                }
    
                leaf pce-error-rx {
                  type uint32;
                  description "PCEErr Rx";
                }
    
                leaf pce-error-tx {
                  type uint32;
                  description "PCEErr Tx";
                }
    
                leaf pce-open-tx {
                  type uint32;
                  description "PCEOpen Tx";
                }
    
                leaf pce-open-rx {
                  type uint32;
                  description "PCEOpen Rx";
                }
    
                leaf pce-report-rx {
                  type uint32;
                  description "PCERpt Rx";
                }
    
                leaf pce-report-tx {
                  type uint32;
                  description "PCERpt Tx";
                }
    
                leaf pce-update-rx {
                  type uint32;
                  description "PCEUpd Rx";
                }
    
                leaf pce-update-tx {
                  type uint32;
                  description "PCEUpd Tx";
                }
    
                leaf pce-initiate-rx {
                  type uint32;
                  description "PCEInit Rx";
                }
    
                leaf pce-initiate-tx {
                  type uint32;
                  description "PCEInit Tx";
                }
    
                leaf pce-keepalive-tx {
                  type uint64;
                  description "PCE Keepalive Tx";
                }
    
                leaf pce-keepalive-rx {
                  type uint64;
                  description "PCE Keepalive Rx";
                }
    
                leaf local-session-id {
                  type uint8;
                  description
                    "Local PCEP session ID";
                }
    
                leaf remote-session-id {
                  type uint8;
                  description
                    "Remote PCEP session ID";
                }
    
                leaf minimum-keepalive-interval {
                  type uint8;
                  description
                    "Minimum keepalive interval for the peer";
                }
    
                leaf maximum-dead-interval {
                  type uint8;
                  description
                    "Maximum dead interval for the peer";
                }
    
                leaf max-sid-depth {
                  type uint8;
                  description
                    "Maximum number of labels the peer can impose";
                }
              }  // container detail-pcep-information
    
              leaf peer-protocol {
                type Pce-proto;
                description
                  "Protocol between PCE and peer";
              }
    
              leaf max-sid-depth {
                type uint32;
                description "Maximum SID Depth";
              }
            }  // list peer-detail-info
          }  // container peer-detail-infos
    
          container topology-nodes {
            description "Node database in XTC";
            list topology-node {
              key "node-identifier";
              description "Node information";
              leaf node-identifier {
                type uint32;
                description "Node Identifier";
              }
    
              container node-protocol-identifier {
                description
                  "Node protocol identifier";
                leaf node-name {
                  type string;
                  description "Node Name";
                }
    
                leaf ipv4-bgp-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 BGP router ID is set";
                }
    
                leaf ipv4-bgp-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 TE router ID";
                }
    
                leaf ipv4te-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 TE router ID is set";
                }
    
                leaf ipv4te-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 BGP router ID";
                }
    
                leaf ipv6-router-id-set {
                  type boolean;
                  description
                    "True if the IPv6 router ID is set";
                }
    
                leaf ipv6-router-id {
                  type inet:ipv6-address;
                  description "IPv6 Router ID";
                }
    
                list igp-information {
                  description "IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list igp-information
    
                list srgb-information {
                  description "SRGB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRGB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRGB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srgb-information
    
                list sr-algo {
                  description
                    "SR Algo information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
    
                  leaf-list algo-participation {
                    type uint8;
                    description
                      "Algos participated by this node";
                  }
    
                  list flex-algo-advertised-definition {
                    description
                      "Flex-algo definition advertised";
                    leaf number {
                      type uint8;
                      description
                        "Flex-Algo number";
                    }
    
                    leaf local-priority {
                      type uint8;
                      description
                        "Local Priority";
                    }
    
                    leaf metric-type {
                      type Cmn-metric;
                      description "Metric Type";
                    }
    
                    leaf-list aff {
                      type uint32;
                      description
                        "Affinity exclude any";
                    }
    
                    leaf-list affinity-include-any {
                      type uint32;
                      description
                        "Affinity include any";
                    }
    
                    leaf-list affinity-include-all {
                      type uint32;
                      description
                        "Affinity include all";
                    }
                  }  // list flex-algo-advertised-definition
                }  // list sr-algo
    
                list srlb-information {
                  description "SRLB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRLB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRLB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srlb-information
              }  // container node-protocol-identifier
    
              leaf node-identifier-xr {
                type uint32;
                description "Node identifier";
              }
    
              leaf overload {
                type boolean;
                description "Node Overload Bit";
              }
    
              list prefixe {
                description "Prefixes";
                container pfx-sid {
                  description "Prefix SID";
                  container sid-prefix {
                    description "Prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container sid-prefix
    
                  leaf sid-type {
                    type Sid;
                    description "SID Type";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description "MPLS Label";
                  }
    
                  leaf algorithm {
                    type uint32;
                    description
                      "Prefix SID Algorithm";
                  }
    
                  leaf xflag {
                    type boolean;
                    description "X Flag";
                  }
    
                  leaf rflag {
                    type boolean;
                    description "R Flag";
                  }
    
                  leaf nflag {
                    type boolean;
                    description "N Flag";
                  }
    
                  leaf pflag {
                    type boolean;
                    description "P Flag";
                  }
    
                  leaf eflag {
                    type boolean;
                    description "E Flag";
                  }
    
                  leaf vflag {
                    type boolean;
                    description "V Flag";
                  }
    
                  leaf lflag {
                    type boolean;
                    description "L Flag";
                  }
    
                  leaf mflag {
                    type boolean;
                    description "M Flag";
                  }
                }  // container pfx-sid
    
                container node-id {
                  description
                    "Link-state node identifier";
                  container igp {
                    description
                      "IGP-specific information";
                    container isis {
                      when "../igp-id = 'isis'" {
                        description
                          "../IGP_ID = 'ISIS'";
                      }
                      description
                        "ISIS information";
                      leaf system-id {
                        type string;
                        description
                          "ISIS system ID";
                      }
    
                      leaf level {
                        type uint32;
                        description "ISIS level";
                      }
    
                      leaf area {
                        type string;
                        description "ISIS area";
                      }
                    }  // container isis
    
                    container ospf {
                      when "../igp-id = 'ospf'" {
                        description
                          "../IGP_ID = 'OSPF'";
                      }
                      description
                        "OSPF information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "OSPF router ID";
                      }
    
                      leaf area {
                        type uint32;
                        description "OSPF area";
                      }
                    }  // container ospf
    
                    container bgp {
                      when "../igp-id = 'bgp'" {
                        description
                          "../IGP_ID = 'BGP'";
                      }
                      description
                        "BGP information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "BGP router ID";
                      }
    
                      leaf confed-asn {
                        type uint32;
                        description
                          "Confederation ASN";
                      }
                    }  // container bgp
    
                    leaf igp-id {
                      type Pce-igp-info-id;
                      description "IGP ID";
                    }
                  }  // container igp
    
                  leaf autonomous-system-number {
                    type uint32;
                    description
                      "Autonomous System Number";
                  }
    
                  leaf ls-identifier {
                    type uint32;
                    description
                      "Link-State identifier";
                  }
                }  // container node-id
    
                leaf domain-identifier {
                  type uint64;
                  description
                    "Domain identifier";
                }
              }  // list prefixe
    
              list ipv4-link {
                description
                  "IPv4 Link information";
                container local-igp-information {
                  description
                    "Local node IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // container local-igp-information
    
                container remote-node-protocol-identifier {
                  description
                    "Remote node protocol identifier";
                  leaf node-name {
                    type string;
                    description "Node Name";
                  }
    
                  leaf ipv4-bgp-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 BGP router ID is set";
                  }
    
                  leaf ipv4-bgp-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 TE router ID";
                  }
    
                  leaf ipv4te-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 TE router ID is set";
                  }
    
                  leaf ipv4te-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 BGP router ID";
                  }
    
                  leaf ipv6-router-id-set {
                    type boolean;
                    description
                      "True if the IPv6 router ID is set";
                  }
    
                  leaf ipv6-router-id {
                    type inet:ipv6-address;
                    description "IPv6 Router ID";
                  }
    
                  list igp-information {
                    description
                      "IGP information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list igp-information
    
                  list srgb-information {
                    description
                      "SRGB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRGB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRGB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srgb-information
    
                  list sr-algo {
                    description
                      "SR Algo information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
    
                    leaf-list algo-participation {
                      type uint8;
                      description
                        "Algos participated by this node";
                    }
    
                    list flex-algo-advertised-definition {
                      description
                        "Flex-algo definition advertised";
                      leaf number {
                        type uint8;
                        description
                          "Flex-Algo number";
                      }
    
                      leaf local-priority {
                        type uint8;
                        description
                          "Local Priority";
                      }
    
                      leaf metric-type {
                        type Cmn-metric;
                        description
                          "Metric Type";
                      }
    
                      leaf-list aff {
                        type uint32;
                        description
                          "Affinity exclude any";
                      }
    
                      leaf-list affinity-include-any {
                        type uint32;
                        description
                          "Affinity include any";
                      }
    
                      leaf-list affinity-include-all {
                        type uint32;
                        description
                          "Affinity include all";
                      }
                    }  // list flex-algo-advertised-definition
                  }  // list sr-algo
    
                  list srlb-information {
                    description
                      "SRLB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRLB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRLB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srlb-information
                }  // container remote-node-protocol-identifier
    
                container performance-metrics {
                  description
                    "Performance metrics";
                  leaf unidirectional-minimum-delay-microseconds {
                    type uint32;
                    units "microsecond";
                    description
                      "Min delay in microseconds";
                  }
                }  // container performance-metrics
    
                leaf is-unnumbered {
                  type boolean;
                  description
                    "True if this is an IPv4 Unnumbered link";
                }
    
                leaf local-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf remote-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf local-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Local IPv4 address";
                }
    
                leaf remote-ipv4-address {
                  type inet:ipv4-address;
                  description
                    "Remote IPv4 address";
                }
    
                leaf igp-metric {
                  type uint32;
                  description "IGP Metric";
                }
    
                leaf te-metric {
                  type uint32;
                  description "TE Metric";
                }
    
                leaf maximum-link-bandwidth {
                  type uint64;
                  description
                    "Max link bandwidth";
                }
    
                leaf max-reservable-bandwidth {
                  type uint64;
                  description
                    "Max Reservable bandwidth";
                }
    
                leaf administrative-groups {
                  type uint32;
                  description
                    "Link admin-groups";
                }
    
                leaf flex-algo-asla-te-metric {
                  type uint32;
                  description
                    "Flex-algo specific Link TE metric";
                }
    
                leaf-list flex-algo-asla-administrative-group {
                  type uint32;
                  description
                    "Flex-algo specific Link Extended admin-groups";
                }
    
                leaf-list srlgs {
                  type uint32;
                  description "SRLG Values";
                }
    
                list adjacency-sid {
                  description "Adjacency SIDs";
                  container sid-prefix {
                    description "Prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container sid-prefix
    
                  leaf sid-type {
                    type Sid;
                    description "SID Type";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description "MPLS Label";
                  }
    
                  leaf algorithm {
                    type uint32;
                    description
                      "Prefix SID Algorithm";
                  }
    
                  leaf xflag {
                    type boolean;
                    description "X Flag";
                  }
    
                  leaf rflag {
                    type boolean;
                    description "R Flag";
                  }
    
                  leaf nflag {
                    type boolean;
                    description "N Flag";
                  }
    
                  leaf pflag {
                    type boolean;
                    description "P Flag";
                  }
    
                  leaf eflag {
                    type boolean;
                    description "E Flag";
                  }
    
                  leaf vflag {
                    type boolean;
                    description "V Flag";
                  }
    
                  leaf lflag {
                    type boolean;
                    description "L Flag";
                  }
    
                  leaf mflag {
                    type boolean;
                    description "M Flag";
                  }
                }  // list adjacency-sid
    
                list msd {
                  description "Advertised MSDs";
                  leaf subtype {
                    type Topo-msd-subtype;
                    description
                      "Subtype of the MSD as defined by IANA";
                  }
    
                  leaf value {
                    type uint8;
                    description "MSD value";
                  }
                }  // list msd
              }  // list ipv4-link
    
              list ipv6-link {
                description
                  "IPv6 Link information";
                container local-igp-information {
                  description
                    "Local node IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // container local-igp-information
    
                container remote-node-protocol-identifier {
                  description
                    "Remote node protocol identifier";
                  leaf node-name {
                    type string;
                    description "Node Name";
                  }
    
                  leaf ipv4-bgp-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 BGP router ID is set";
                  }
    
                  leaf ipv4-bgp-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 TE router ID";
                  }
    
                  leaf ipv4te-router-id-set {
                    type boolean;
                    description
                      "True if IPv4 TE router ID is set";
                  }
    
                  leaf ipv4te-router-id {
                    type inet:ipv4-address;
                    description
                      "IPv4 BGP router ID";
                  }
    
                  leaf ipv6-router-id-set {
                    type boolean;
                    description
                      "True if the IPv6 router ID is set";
                  }
    
                  leaf ipv6-router-id {
                    type inet:ipv6-address;
                    description "IPv6 Router ID";
                  }
    
                  list igp-information {
                    description
                      "IGP information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list igp-information
    
                  list srgb-information {
                    description
                      "SRGB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRGB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRGB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srgb-information
    
                  list sr-algo {
                    description
                      "SR Algo information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
    
                    leaf-list algo-participation {
                      type uint8;
                      description
                        "Algos participated by this node";
                    }
    
                    list flex-algo-advertised-definition {
                      description
                        "Flex-algo definition advertised";
                      leaf number {
                        type uint8;
                        description
                          "Flex-Algo number";
                      }
    
                      leaf local-priority {
                        type uint8;
                        description
                          "Local Priority";
                      }
    
                      leaf metric-type {
                        type Cmn-metric;
                        description
                          "Metric Type";
                      }
    
                      leaf-list aff {
                        type uint32;
                        description
                          "Affinity exclude any";
                      }
    
                      leaf-list affinity-include-any {
                        type uint32;
                        description
                          "Affinity include any";
                      }
    
                      leaf-list affinity-include-all {
                        type uint32;
                        description
                          "Affinity include all";
                      }
                    }  // list flex-algo-advertised-definition
                  }  // list sr-algo
    
                  list srlb-information {
                    description
                      "SRLB information";
                    container node-id {
                      description
                        "Link-state node identifier";
                      container igp {
                        description
                          "IGP-specific information";
                        container isis {
                          when
                            "../igp-id = 'isis'" {
                            description
                              "../IGP_ID = 'ISIS'";
                          }
                          description
                            "ISIS information";
                          leaf system-id {
                            type string;
                            description
                              "ISIS system ID";
                          }
    
                          leaf level {
                            type uint32;
                            description
                              "ISIS level";
                          }
    
                          leaf area {
                            type string;
                            description
                              "ISIS area";
                          }
                        }  // container isis
    
                        container ospf {
                          when
                            "../igp-id = 'ospf'" {
                            description
                              "../IGP_ID = 'OSPF'";
                          }
                          description
                            "OSPF information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "OSPF router ID";
                          }
    
                          leaf area {
                            type uint32;
                            description
                              "OSPF area";
                          }
                        }  // container ospf
    
                        container bgp {
                          when
                            "../igp-id = 'bgp'" {
                            description
                              "../IGP_ID = 'BGP'";
                          }
                          description
                            "BGP information";
                          leaf router-id {
                            type Pce-ipv4-address;
                            description
                              "BGP router ID";
                          }
    
                          leaf confed-asn {
                            type uint32;
                            description
                              "Confederation ASN";
                          }
                        }  // container bgp
    
                        leaf igp-id {
                          type Pce-igp-info-id;
                          description "IGP ID";
                        }
                      }  // container igp
    
                      leaf autonomous-system-number {
                        type uint32;
                        description
                          "Autonomous System Number";
                      }
    
                      leaf ls-identifier {
                        type uint32;
                        description
                          "Link-State identifier";
                      }
                    }  // container node-id
    
                    leaf start {
                      type uint32;
                      description "SRLB start";
                    }
    
                    leaf size {
                      type uint32;
                      description "SRLB size";
                    }
    
                    leaf domain-identifier {
                      type uint64;
                      description
                        "Domain identifier";
                    }
                  }  // list srlb-information
                }  // container remote-node-protocol-identifier
    
                container performance-metrics {
                  description
                    "Performance metrics";
                  leaf unidirectional-minimum-delay-microseconds {
                    type uint32;
                    units "microsecond";
                    description
                      "Min delay in microseconds";
                  }
                }  // container performance-metrics
    
                leaf is-unnumbered {
                  type boolean;
                  description
                    "True if this is an IPv6 Unnumbered link";
                }
    
                leaf local-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf remote-interface-index {
                  type uint32;
                  description
                    "Non-zero if IsUnnumbered is True";
                }
    
                leaf local-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Local IPv6 address";
                }
    
                leaf remote-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Remote IPv6 address";
                }
    
                leaf igp-metric {
                  type uint32;
                  description "IGP Metric";
                }
    
                leaf te-metric {
                  type uint32;
                  description "TE Metric";
                }
    
                leaf maximum-link-bandwidth {
                  type uint64;
                  description
                    "Max link bandwidth";
                }
    
                leaf max-reservable-bandwidth {
                  type uint64;
                  description
                    "Max Reservable bandwidth";
                }
    
                leaf administrative-groups {
                  type uint32;
                  description
                    "Link admin-groups";
                }
    
                leaf flex-algo-asla-te-metric {
                  type uint32;
                  description
                    "Flex-algo specific Link TE metric";
                }
    
                leaf-list srlgs {
                  type uint32;
                  description "SRLG Values";
                }
    
                leaf-list flex-algo-asla-administrative-group {
                  type uint32;
                  description
                    "Flex-algo specific Link Extended admin-groups";
                }
    
                list adjacency-sid {
                  description "Adjacency SIDs";
                  container sid-prefix {
                    description "Prefix";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container sid-prefix
    
                  leaf sid-type {
                    type Sid;
                    description "SID Type";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description "MPLS Label";
                  }
    
                  leaf algorithm {
                    type uint32;
                    description
                      "Prefix SID Algorithm";
                  }
    
                  leaf xflag {
                    type boolean;
                    description "X Flag";
                  }
    
                  leaf rflag {
                    type boolean;
                    description "R Flag";
                  }
    
                  leaf nflag {
                    type boolean;
                    description "N Flag";
                  }
    
                  leaf pflag {
                    type boolean;
                    description "P Flag";
                  }
    
                  leaf eflag {
                    type boolean;
                    description "E Flag";
                  }
    
                  leaf vflag {
                    type boolean;
                    description "V Flag";
                  }
    
                  leaf lflag {
                    type boolean;
                    description "L Flag";
                  }
    
                  leaf mflag {
                    type boolean;
                    description "M Flag";
                  }
                }  // list adjacency-sid
    
                list srv6-adjacency-sid {
                  description
                    "SRv6 Adjacecny micro-SIDs";
                  container endpoint-function {
                    description
                      "Endpoint behavior of the SRv6SID";
                    leaf type {
                      type Mgmt-srv6-endpoint;
                      description
                        "Behavior type";
                    }
    
                    leaf description {
                      type string;
                      description
                        "Behavior description";
                    }
                  }  // container endpoint-function
    
                  container structure {
                    description
                      "The SRv6 strucutre of the SID";
                    leaf locator-block-length {
                      type uint8;
                      description "Block Length";
                    }
    
                    leaf locator-node-length {
                      type uint8;
                      description "Node Length";
                    }
    
                    leaf function-length {
                      type uint8;
                      description
                        "Function Length";
                    }
    
                    leaf argument-length {
                      type uint8;
                      description
                        "Argument Length";
                    }
                  }  // container structure
    
                  leaf srv6sid {
                    type inet:ipv6-address;
                    description "Full SRv6 SID";
                  }
    
                  leaf type {
                    type uint8;
                    description "SRv6 SID Type";
                  }
    
                  leaf flags {
                    type uint8;
                    description "SRv6 SID flags";
                  }
    
                  leaf algorithm {
                    type uint8;
                    description
                      "Flex-Algo value used for this SRv6SID";
                  }
    
                  leaf weight {
                    type uint8;
                    description "Weight";
                  }
                }  // list srv6-adjacency-sid
    
                list msd {
                  description "Advertised MSDs";
                  leaf subtype {
                    type Topo-msd-subtype;
                    description
                      "Subtype of the MSD as defined by IANA";
                  }
    
                  leaf value {
                    type uint8;
                    description "MSD value";
                  }
                }  // list msd
              }  // list ipv6-link
    
              list srv6-node-sid {
                description
                  "SRv6 Node micro-SIDs";
                container srv6sid {
                  description "SRv6 node SID";
                  container endpoint-function {
                    description
                      "Endpoint behavior of the SRv6SID";
                    leaf type {
                      type Mgmt-srv6-endpoint;
                      description
                        "Behavior type";
                    }
    
                    leaf description {
                      type string;
                      description
                        "Behavior description";
                    }
                  }  // container endpoint-function
    
                  container structure {
                    description
                      "The SRv6 strucutre of the SID";
                    leaf locator-block-length {
                      type uint8;
                      description "Block Length";
                    }
    
                    leaf locator-node-length {
                      type uint8;
                      description "Node Length";
                    }
    
                    leaf function-length {
                      type uint8;
                      description
                        "Function Length";
                    }
    
                    leaf argument-length {
                      type uint8;
                      description
                        "Argument Length";
                    }
                  }  // container structure
    
                  leaf srv6sid {
                    type inet:ipv6-address;
                    description "Full SRv6 SID";
                  }
    
                  leaf type {
                    type uint8;
                    description "SRv6 SID Type";
                  }
    
                  leaf flags {
                    type uint8;
                    description "SRv6 SID flags";
                  }
    
                  leaf algorithm {
                    type uint8;
                    description
                      "Flex-Algo value used for this SRv6SID";
                  }
    
                  leaf weight {
                    type uint8;
                    description "Weight";
                  }
                }  // container srv6sid
    
                container node-id {
                  description
                    "Link-state node identifier";
                  container igp {
                    description
                      "IGP-specific information";
                    container isis {
                      when "../igp-id = 'isis'" {
                        description
                          "../IGP_ID = 'ISIS'";
                      }
                      description
                        "ISIS information";
                      leaf system-id {
                        type string;
                        description
                          "ISIS system ID";
                      }
    
                      leaf level {
                        type uint32;
                        description "ISIS level";
                      }
    
                      leaf area {
                        type string;
                        description "ISIS area";
                      }
                    }  // container isis
    
                    container ospf {
                      when "../igp-id = 'ospf'" {
                        description
                          "../IGP_ID = 'OSPF'";
                      }
                      description
                        "OSPF information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "OSPF router ID";
                      }
    
                      leaf area {
                        type uint32;
                        description "OSPF area";
                      }
                    }  // container ospf
    
                    container bgp {
                      when "../igp-id = 'bgp'" {
                        description
                          "../IGP_ID = 'BGP'";
                      }
                      description
                        "BGP information";
                      leaf router-id {
                        type Pce-ipv4-address;
                        description
                          "BGP router ID";
                      }
    
                      leaf confed-asn {
                        type uint32;
                        description
                          "Confederation ASN";
                      }
                    }  // container bgp
    
                    leaf igp-id {
                      type Pce-igp-info-id;
                      description "IGP ID";
                    }
                  }  // container igp
    
                  leaf autonomous-system-number {
                    type uint32;
                    description
                      "Autonomous System Number";
                  }
    
                  leaf ls-identifier {
                    type uint32;
                    description
                      "Link-State identifier";
                  }
                }  // container node-id
    
                leaf domain-identifier {
                  type uint64;
                  description
                    "Domain identifier";
                }
              }  // list srv6-node-sid
            }  // list topology-node
          }  // container topology-nodes
    
          container topology-summaries {
            description
              "Node summary database in XTC";
            list topology-summary {
              description
                "Node summary database in XTC";
              leaf af {
                type Pce-address-family;
                description
                  "Only show data related to the specified
    address family";
              }
    
              leaf protocol {
                type Pceigp-protocol;
                description
                  "Match nodes from the specified IGP protocol";
              }
    
              container stats-topology-update {
                description
                  "Statistics on topology update";
                leaf num-nodes-added {
                  type uint32;
                  description
                    "Number of nodes added";
                }
    
                leaf num-nodes-deleted {
                  type uint32;
                  description
                    "Number of nodes deleted";
                }
    
                leaf num-links-added {
                  type uint32;
                  description
                    "Number of links added";
                }
    
                leaf num-links-deleted {
                  type uint32;
                  description
                    "Number of links deleted";
                }
    
                leaf num-prefixes-added {
                  type uint32;
                  description
                    "Number of prefixes added";
                }
    
                leaf num-prefixes-deleted {
                  type uint32;
                  description
                    "Number of prefixes deleted";
                }
              }  // container stats-topology-update
    
              container topology-ready-summary {
                description
                  "Topology ready summary";
                container timer {
                  description
                    "Topology readiness timer";
                  leaf running {
                    type boolean;
                    description
                      "Whether the timer is running";
                  }
    
                  leaf remaining-seconds {
                    type int64;
                    units "second";
                    description
                      "Number of remaining seconds";
                  }
    
                  leaf remaining-nano-seconds {
                    type int64;
                    units "nanosecond";
                    description
                      "Number of remaining nanoseconds";
                  }
                }  // container timer
    
                leaf ready {
                  type boolean;
                  description
                    "Topology readiness";
                }
    
                leaf pcep-allowed {
                  type boolean;
                  description
                    "Whether PCEP is allowed";
                }
    
                leaf ha-case {
                  type Cmn-ha-case;
                  description "Last HA case";
                }
    
                leaf timer-value {
                  type uint32;
                  description
                    "Topology ready timer value selected at start";
                }
              }  // container topology-ready-summary
    
              leaf nodes {
                type uint32;
                description
                  "Number of PCE nodes";
              }
    
              leaf lookup-nodes {
                type uint32;
                description
                  "Number of lookup nodes";
              }
    
              leaf prefixes {
                type uint32;
                description "Number of prefixes";
              }
    
              leaf prefix-sids {
                type uint32;
                description
                  "Number of total prefix SIDs";
              }
    
              leaf regular-prefix-sids {
                type uint32;
                description
                  "Number of reguar prefix SIDs";
              }
    
              leaf strict-prefix-sids {
                type uint32;
                description
                  "Number of strict prefix SIDs";
              }
    
              leaf flex-algo-prefix-sids {
                type uint32;
                description
                  "Number of flex-algo prefix SIDs";
              }
    
              leaf links {
                type uint32;
                description "Number of links";
              }
    
              leaf epe-links {
                type uint32;
                description
                  "Number of EPE links";
              }
    
              leaf adjacency-sids {
                type uint32;
                description
                  "Number of total adjacency SIDs";
              }
    
              leaf epesids {
                type uint32;
                description
                  "Number of total EPE SIDs";
              }
    
              leaf protected-adjacency-sids {
                type uint32;
                description
                  "Number of protected adjacency SIDs";
              }
    
              leaf un-protected-adjacency-sids {
                type uint32;
                description
                  "Number of unprotected adjacency SIDs";
              }
    
              leaf topology-consistent {
                type boolean;
                description
                  "True if topology is consistent";
              }
            }  // list topology-summary
          }  // container topology-summaries
    
          container prefix-infos {
            description
              "Prefixes database in XTC";
            list prefix-info {
              key "node-identifier";
              description
                "PCE prefix information";
              leaf node-identifier {
                type uint32;
                description "Node ID";
              }
    
              container node-protocol-identifier {
                description
                  "Node protocol identifier";
                leaf node-name {
                  type string;
                  description "Node Name";
                }
    
                leaf ipv4-bgp-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 BGP router ID is set";
                }
    
                leaf ipv4-bgp-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 TE router ID";
                }
    
                leaf ipv4te-router-id-set {
                  type boolean;
                  description
                    "True if IPv4 TE router ID is set";
                }
    
                leaf ipv4te-router-id {
                  type inet:ipv4-address;
                  description
                    "IPv4 BGP router ID";
                }
    
                leaf ipv6-router-id-set {
                  type boolean;
                  description
                    "True if the IPv6 router ID is set";
                }
    
                leaf ipv6-router-id {
                  type inet:ipv6-address;
                  description "IPv6 Router ID";
                }
    
                list igp-information {
                  description "IGP information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list igp-information
    
                list srgb-information {
                  description "SRGB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRGB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRGB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srgb-information
    
                list sr-algo {
                  description
                    "SR Algo information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
    
                  leaf-list algo-participation {
                    type uint8;
                    description
                      "Algos participated by this node";
                  }
    
                  list flex-algo-advertised-definition {
                    description
                      "Flex-algo definition advertised";
                    leaf number {
                      type uint8;
                      description
                        "Flex-Algo number";
                    }
    
                    leaf local-priority {
                      type uint8;
                      description
                        "Local Priority";
                    }
    
                    leaf metric-type {
                      type Cmn-metric;
                      description "Metric Type";
                    }
    
                    leaf-list aff {
                      type uint32;
                      description
                        "Affinity exclude any";
                    }
    
                    leaf-list affinity-include-any {
                      type uint32;
                      description
                        "Affinity include any";
                    }
    
                    leaf-list affinity-include-all {
                      type uint32;
                      description
                        "Affinity include all";
                    }
                  }  // list flex-algo-advertised-definition
                }  // list sr-algo
    
                list srlb-information {
                  description "SRLB information";
                  container node-id {
                    description
                      "Link-state node identifier";
                    container igp {
                      description
                        "IGP-specific information";
                      container isis {
                        when
                          "../igp-id = 'isis'" {
                          description
                            "../IGP_ID = 'ISIS'";
                        }
                        description
                          "ISIS information";
                        leaf system-id {
                          type string;
                          description
                            "ISIS system ID";
                        }
    
                        leaf level {
                          type uint32;
                          description
                            "ISIS level";
                        }
    
                        leaf area {
                          type string;
                          description
                            "ISIS area";
                        }
                      }  // container isis
    
                      container ospf {
                        when
                          "../igp-id = 'ospf'" {
                          description
                            "../IGP_ID = 'OSPF'";
                        }
                        description
                          "OSPF information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "OSPF router ID";
                        }
    
                        leaf area {
                          type uint32;
                          description
                            "OSPF area";
                        }
                      }  // container ospf
    
                      container bgp {
                        when "../igp-id = 'bgp'" {
                          description
                            "../IGP_ID = 'BGP'";
                        }
                        description
                          "BGP information";
                        leaf router-id {
                          type Pce-ipv4-address;
                          description
                            "BGP router ID";
                        }
    
                        leaf confed-asn {
                          type uint32;
                          description
                            "Confederation ASN";
                        }
                      }  // container bgp
    
                      leaf igp-id {
                        type Pce-igp-info-id;
                        description "IGP ID";
                      }
                    }  // container igp
    
                    leaf autonomous-system-number {
                      type uint32;
                      description
                        "Autonomous System Number";
                    }
    
                    leaf ls-identifier {
                      type uint32;
                      description
                        "Link-State identifier";
                    }
                  }  // container node-id
    
                  leaf start {
                    type uint32;
                    description "SRLB start";
                  }
    
                  leaf size {
                    type uint32;
                    description "SRLB size";
                  }
    
                  leaf domain-identifier {
                    type uint64;
                    description
                      "Domain identifier";
                  }
                }  // list srlb-information
              }  // container node-protocol-identifier
    
              leaf node-identifier-xr {
                type uint32;
                description "Node identifier";
              }
    
              list address {
                description "Prefix address";
                container ip {
                  description
                    "Prefix IP address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container ip
              }  // list address
            }  // list prefix-info
          }  // container prefix-infos
    
          container lsp-summary {
            description
              "LSP summary database in XTC";
            container all-ls-ps {
              description
                "Summary for all peers";
              leaf all-ls-ps {
                type uint32;
                description "Number of all LSPs";
              }
    
              leaf up-ls-ps {
                type uint32;
                description
                  "Number of operational LSPs";
              }
    
              leaf admin-up-ls-ps {
                type uint32;
                description
                  "Number of administratively up LSPs";
              }
    
              leaf sr-ls-ps {
                type uint32;
                description
                  "Number of LSPs with Segment routing setup type";
              }
    
              leaf rsvp-ls-ps {
                type uint32;
                description
                  "Number of LSPs with RSVP setup type";
              }
            }  // container all-ls-ps
    
            list peer-ls-ps-info {
              description
                "Number of LSPs for specific peer";
              container lsp-summary {
                description
                  "Number of LSPs for specific peer";
                leaf all-ls-ps {
                  type uint32;
                  description
                    "Number of all LSPs";
                }
    
                leaf up-ls-ps {
                  type uint32;
                  description
                    "Number of operational LSPs";
                }
    
                leaf admin-up-ls-ps {
                  type uint32;
                  description
                    "Number of administratively up LSPs";
                }
    
                leaf sr-ls-ps {
                  type uint32;
                  description
                    "Number of LSPs with Segment routing setup type";
                }
    
                leaf rsvp-ls-ps {
                  type uint32;
                  description
                    "Number of LSPs with RSVP setup type";
                }
              }  // container lsp-summary
    
              container peer-address {
                description "Peer address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address
            }  // list peer-ls-ps-info
          }  // container lsp-summary
    
          container peer-infos {
            description "Peers database in XTC";
            list peer-info {
              key "peer-address";
              description "PCE peer information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              container peer-address-xr {
                description "Peer address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container peer-address-xr
    
              container brief-pcep-information {
                description
                  "PCE protocol information";
                leaf pcep-state {
                  type Pcep-state;
                  description "PCEP State";
                }
    
                leaf stateful {
                  type boolean;
                  description "Stateful";
                }
    
                leaf capability-update {
                  type boolean;
                  description
                    "Update capability";
                }
    
                leaf capability-instantiate {
                  type boolean;
                  description
                    "Instantiation capability";
                }
    
                leaf capability-segment-routing {
                  type boolean;
                  description
                    "Segment Routing capability";
                }
    
                leaf capability-triggered-sync {
                  type boolean;
                  description
                    "Triggered Synchronization capability";
                }
    
                leaf capability-db-version {
                  type boolean;
                  description
                    "DB version capability";
                }
    
                leaf capability-delta-sync {
                  type boolean;
                  description
                    "Delta Synchronization capability";
                }
              }  // container brief-pcep-information
    
              leaf peer-protocol {
                type Pce-proto;
                description
                  "Protocol between PCE and peer";
              }
            }  // list peer-info
          }  // container peer-infos
    
          container tunnel-detail-infos {
            description
              "Detailed tunnel database in XTC";
            list tunnel-detail-info {
              key "peer-address plsp-id tunnel-name";
              description
                "Detailed tunnel information";
              leaf peer-address {
                type inet:ip-address-no-zone;
                description "Peer Address";
              }
    
              leaf plsp-id {
                type uint32;
                description "PCEP LSP ID";
              }
    
              leaf tunnel-name {
                type string;
                description "Tunnel name";
              }
    
              container pcc-address {
                description "PCC address";
                leaf af-name {
                  type Pce-af-id;
                  description "AFName";
                }
    
                leaf ipv4 {
                  when "../af-name = 'ipv4'" {
                    description
                      "../AFName = 'IPv4'";
                  }
                  type Pce-ipv4-address;
                  description
                    "IPv4 address type";
                }
    
                leaf ipv6 {
                  when "../af-name = 'ipv6'" {
                    description
                      "../AFName = 'IPv6'";
                  }
                  type Pce-ipv6-address;
                  description
                    "IPv6 address type";
                }
              }  // container pcc-address
    
              container private-lsp-information {
                description
                  "Private LSP information";
                list event-buffer {
                  description "LSP Event buffer";
                  leaf event-id {
                    type uint32;
                    description
                      "Event ID in range 1 - 0xFFFFFFFF. 0 is invalid.";
                  }
    
                  leaf event-message {
                    type string;
                    description "Event message";
                  }
    
                  leaf time-stamp {
                    type uint64;
                    description
                      "Event time, relative to Jan 1, 1970";
                  }
                }  // list event-buffer
              }  // container private-lsp-information
    
              leaf tunnel-name-xr {
                type string;
                description "Tunnel Name";
              }
    
              leaf xtc-controlled {
                type boolean;
                description
                  "Allow XTC reoptimizations";
              }
    
              leaf color {
                type uint32;
                description "Color";
              }
    
              leaf interface-name {
                type string;
                description "Interface name";
              }
    
              leaf profile-id {
                type uint16;
                description "Profile ID";
              }
    
              leaf is-zombie {
                type boolean;
                description
                  "PCC has disconnected, but tunnel still kept
    around";
              }
    
              list detail-lsp-information {
                description
                  "Detail LSP information";
                container brief-lsp-information {
                  description
                    "Brief LSP information";
                  container source-address {
                    description "Source address";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container source-address
    
                  container destination-address {
                    description
                      "Destination address";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container destination-address
    
                  container srv6-binding-sid {
                    description
                      "SRv6 Binding SID";
                    container binding-sid-prefix {
                      description
                        "SRv6 Binding SID prefix";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container binding-sid-prefix
    
                    container binding-sid-behavior {
                      description
                        "Binding SID behavior";
                      leaf type {
                        type Mgmt-srv6-endpoint;
                        description
                          "Behavior type";
                      }
    
                      leaf description {
                        type string;
                        description
                          "Behavior description";
                      }
                    }  // container binding-sid-behavior
    
                    container structure {
                      description
                        "The SRv6 strucutre of the SID";
                      leaf locator-block-length {
                        type uint8;
                        description
                          "Block Length";
                      }
    
                      leaf locator-node-length {
                        type uint8;
                        description
                          "Node Length";
                      }
    
                      leaf function-length {
                        type uint8;
                        description
                          "Function Length";
                      }
    
                      leaf argument-length {
                        type uint8;
                        description
                          "Argument Length";
                      }
                    }  // container structure
                  }  // container srv6-binding-sid
    
                  leaf tunnel-id {
                    type uint32;
                    description "Tunnel ID";
                  }
    
                  leaf lspid {
                    type uint32;
                    description "LSP ID";
                  }
    
                  leaf binding-sid {
                    type uint32;
                    description "Binding SID";
                  }
    
                  leaf lsp-setup-type {
                    type Lsp-setup;
                    description "LSP Setup Type";
                  }
    
                  leaf operational-state {
                    type Pcep-lsp-state;
                    description
                      "Operational state";
                  }
    
                  leaf administrative-state {
                    type Lsp-state;
                    description
                      "Administrative state";
                  }
    
                  leaf msd {
                    type uint32;
                    description
                      "Maximum SID Depth";
                  }
    
                  leaf absolute-margin {
                    type uint32;
                    description
                      "Absolute Margin";
                  }
    
                  leaf relative-margin {
                    type uint32;
                    description
                      "Relative Margin";
                  }
    
                  leaf igp-bound {
                    type uint32;
                    description
                      "IGP Metric Bound";
                  }
    
                  leaf te-bound {
                    type uint32;
                    description
                      "TE Metric Bound";
                  }
    
                  leaf latency-bound {
                    type uint32;
                    description
                      "Latency Metric Bound";
                  }
    
                  leaf hop-count-bound {
                    type uint32;
                    description
                      "HopCount Metric Bound";
                  }
    
                  leaf anycast-sid-inclusion {
                    type uint32;
                    description
                      "Anycast SID Inclusion";
                  }
                }  // container brief-lsp-information
    
                container er-os {
                  description "Paths";
                  leaf reported-metric-type {
                    type uint32;
                    description
                      "Reported Metric Type";
                  }
    
                  leaf reported-metric-value {
                    type uint32;
                    description
                      "Reported Metric Value";
                  }
    
                  leaf computed-metric-type {
                    type uint32;
                    description
                      "Computed Metric Type";
                  }
    
                  leaf computed-metric-value {
                    type uint32;
                    description
                      "Computed Metric Value";
                  }
    
                  leaf computed-hop-list-time {
                    type uint32;
                    description
                      "Computed Hop List Time";
                  }
    
                  list reported-rsvp-path {
                    description
                      "Reported RSVP path";
                    leaf hop-address {
                      type inet:ipv4-address;
                      description
                        "RSVP hop address";
                    }
    
                    leaf loose {
                      type boolean;
                      description "Loose hop";
                    }
                  }  // list reported-rsvp-path
    
                  list reported-sr-path {
                    description
                      "Reported SR path";
                    container local-addr {
                      description
                        "Local Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container local-addr
    
                    container remote-addr {
                      description
                        "Remote Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container remote-addr
    
                    container srv6sid {
                      description "SRv6 SID";
                      container endpoint-function {
                        description
                          "Endpoint behavior of the SRv6SID";
                        leaf type {
                          type Mgmt-srv6-endpoint;
                          description
                            "Behavior type";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Behavior description";
                        }
                      }  // container endpoint-function
    
                      container structure {
                        description
                          "The SRv6 strucutre of the SID";
                        leaf locator-block-length {
                          type uint8;
                          description
                            "Block Length";
                        }
    
                        leaf locator-node-length {
                          type uint8;
                          description
                            "Node Length";
                        }
    
                        leaf function-length {
                          type uint8;
                          description
                            "Function Length";
                        }
    
                        leaf argument-length {
                          type uint8;
                          description
                            "Argument Length";
                        }
                      }  // container structure
    
                      leaf srv6sid {
                        type inet:ipv6-address;
                        description
                          "Full SRv6 SID";
                      }
    
                      leaf type {
                        type uint8;
                        description
                          "SRv6 SID Type";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "SRv6 SID flags";
                      }
    
                      leaf algorithm {
                        type uint8;
                        description
                          "Flex-Algo value used for this SRv6SID";
                      }
    
                      leaf weight {
                        type uint8;
                        description "Weight";
                      }
                    }  // container srv6sid
    
                    leaf sid-type {
                      type Pce-sr-sid;
                      description "SID type";
                    }
    
                    leaf mpls-label {
                      type uint32;
                      description "Label";
                    }
    
                    leaf local-interface-index {
                      type uint32;
                      description
                        "SNMP index of the upstream interface of this hop";
                    }
    
                    leaf remote-interface-index {
                      type uint32;
                      description
                        "SNMP index of the downstream interface of this
    hop";
                    }
                  }  // list reported-sr-path
    
                  list computed-rsvp-path {
                    description
                      "Computed RSVP path";
                    leaf hop-address {
                      type inet:ipv4-address;
                      description
                        "RSVP hop address";
                    }
    
                    leaf loose {
                      type boolean;
                      description "Loose hop";
                    }
                  }  // list computed-rsvp-path
    
                  list computed-sr-path {
                    description
                      "Computed SR path";
                    container local-addr {
                      description
                        "Local Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container local-addr
    
                    container remote-addr {
                      description
                        "Remote Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container remote-addr
    
                    container srv6sid {
                      description "SRv6 SID";
                      container endpoint-function {
                        description
                          "Endpoint behavior of the SRv6SID";
                        leaf type {
                          type Mgmt-srv6-endpoint;
                          description
                            "Behavior type";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Behavior description";
                        }
                      }  // container endpoint-function
    
                      container structure {
                        description
                          "The SRv6 strucutre of the SID";
                        leaf locator-block-length {
                          type uint8;
                          description
                            "Block Length";
                        }
    
                        leaf locator-node-length {
                          type uint8;
                          description
                            "Node Length";
                        }
    
                        leaf function-length {
                          type uint8;
                          description
                            "Function Length";
                        }
    
                        leaf argument-length {
                          type uint8;
                          description
                            "Argument Length";
                        }
                      }  // container structure
    
                      leaf srv6sid {
                        type inet:ipv6-address;
                        description
                          "Full SRv6 SID";
                      }
    
                      leaf type {
                        type uint8;
                        description
                          "SRv6 SID Type";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "SRv6 SID flags";
                      }
    
                      leaf algorithm {
                        type uint8;
                        description
                          "Flex-Algo value used for this SRv6SID";
                      }
    
                      leaf weight {
                        type uint8;
                        description "Weight";
                      }
                    }  // container srv6sid
    
                    leaf sid-type {
                      type Pce-sr-sid;
                      description "SID type";
                    }
    
                    leaf mpls-label {
                      type uint32;
                      description "Label";
                    }
    
                    leaf local-interface-index {
                      type uint32;
                      description
                        "SNMP index of the upstream interface of this hop";
                    }
    
                    leaf remote-interface-index {
                      type uint32;
                      description
                        "SNMP index of the downstream interface of this
    hop";
                    }
                  }  // list computed-sr-path
                }  // container er-os
    
                container lsppcep-information {
                  description
                    "PCEP related LSP information";
                  container rsvp-error {
                    description
                      "RSVP error info";
                    leaf node-address {
                      type inet:ipv4-address;
                      description
                        "RSVP error node address";
                    }
    
                    leaf error-flags {
                      type uint8;
                      description
                        "RSVP error flags";
                    }
    
                    leaf error-code {
                      type uint8;
                      description
                        "RSVP error code";
                    }
    
                    leaf error-value {
                      type uint16;
                      description
                        "RSVP error value";
                    }
                  }  // container rsvp-error
    
                  leaf pcepid {
                    type uint32;
                    description
                      "PCE protocol identifier";
                  }
    
                  leaf pcep-flag-d {
                    type boolean;
                    description
                      "PCEP LSP delegation flag";
                  }
    
                  leaf pcep-flag-s {
                    type boolean;
                    description
                      "PCEP LSP state-sync flag";
                  }
    
                  leaf pcep-flag-r {
                    type boolean;
                    description
                      "PCEP LSP remove flag";
                  }
    
                  leaf pcep-flag-a {
                    type boolean;
                    description
                      "PCEP LSP admin flag";
                  }
    
                  leaf pcep-flag-o {
                    type uint8;
                    description
                      "PCEP LSP operation flag";
                  }
    
                  leaf pcep-flag-c {
                    type uint8;
                    description
                      "PCEP LSP initiated flag";
                  }
                }  // container lsppcep-information
    
                container lsp-association-info {
                  description
                    "LSP association information";
                  container association-source {
                    description
                      "Association Source";
                    leaf af-name {
                      type Pce-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Pce-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Pce-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container association-source
    
                  leaf association-type {
                    type uint32;
                    description
                      "Association Type";
                  }
    
                  leaf association-id {
                    type uint32;
                    description "Association ID";
                  }
                }  // container lsp-association-info
    
                container lsp-attributes {
                  description "LSP attributes";
                  leaf affinity-exclude-any {
                    type uint32;
                    description
                      "Affinity exclude any";
                  }
    
                  leaf affinity-include-any {
                    type uint32;
                    description
                      "Affinity include any";
                  }
    
                  leaf affinity-include-all {
                    type uint32;
                    description
                      "Affinity include all";
                  }
    
                  leaf setup-priority {
                    type uint8;
                    description "Setup Priority";
                  }
    
                  leaf hold-priority {
                    type uint8;
                    description "Hold Priority";
                  }
    
                  leaf local-protection {
                    type boolean;
                    description
                      "True, if local protection is desired";
                  }
                }  // container lsp-attributes
    
                container sub-delegated-pce {
                  description
                    "Sub delegated PCE";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container sub-delegated-pce
    
                container state-sync-pce {
                  description "State-sync PCE";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container state-sync-pce
    
                container reporting-pcc-address {
                  description
                    "Reporting PCC address";
                  leaf af-name {
                    type Pce-af-id;
                    description "AFName";
                  }
    
                  leaf ipv4 {
                    when "../af-name = 'ipv4'" {
                      description
                        "../AFName = 'IPv4'";
                    }
                    type Pce-ipv4-address;
                    description
                      "IPv4 address type";
                  }
    
                  leaf ipv6 {
                    when "../af-name = 'ipv6'" {
                      description
                        "../AFName = 'IPv6'";
                    }
                    type Pce-ipv6-address;
                    description
                      "IPv6 address type";
                  }
                }  // container reporting-pcc-address
    
                container srpag-info {
                  description
                    "SR Policy Association Group";
                  container srpag-asso-source {
                    description
                      "Association Source";
                    leaf af-name {
                      type Xtc-af-id;
                      description "AFName";
                    }
    
                    leaf ipv4 {
                      when "../af-name = 'ipv4'" {
                        description
                          "../AFName = 'IPv4'";
                      }
                      type Xtc-ipv4-address;
                      description
                        "IPv4 address type";
                    }
    
                    leaf ipv6 {
                      when "../af-name = 'ipv6'" {
                        description
                          "../AFName = 'IPv6'";
                      }
                      type Xtc-ipv6-address;
                      description
                        "IPv6 address type";
                    }
                  }  // container srpag-asso-source
    
                  container policy-id-info {
                    description "POL ID";
                    container endpoint {
                      description
                        "Policy endpoint";
                      leaf af-name {
                        type Xtc-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Xtc-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Xtc-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container endpoint
    
                    leaf color {
                      type uint32;
                      description "Policy color";
                    }
                  }  // container policy-id-info
    
                  container policy-name-info {
                    description "POL Name";
                    leaf policy-name {
                      type string;
                      description "Policy name";
                    }
                  }  // container policy-name-info
    
                  container candidate-path-id-info {
                    description "CPATH ID";
                    leaf originator-address {
                      type inet:ipv6-address;
                      description
                        "Originator IPv6 address";
                    }
    
                    leaf originator-asn {
                      type uint32;
                      description
                        "Originator AS number";
                    }
    
                    leaf discriminator {
                      type uint32;
                      description
                        "Discriminator";
                    }
    
                    leaf protocol-origin {
                      type uint8;
                      description
                        "Protocol origin";
                    }
                  }  // container candidate-path-id-info
    
                  container candidate-path-preference {
                    description
                      "CPATH PREFERENCE";
                    leaf preference {
                      type uint32;
                      description "Preference";
                    }
                  }  // container candidate-path-preference
    
                  leaf srpag-asso-id {
                    type uint16;
                    description "Association ID";
                  }
                }  // container srpag-info
    
                leaf signaled-bandwidth-specified {
                  type boolean;
                  description
                    "True if router notifies signal bandwidth";
                }
    
                leaf signaled-bandwidth {
                  type uint64;
                  description
                    "Signaled Bandwidth";
                }
    
                leaf actual-bandwidth-specified {
                  type boolean;
                  description
                    "True if router notifies actual bandwidth";
                }
    
                leaf actual-bandwidth {
                  type uint64;
                  description
                    "Actual bandwidth utilized in the data-plane";
                }
    
                leaf lsp-role {
                  type uint32;
                  description "LSP Role";
                }
    
                leaf computing-pce {
                  type uint32;
                  description "Computing PCE";
                }
    
                leaf preference {
                  type uint32;
                  description "Preference";
                }
    
                leaf protection-type {
                  type uint32;
                  description "Protection Type";
                }
    
                leaf invalidated-traffic-dropped {
                  type boolean;
                  description
                    "Invalidated Traffic Dropped";
                }
    
                leaf-list srlg-info {
                  type uint32;
                  description
                    "List of SLRGs used by LSP";
                }
    
                list rro {
                  description "RRO";
                  container sr-rro {
                    description
                      "Segment Routing RRO info";
                    container local-addr {
                      description
                        "Local Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container local-addr
    
                    container remote-addr {
                      description
                        "Remote Address";
                      leaf af-name {
                        type Pce-af-id;
                        description "AFName";
                      }
    
                      leaf ipv4 {
                        when
                          "../af-name = 'ipv4'" {
                          description
                            "../AFName = 'IPv4'";
                        }
                        type Pce-ipv4-address;
                        description
                          "IPv4 address type";
                      }
    
                      leaf ipv6 {
                        when
                          "../af-name = 'ipv6'" {
                          description
                            "../AFName = 'IPv6'";
                        }
                        type Pce-ipv6-address;
                        description
                          "IPv6 address type";
                      }
                    }  // container remote-addr
    
                    container srv6sid {
                      description "SRv6 SID";
                      container endpoint-function {
                        description
                          "Endpoint behavior of the SRv6SID";
                        leaf type {
                          type Mgmt-srv6-endpoint;
                          description
                            "Behavior type";
                        }
    
                        leaf description {
                          type string;
                          description
                            "Behavior description";
                        }
                      }  // container endpoint-function
    
                      container structure {
                        description
                          "The SRv6 strucutre of the SID";
                        leaf locator-block-length {
                          type uint8;
                          description
                            "Block Length";
                        }
    
                        leaf locator-node-length {
                          type uint8;
                          description
                            "Node Length";
                        }
    
                        leaf function-length {
                          type uint8;
                          description
                            "Function Length";
                        }
    
                        leaf argument-length {
                          type uint8;
                          description
                            "Argument Length";
                        }
                      }  // container structure
    
                      leaf srv6sid {
                        type inet:ipv6-address;
                        description
                          "Full SRv6 SID";
                      }
    
                      leaf type {
                        type uint8;
                        description
                          "SRv6 SID Type";
                      }
    
                      leaf flags {
                        type uint8;
                        description
                          "SRv6 SID flags";
                      }
    
                      leaf algorithm {
                        type uint8;
                        description
                          "Flex-Algo value used for this SRv6SID";
                      }
    
                      leaf weight {
                        type uint8;
                        description "Weight";
                      }
                    }  // container srv6sid
    
                    leaf sid-type {
                      type Pce-sr-sid;
                      description "SID type";
                    }
    
                    leaf mpls-label {
                      type uint32;
                      description "Label";
                    }
    
                    leaf local-interface-index {
                      type uint32;
                      description
                        "SNMP index of the upstream interface of this hop";
                    }
    
                    leaf remote-interface-index {
                      type uint32;
                      description
                        "SNMP index of the downstream interface of this
    hop";
                    }
                  }  // container sr-rro
    
                  leaf rro-type {
                    type Pce-rro;
                    description "RRO Type";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description
                      "IPv4 address of RRO";
                  }
    
                  leaf mpls-label {
                    type uint32;
                    description
                      "MPLS label of RRO";
                  }
    
                  leaf flags {
                    type uint8;
                    description "RRO Flags";
                  }
                }  // list rro
              }  // list detail-lsp-information
            }  // list tunnel-detail-info
          }  // container tunnel-detail-infos
        }  // container pce
      }  // module Cisco-IOS-XR-infra-xtc-oper
    

© 2023 YumaWorks, Inc. All rights reserved.