Cisco-IOS-XR-ip-static-ipv4-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ip-static-ipv4 package operational data. This module con...

  • Version: 2020-11-20

    Cisco-IOS-XR-ip-static-ipv4-oper@2020-11-20


    
      module Cisco-IOS-XR-ip-static-ipv4-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-ipv4-oper";
    
        prefix ip-static-ipv4-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ip-static-ipv4-oper-sub1 {
          revision-date "2020-11-20";
        }
    
        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 ip-static-ipv4 package operational data.
    
    This module contains definitions
    for the following management objects:
      ipv4-local: Local Routing Information
      ipv4-static: Static Routing Information
      ipv4-connected: Connected Routing Information
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-11-20" {
          description
            "Added leaf node for prefer RIB over LDP";
        }
    
        revision "2019-12-12" {
          description
            "Added leaf node for FlexAlgo for srv6";
        }
    
        revision "2019-06-01" {
          description
            "Added oper ipv4 support for fridb, colocation, sr-policy
    2019-05-13
    Added ipv4 support for bfd sessions, object track database and segment routing";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-01-03" {
          description "Added oper ipv4 support";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Safi {
          type enumeration {
            enum "unicast" {
              value 1;
              description "unicast type";
            }
            enum "multicast" {
              value 2;
              description "multicast type";
            }
          }
          description "Safi";
        }
    
        typedef Afi {
          type enumeration {
            enum "ipv4" {
              value 1;
              description "ipv4 addressfamily";
            }
            enum "ipv6" {
              value 2;
              description "ipv6 addressfamily";
            }
          }
          description "Afi";
        }
    
        typedef Ipv4friafi {
          type enumeration {
            enum "ipv4" {
              value 1;
              description "ipv4 addressfamily";
            }
            enum "ipv6" {
              value 2;
              description "ipv6 addressfamily";
            }
          }
          description "Ipv4friafi";
        }
    
        typedef Ipv4frisafi {
          type enumeration {
            enum "unicast" {
              value 1;
              description "unicast type";
            }
            enum "multicast" {
              value 2;
              description "multicast type";
            }
          }
          description "Ipv4frisafi";
        }
    
        container ipv4-local {
          config false;
          description
            "Local Routing Information";
          container ipv4vrfs {
            description
              "ipv4 interface database";
            list ipv4vrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description "The name of the";
              }
    
              list ipv4-table {
                key "table-name";
                description "table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list ipv4afi {
                  key "afi";
                  description
                    "address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list ipv4safi {
                    key "safi";
                    description
                      "unicast|multicast";
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
    
                    list ipv4-interface {
                      key "interface-name";
                      description
                        "Interface to display";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Interface name";
                      }
    
                      container evt-hist {
                        description
                          "Event history of interface";
                        leaf evt-class-name {
                          type string;
                          description
                            "Class name string";
                        }
    
                        list evt-entry {
                          description
                            "Array of event entries";
                          leaf evt-timestamp {
                            type string;
                            description
                              "The timestamp of the event";
                          }
    
                          leaf evt-name {
                            type string;
                            description
                              "Event name";
                          }
    
                          leaf evt-type {
                            type uint8;
                            description
                              "Event type";
                          }
    
                          leaf evt-many {
                            type boolean;
                            description
                              "Multiple instance flag";
                          }
    
                          leaf evt-sticky {
                            type boolean;
                            description
                              "Sticky flag";
                          }
    
                          leaf-list evt-data {
                            type uint32;
                            description
                              "Optional data";
                          }
                        }  // list evt-entry
                      }  // container evt-hist
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf table-id {
                        type uint32;
                        description
                          "interface database table id";
                      }
    
                      leaf afi {
                        type uint32;
                        description "AFI";
                      }
    
                      leaf safi {
                        type uint32;
                        description "SAFI";
                      }
    
                      leaf state {
                        type Interface-state;
                        description
                          "Interface state";
                      }
    
                      leaf ifh {
                        type uint32;
                        description
                          "Interface handle";
                      }
    
                      leaf last-notif-time {
                        type uint64;
                        description
                          "Last IM/RSI notification time";
                      }
    
                      leaf last-if-state {
                        type Interface-state;
                        description
                          "Last IM notification state";
                      }
    
                      leaf ref-count {
                        type uint32;
                        description
                          "Reference count";
                      }
    
                      leaf gl-ifh {
                        type uint32;
                        description
                          "Global Interface handle";
                      }
    
                      leaf im-state {
                        type uint32;
                        description
                          "Interface manager state";
                      }
    
                      leaf rsi-register {
                        type boolean;
                        description
                          "Registration status with RSI";
                      }
    
                      leaf-list tblid-db {
                        type uint32;
                        description
                          "IDB Table ID";
                      }
    
                      leaf-list fr-tblid-db {
                        type uint32;
                        description
                          "FR Table ID";
                      }
    
                      list paths {
                        description
                          "Paths referenced by this idb";
                        leaf prefix {
                          type Ipv4-static-addr-bd;
                          description
                            "The path's prefix address";
                        }
    
                        leaf prefix-len {
                          type uint8;
                          description
                            "The path's prefix length";
                        }
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
                      }  // list paths
    
                      list addr-info {
                        description
                          "IP address info";
                        leaf addr {
                          type Ipv4-static-addr-bd;
                          description
                            "IP address";
                        }
    
                        leaf prefix-len {
                          type uint32;
                          description
                            "Prefix length";
                        }
    
                        leaf route-tag {
                          type uint32;
                          description
                            "Static route tag";
                        }
    
                        leaf flags {
                          type uint32;
                          description "Flags";
                        }
    
                        leaf inactive {
                          type boolean;
                          description
                            "Active/Inactive";
                        }
    
                        leaf prefix-sid {
                          type boolean;
                          description
                            "Prefix SID";
                        }
                      }  // list addr-info
                    }  // list ipv4-interface
                  }  // list ipv4safi
                }  // list ipv4afi
              }  // list ipv4-table
            }  // list ipv4vrf
          }  // container ipv4vrfs
    
          container nhvrfs {
            description "next-hop's vrf list";
            list nhvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of thei vrf";
              }
    
              list nh-table {
                key "table-name";
                description
                  "next-hop table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list nhafi {
                  key "afi";
                  description
                    "next-hop address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list nhsafi {
                    key "safi";
                    description
                      "next-hop safi(unicat|multicast) type";
                    container nh-addresses {
                      description
                        "next hop Database";
                      list nh-address {
                        key "next-hop-addr";
                        description
                          "next-hop address to display";
                        leaf next-hop-addr {
                          type xr:Cisco-ios-xr-string;
                          description
                            "next hop address";
                        }
    
                        container evt-hist {
                          description
                            "Event history of next-hop";
                          leaf evt-class-name {
                            type string;
                            description
                              "Class name string";
                          }
    
                          list evt-entry {
                            description
                              "Array of event entries";
                            leaf evt-timestamp {
                              type string;
                              description
                                "The timestamp of the event";
                            }
    
                            leaf evt-name {
                              type string;
                              description
                                "Event name";
                            }
    
                            leaf evt-type {
                              type uint8;
                              description
                                "Event type";
                            }
    
                            leaf evt-many {
                              type boolean;
                              description
                                "Multiple instance flag";
                            }
    
                            leaf evt-sticky {
                              type boolean;
                              description
                                "Sticky flag";
                            }
    
                            leaf-list evt-data {
                              type uint32;
                              description
                                "Optional data";
                            }
                          }  // list evt-entry
                        }  // container evt-hist
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "next-hop table id";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf state {
                          type Nexthop-state;
                          description
                            "Next-hop address state";
                        }
    
                        leaf conn-state {
                          type Nexthop-state;
                          description
                            "Next-hop address connected state";
                        }
    
                        leaf ifh {
                          type uint32;
                          description
                            "Interface handleto which RIB resolves this";
                        }
    
                        leaf conn-ifh {
                          type uint32;
                          description
                            "Interface handle to which this is connected";
                        }
    
                        leaf conn-ref-count {
                          type uint32;
                          description
                            "Number of paths for which conn_state is resolved";
                        }
    
                        leaf bfd-interval {
                          type uint32;
                          description
                            "BFD hello interval";
                        }
    
                        leaf bfd-multiplier {
                          type uint32;
                          description
                            "BFD multiplier";
                        }
    
                        leaf bfd-state {
                          type Bfd-state;
                          description
                            "State of bfd session";
                        }
    
                        leaf last-rib-time {
                          type uint64;
                          description
                            "Last RIB notification time";
                        }
    
                        leaf last-rib-state {
                          type Nexthop-state;
                          description
                            "Last RIB notification state";
                        }
    
                        leaf last-bfd-time {
                          type uint64;
                          description
                            "Last BFD notification time";
                        }
    
                        leaf last-bfd-state {
                          type Bfd-state;
                          description
                            "Last BFD notification state";
                        }
    
                        list paths {
                          description
                            "Paths referenced by this nhdb";
                          leaf prefix {
                            type Ipv4-static-addr-bd;
                            description
                              "The path's prefix address";
                          }
    
                          leaf prefix-len {
                            type uint8;
                            description
                              "The path's prefix length";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
                        }  // list paths
    
                        list bfds {
                          description
                            "Paths bfd state";
                          leaf enable {
                            type boolean;
                            description
                              "TRUE if bfd is enabled";
                          }
                        }  // list bfds
                      }  // list nh-address
                    }  // container nh-addresses
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list nhsafi
                }  // list nhafi
              }  // list nh-table
            }  // list nhvrf
          }  // container nhvrfs
    
          container ipv4fridbvrfs {
            description "ipv4 forward database";
            list ipv4fridbvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "Forward DB vrf name";
              }
    
              list ipv4fridb-table {
                key "table-name";
                description "table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the forward DB table";
                }
    
                list ipv4fridbafi {
                  key "afitype";
                  description
                    "address family type";
                  leaf afitype {
                    type Ipv4friafi;
                    description "IPv4 AFI";
                  }
    
                  list ipv4fridbsafi {
                    key "safitype";
                    description
                      "unicast|multicast";
                    leaf safitype {
                      type Ipv4frisafi;
                      description "IPv4 SAFI";
                    }
    
                    list ipv4fridb-interface {
                      key "interface-name";
                      description
                        "forward DB Interface to display";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "forward DB Interface name";
                      }
    
                      leaf if-name {
                        type string;
                        description
                          "Interface name";
                      }
    
                      leaf if-handle {
                        type uint32;
                        description
                          "Interface handle";
                      }
    
                      leaf-list tblid-db {
                        type uint32;
                        description
                          "Table ID database";
                      }
                    }  // list ipv4fridb-interface
                  }  // list ipv4fridbsafi
                }  // list ipv4fridbafi
              }  // list ipv4fridb-table
            }  // list ipv4fridbvrf
          }  // container ipv4fridbvrfs
    
          container table-events-ids {
            description "list of Tables";
            list table-events-id {
              key "table-id";
              description
                "Table ID to display events info";
              leaf table-id {
                type xr:Hex-integer;
                description "Table ID";
              }
    
              leaf evt-class-name {
                type string;
                description "Class name string";
              }
    
              list evt-entry {
                description
                  "Array of event entries";
                leaf evt-timestamp {
                  type string;
                  description
                    "The timestamp of the event";
                }
    
                leaf evt-name {
                  type string;
                  description "Event name";
                }
    
                leaf evt-type {
                  type uint8;
                  description "Event type";
                }
    
                leaf evt-many {
                  type boolean;
                  description
                    "Multiple instance flag";
                }
    
                leaf evt-sticky {
                  type boolean;
                  description "Sticky flag";
                }
    
                leaf-list evt-data {
                  type uint32;
                  description "Optional data";
                }
              }  // list evt-entry
            }  // list table-events-id
          }  // container table-events-ids
    
          container bfdvrfs {
            description "BFD's vrf list";
            list bfdvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of the vrf";
              }
    
              list bfd-table {
                key "table-name";
                description "BFD table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the table";
                }
    
                list bfdafi {
                  key "afi";
                  description
                    "BFD address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list bfdsafi {
                    key "safi";
                    description
                      "BFD safi(unicat|multicast) type";
                    container bfd-addresses {
                      description
                        "list of BFD sessions";
                      list bfd-address {
                        key "bfd-next-hop-addr";
                        description
                          "BFD next-hop address to display";
                        leaf bfd-next-hop-addr {
                          type xr:Cisco-ios-xr-string;
                          description
                            "BFD next hop address";
                        }
    
                        container bfd-stat {
                          description
                            "Stat of bfd session";
                          leaf session-up-cnt {
                            type uint32;
                            description
                              "# of state change to up";
                          }
    
                          leaf session-down-cnt {
                            type uint32;
                            description
                              "# of state change to down";
                          }
                        }  // container bfd-stat
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "next-hop bfd table id";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf ifh {
                          type uint32;
                          description
                            "Interface handle";
                        }
    
                        leaf bfd-interval {
                          type uint32;
                          description
                            "BFD hello interval";
                        }
    
                        leaf bfd-multiplier {
                          type uint32;
                          description
                            "BFD multiplier";
                        }
    
                        leaf bfd-multihop {
                          type boolean;
                          description
                            "BFD multihop";
                        }
    
                        leaf bfd-state {
                          type Bfd-state;
                          description
                            "State of bfd session";
                        }
    
                        leaf bfd-source {
                          type Ipv4-static-addr-bd;
                          description
                            "Multihop session source IP";
                        }
                      }  // list bfd-address
                    }  // container bfd-addresses
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list bfdsafi
                }  // list bfdafi
              }  // list bfd-table
            }  // list bfdvrf
          }  // container bfdvrfs
    
          container topo-vrfs {
            description "vrf list for Topology";
            list topo-vrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of thei vrf";
              }
    
              list topo-table {
                key "table-name";
                description
                  "Topology table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list topo-afi {
                  key "afi";
                  description
                    "Topology address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list topo-safi {
                    key "safi";
                    description
                      "Topology SAFI type";
                    container destinations {
                      description "route info";
                      list destination {
                        description
                          "Destinatioin address and prefix length";
                        leaf prefix {
                          type xr:Cisco-ios-xr-string;
                          description
                            "detaination address prefix";
                        }
    
                        leaf prefix-length {
                          type xr:Hex-integer;
                          description
                            "detaination prefix length";
                        }
    
                        container evt-hist {
                          description
                            "Event history of topology";
                          leaf evt-class-name {
                            type string;
                            description
                              "Class name string";
                          }
    
                          list evt-entry {
                            description
                              "Array of event entries";
                            leaf evt-timestamp {
                              type string;
                              description
                                "The timestamp of the event";
                            }
    
                            leaf evt-name {
                              type string;
                              description
                                "Event name";
                            }
    
                            leaf evt-type {
                              type uint8;
                              description
                                "Event type";
                            }
    
                            leaf evt-many {
                              type boolean;
                              description
                                "Multiple instance flag";
                            }
    
                            leaf evt-sticky {
                              type boolean;
                              description
                                "Sticky flag";
                            }
    
                            leaf-list evt-data {
                              type uint32;
                              description
                                "Optional data";
                            }
                          }  // list evt-entry
                        }  // container evt-hist
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "Table id of static route";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf best-distance {
                          type uint32;
                          description
                            "Administrative distance of best path";
                        }
    
                        leaf last-tdb-time {
                          type uint64;
                          description
                            "Last event occured on the tdb";
                        }
    
                        list paths {
                          description
                            "Path(s) of the route";
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf interface {
                            type string;
                            description
                              "Next-hop interface";
                          }
    
                          leaf if-resolved {
                            type boolean;
                            description
                              "Interface resolved indicator";
                          }
    
                          leaf object {
                            type string;
                            description
                              "Tracking object";
                          }
    
                          leaf object-resolved {
                            type boolean;
                            description
                              "Object resolved indicator";
                          }
    
                          leaf exp-path {
                            type string;
                            description
                              "Explicit path";
                          }
    
                          leaf next-hop {
                            type Ipv4-static-addr-bd;
                            description
                              "Next-hop address";
                          }
    
                          leaf nh-resolved {
                            type boolean;
                            description
                              "Next-hop resolved indicator";
                          }
    
                          leaf path-tag {
                            type uint32;
                            description
                              "Protocol tag";
                          }
    
                          leaf path-flags {
                            type uint32;
                            description
                              "Topology path flags";
                          }
    
                          leaf distance {
                            type uint32;
                            description
                              "Administrative distance";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Reference count";
                          }
    
                          leaf metric {
                            type uint32;
                            description
                              "UCMP Metric";
                          }
    
                          leaf status {
                            type uint32;
                            description
                              "Path Status";
                          }
    
                          leaf rib-time {
                            type uint64;
                            description
                              "RIB add or delete time";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "Path version";
                          }
    
                          leaf index {
                            type string;
                            description
                              "OC index";
                          }
    
                          leaf local-label {
                            type uint32;
                            description
                              "Route local Label";
                          }
    
                          leaf last-notif-time {
                            type uint64;
                            description
                              "Last IM notification time";
                          }
    
                          leaf last-rib-time {
                            type uint64;
                            description
                              "Last RIB notification time for nh";
                          }
    
                          leaf last-rib-result {
                            type uint64;
                            description
                              "Last RIB batch result";
                          }
    
                          leaf last-bfd-state {
                            type Bfd-state;
                            description
                              "State of bfd session";
                          }
    
                          leaf last-bfd-time {
                            type uint64;
                            description
                              "Last BFD notification time";
                          }
    
                          leaf path-state {
                            type Explicit-path-state;
                            description
                              "explicit path status";
                          }
    
                          leaf last-te-time {
                            type uint64;
                            description
                              "Last TE notification time";
                          }
    
                          leaf algorithm {
                            type uint32;
                            description
                              "FlexAlgo value, Valid only for ipv6_static";
                          }
    
                          leaf prefer-rib-over-ldp {
                            type boolean;
                            description
                              "Give precedence to RIB over LDP";
                          }
                        }  // list paths
                      }  // list destination
                    }  // container destinations
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list topo-safi
                }  // list topo-afi
              }  // list topo-table
            }  // list topo-vrf
          }  // container topo-vrfs
    
          container table-ids {
            description "list of Tables";
            list table-id {
              key "table-id";
              description "Table ID to display";
              leaf table-id {
                type xr:Hex-integer;
                description "Table ID";
              }
    
              leaf vrf-name {
                type string;
                description "VRF Name";
              }
    
              leaf table-name {
                type string;
                description "VRF Name";
              }
    
              leaf table-id-xr {
                type uint32;
                description
                  "table id in table database";
              }
    
              leaf afi {
                type uint32;
                description "AFI";
              }
    
              leaf safi {
                type uint32;
                description "SAFI";
              }
            }  // list table-id
          }  // container table-ids
        }  // container ipv4-local
    
        container ipv4-static {
          config false;
          description
            "Static Routing Information";
          container ipv4-sr-policy-vrfs {
            description
              "ipv4 sr-policy interface database";
            list ipv4-sr-policy-vrf {
              key "vrf-name";
              description "sr policy vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of the vrf";
              }
    
              list ipv4-sr-policy-table {
                key "table-name";
                description
                  "sr policy table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the table";
                }
    
                list ipv4-sr-policy-afi {
                  key "afi";
                  description
                    "address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list ipv4-sr-policy-safi {
                    key "safi";
                    description
                      "unicast|multicast";
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
    
                    list ipv4-sr-policy-interface {
                      key "srpolicy";
                      description
                        "sr policy to display";
                      leaf srpolicy {
                        type xr:Cisco-ios-xr-string;
                        description
                          "sr policy name";
                      }
    
                      container evt-hist {
                        description
                          "Event history of interface";
                        leaf evt-class-name {
                          type string;
                          description
                            "Class name string";
                        }
    
                        list evt-entry {
                          description
                            "Array of event entries";
                          leaf evt-timestamp {
                            type string;
                            description
                              "The timestamp of the event";
                          }
    
                          leaf evt-name {
                            type string;
                            description
                              "Event name";
                          }
    
                          leaf evt-type {
                            type uint8;
                            description
                              "Event type";
                          }
    
                          leaf evt-many {
                            type boolean;
                            description
                              "Multiple instance flag";
                          }
    
                          leaf evt-sticky {
                            type boolean;
                            description
                              "Sticky flag";
                          }
    
                          leaf-list evt-data {
                            type uint32;
                            description
                              "Optional data";
                          }
                        }  // list evt-entry
                      }  // container evt-hist
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf table-id {
                        type uint32;
                        description
                          "interface database table id";
                      }
    
                      leaf afi {
                        type uint32;
                        description "AFI";
                      }
    
                      leaf safi {
                        type uint32;
                        description "SAFI";
                      }
    
                      leaf state {
                        type Interface-state;
                        description
                          "Interface state";
                      }
    
                      leaf ifh {
                        type uint32;
                        description
                          "Interface handle";
                      }
    
                      leaf last-notif-time {
                        type uint64;
                        description
                          "Last IM/RSI notification time";
                      }
    
                      leaf last-if-state {
                        type Interface-state;
                        description
                          "Last IM notification state";
                      }
    
                      leaf ref-count {
                        type uint32;
                        description
                          "Reference count";
                      }
    
                      leaf gl-ifh {
                        type uint32;
                        description
                          "Global Interface handle";
                      }
    
                      leaf im-state {
                        type uint32;
                        description
                          "Interface manager state";
                      }
    
                      leaf rsi-register {
                        type boolean;
                        description
                          "Registration status with RSI";
                      }
    
                      leaf-list tblid-db {
                        type uint32;
                        description
                          "IDB Table ID";
                      }
    
                      leaf-list fr-tblid-db {
                        type uint32;
                        description
                          "FR Table ID";
                      }
    
                      list paths {
                        description
                          "Paths referenced by this idb";
                        leaf prefix {
                          type Ipv4-static-addr-bd;
                          description
                            "The path's prefix address";
                        }
    
                        leaf prefix-len {
                          type uint8;
                          description
                            "The path's prefix length";
                        }
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
                      }  // list paths
    
                      list addr-info {
                        description
                          "IP address info";
                        leaf addr {
                          type Ipv4-static-addr-bd;
                          description
                            "IP address";
                        }
    
                        leaf prefix-len {
                          type uint32;
                          description
                            "Prefix length";
                        }
    
                        leaf route-tag {
                          type uint32;
                          description
                            "Static route tag";
                        }
    
                        leaf flags {
                          type uint32;
                          description "Flags";
                        }
    
                        leaf inactive {
                          type boolean;
                          description
                            "Active/Inactive";
                        }
    
                        leaf prefix-sid {
                          type boolean;
                          description
                            "Prefix SID";
                        }
                      }  // list addr-info
                    }  // list ipv4-sr-policy-interface
                  }  // list ipv4-sr-policy-safi
                }  // list ipv4-sr-policy-afi
              }  // list ipv4-sr-policy-table
            }  // list ipv4-sr-policy-vrf
          }  // container ipv4-sr-policy-vrfs
    
          container track-object-names {
            description "list of track objects";
            list track-object-name {
              key "ot-name";
              description
                "Track object to display";
              leaf ot-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of the tacking object";
              }
    
              leaf state {
                type Object-state;
                description "Object state";
              }
    
              leaf last-ot-time {
                type uint64;
                description
                  "Last OT notification time";
              }
    
              leaf last-ot-state {
                type Object-state;
                description
                  "Last OT notification state";
              }
    
              list paths {
                description
                  "Paths referenced by this otdb";
                leaf prefix {
                  type Ipv4-static-addr-bd;
                  description
                    "The path's prefix address";
                }
    
                leaf prefix-len {
                  type uint8;
                  description
                    "The path's prefix length";
                }
    
                leaf vrf-name {
                  type string;
                  description "VRF Name";
                }
              }  // list paths
            }  // list track-object-name
          }  // container track-object-names
    
          container colocationvrf-names {
            description
              "list of colocation vrfs";
            list colocationvrf-name {
              key "vrf";
              description
                "vrf name of table id to display colocation list";
              leaf vrf {
                type xr:Cisco-ios-xr-string;
                description "vrf name";
              }
    
              list colocation-table {
                key "table-name";
                description
                  "table name to display colocation list";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description "table name";
                }
    
                list colocation-afi {
                  key "afi";
                  description
                    "Colocation address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list colocation-safi {
                    key "safi";
                    description
                      "Colocation safi(unicat|multicast) type";
                    container colo-table-ids {
                      description
                        "tables to display colocation list";
                      list colo-table-id {
                        key "table-id";
                        description
                          "table to display colocation list";
                        leaf table-id {
                          type xr:Hex-integer;
                          description "Table ID";
                        }
    
                        list colocation {
                          description
                            "Colocation List of table";
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf table-name {
                            type string;
                            description
                              "Table Name";
                          }
    
                          leaf table-id {
                            type uint32;
                            description
                              "colocation table id";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Refrence Count";
                          }
                        }  // list colocation
                      }  // list colo-table-id
                    }  // container colo-table-ids
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list colocation-safi
                }  // list colocation-afi
              }  // list colocation-table
            }  // list colocationvrf-name
          }  // container colocationvrf-names
    
          container exp-paths {
            description
              "list of isegment routes";
            list exp-path {
              key "exp-path";
              description
                "Explicit path to display";
              leaf exp-path {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of the tacking object";
              }
    
              leaf state {
                type Explicit-path-state;
                description
                  "Explicit path state";
              }
    
              leaf tunnel-ifh {
                type uint32;
                description
                  "Tunnel interface handle";
              }
    
              leaf binding-label {
                type uint32;
                description
                  "Explicit path Binding label";
              }
    
              leaf last-te-time {
                type uint64;
                description
                  "Last TE notification time";
              }
    
              leaf last-te-state {
                type Explicit-path-state;
                description
                  "Last TE notification state";
              }
    
              list paths {
                description
                  "Paths referenced by this tedb";
                leaf prefix {
                  type Ipv4-static-addr-bd;
                  description
                    "The path's prefix address";
                }
    
                leaf prefix-len {
                  type uint8;
                  description
                    "The path's prefix length";
                }
    
                leaf vrf-name {
                  type string;
                  description "VRF Name";
                }
              }  // list paths
            }  // list exp-path
          }  // container exp-paths
    
          container ipv4vrfs {
            description
              "ipv4 interface database";
            list ipv4vrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description "The name of the";
              }
    
              list ipv4-table {
                key "table-name";
                description "table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list ipv4afi {
                  key "afi";
                  description
                    "address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list ipv4safi {
                    key "safi";
                    description
                      "unicast|multicast";
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
    
                    list ipv4-interface {
                      key "interface-name";
                      description
                        "Interface to display";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Interface name";
                      }
    
                      container evt-hist {
                        description
                          "Event history of interface";
                        leaf evt-class-name {
                          type string;
                          description
                            "Class name string";
                        }
    
                        list evt-entry {
                          description
                            "Array of event entries";
                          leaf evt-timestamp {
                            type string;
                            description
                              "The timestamp of the event";
                          }
    
                          leaf evt-name {
                            type string;
                            description
                              "Event name";
                          }
    
                          leaf evt-type {
                            type uint8;
                            description
                              "Event type";
                          }
    
                          leaf evt-many {
                            type boolean;
                            description
                              "Multiple instance flag";
                          }
    
                          leaf evt-sticky {
                            type boolean;
                            description
                              "Sticky flag";
                          }
    
                          leaf-list evt-data {
                            type uint32;
                            description
                              "Optional data";
                          }
                        }  // list evt-entry
                      }  // container evt-hist
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf table-id {
                        type uint32;
                        description
                          "interface database table id";
                      }
    
                      leaf afi {
                        type uint32;
                        description "AFI";
                      }
    
                      leaf safi {
                        type uint32;
                        description "SAFI";
                      }
    
                      leaf state {
                        type Interface-state;
                        description
                          "Interface state";
                      }
    
                      leaf ifh {
                        type uint32;
                        description
                          "Interface handle";
                      }
    
                      leaf last-notif-time {
                        type uint64;
                        description
                          "Last IM/RSI notification time";
                      }
    
                      leaf last-if-state {
                        type Interface-state;
                        description
                          "Last IM notification state";
                      }
    
                      leaf ref-count {
                        type uint32;
                        description
                          "Reference count";
                      }
    
                      leaf gl-ifh {
                        type uint32;
                        description
                          "Global Interface handle";
                      }
    
                      leaf im-state {
                        type uint32;
                        description
                          "Interface manager state";
                      }
    
                      leaf rsi-register {
                        type boolean;
                        description
                          "Registration status with RSI";
                      }
    
                      leaf-list tblid-db {
                        type uint32;
                        description
                          "IDB Table ID";
                      }
    
                      leaf-list fr-tblid-db {
                        type uint32;
                        description
                          "FR Table ID";
                      }
    
                      list paths {
                        description
                          "Paths referenced by this idb";
                        leaf prefix {
                          type Ipv4-static-addr-bd;
                          description
                            "The path's prefix address";
                        }
    
                        leaf prefix-len {
                          type uint8;
                          description
                            "The path's prefix length";
                        }
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
                      }  // list paths
    
                      list addr-info {
                        description
                          "IP address info";
                        leaf addr {
                          type Ipv4-static-addr-bd;
                          description
                            "IP address";
                        }
    
                        leaf prefix-len {
                          type uint32;
                          description
                            "Prefix length";
                        }
    
                        leaf route-tag {
                          type uint32;
                          description
                            "Static route tag";
                        }
    
                        leaf flags {
                          type uint32;
                          description "Flags";
                        }
    
                        leaf inactive {
                          type boolean;
                          description
                            "Active/Inactive";
                        }
    
                        leaf prefix-sid {
                          type boolean;
                          description
                            "Prefix SID";
                        }
                      }  // list addr-info
                    }  // list ipv4-interface
                  }  // list ipv4safi
                }  // list ipv4afi
              }  // list ipv4-table
            }  // list ipv4vrf
          }  // container ipv4vrfs
    
          container nhvrfs {
            description "next-hop's vrf list";
            list nhvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of thei vrf";
              }
    
              list nh-table {
                key "table-name";
                description
                  "next-hop table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list nhafi {
                  key "afi";
                  description
                    "next-hop address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list nhsafi {
                    key "safi";
                    description
                      "next-hop safi(unicat|multicast) type";
                    container nh-addresses {
                      description
                        "next hop Database";
                      list nh-address {
                        key "next-hop-addr";
                        description
                          "next-hop address to display";
                        leaf next-hop-addr {
                          type xr:Cisco-ios-xr-string;
                          description
                            "next hop address";
                        }
    
                        container evt-hist {
                          description
                            "Event history of next-hop";
                          leaf evt-class-name {
                            type string;
                            description
                              "Class name string";
                          }
    
                          list evt-entry {
                            description
                              "Array of event entries";
                            leaf evt-timestamp {
                              type string;
                              description
                                "The timestamp of the event";
                            }
    
                            leaf evt-name {
                              type string;
                              description
                                "Event name";
                            }
    
                            leaf evt-type {
                              type uint8;
                              description
                                "Event type";
                            }
    
                            leaf evt-many {
                              type boolean;
                              description
                                "Multiple instance flag";
                            }
    
                            leaf evt-sticky {
                              type boolean;
                              description
                                "Sticky flag";
                            }
    
                            leaf-list evt-data {
                              type uint32;
                              description
                                "Optional data";
                            }
                          }  // list evt-entry
                        }  // container evt-hist
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "next-hop table id";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf state {
                          type Nexthop-state;
                          description
                            "Next-hop address state";
                        }
    
                        leaf conn-state {
                          type Nexthop-state;
                          description
                            "Next-hop address connected state";
                        }
    
                        leaf ifh {
                          type uint32;
                          description
                            "Interface handleto which RIB resolves this";
                        }
    
                        leaf conn-ifh {
                          type uint32;
                          description
                            "Interface handle to which this is connected";
                        }
    
                        leaf conn-ref-count {
                          type uint32;
                          description
                            "Number of paths for which conn_state is resolved";
                        }
    
                        leaf bfd-interval {
                          type uint32;
                          description
                            "BFD hello interval";
                        }
    
                        leaf bfd-multiplier {
                          type uint32;
                          description
                            "BFD multiplier";
                        }
    
                        leaf bfd-state {
                          type Bfd-state;
                          description
                            "State of bfd session";
                        }
    
                        leaf last-rib-time {
                          type uint64;
                          description
                            "Last RIB notification time";
                        }
    
                        leaf last-rib-state {
                          type Nexthop-state;
                          description
                            "Last RIB notification state";
                        }
    
                        leaf last-bfd-time {
                          type uint64;
                          description
                            "Last BFD notification time";
                        }
    
                        leaf last-bfd-state {
                          type Bfd-state;
                          description
                            "Last BFD notification state";
                        }
    
                        list paths {
                          description
                            "Paths referenced by this nhdb";
                          leaf prefix {
                            type Ipv4-static-addr-bd;
                            description
                              "The path's prefix address";
                          }
    
                          leaf prefix-len {
                            type uint8;
                            description
                              "The path's prefix length";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
                        }  // list paths
    
                        list bfds {
                          description
                            "Paths bfd state";
                          leaf enable {
                            type boolean;
                            description
                              "TRUE if bfd is enabled";
                          }
                        }  // list bfds
                      }  // list nh-address
                    }  // container nh-addresses
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list nhsafi
                }  // list nhafi
              }  // list nh-table
            }  // list nhvrf
          }  // container nhvrfs
    
          container table-events-ids {
            description "list of Tables";
            list table-events-id {
              key "table-id";
              description
                "Table ID to display events info";
              leaf table-id {
                type xr:Hex-integer;
                description "Table ID";
              }
    
              leaf evt-class-name {
                type string;
                description "Class name string";
              }
    
              list evt-entry {
                description
                  "Array of event entries";
                leaf evt-timestamp {
                  type string;
                  description
                    "The timestamp of the event";
                }
    
                leaf evt-name {
                  type string;
                  description "Event name";
                }
    
                leaf evt-type {
                  type uint8;
                  description "Event type";
                }
    
                leaf evt-many {
                  type boolean;
                  description
                    "Multiple instance flag";
                }
    
                leaf evt-sticky {
                  type boolean;
                  description "Sticky flag";
                }
    
                leaf-list evt-data {
                  type uint32;
                  description "Optional data";
                }
              }  // list evt-entry
            }  // list table-events-id
          }  // container table-events-ids
    
          container bfdvrfs {
            description "BFD's vrf list";
            list bfdvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of the vrf";
              }
    
              list bfd-table {
                key "table-name";
                description "BFD table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the table";
                }
    
                list bfdafi {
                  key "afi";
                  description
                    "BFD address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list bfdsafi {
                    key "safi";
                    description
                      "BFD safi(unicat|multicast) type";
                    container bfd-addresses {
                      description
                        "list of BFD sessions";
                      list bfd-address {
                        key "bfd-next-hop-addr";
                        description
                          "BFD next-hop address to display";
                        leaf bfd-next-hop-addr {
                          type xr:Cisco-ios-xr-string;
                          description
                            "BFD next hop address";
                        }
    
                        container bfd-stat {
                          description
                            "Stat of bfd session";
                          leaf session-up-cnt {
                            type uint32;
                            description
                              "# of state change to up";
                          }
    
                          leaf session-down-cnt {
                            type uint32;
                            description
                              "# of state change to down";
                          }
                        }  // container bfd-stat
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "next-hop bfd table id";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf ifh {
                          type uint32;
                          description
                            "Interface handle";
                        }
    
                        leaf bfd-interval {
                          type uint32;
                          description
                            "BFD hello interval";
                        }
    
                        leaf bfd-multiplier {
                          type uint32;
                          description
                            "BFD multiplier";
                        }
    
                        leaf bfd-multihop {
                          type boolean;
                          description
                            "BFD multihop";
                        }
    
                        leaf bfd-state {
                          type Bfd-state;
                          description
                            "State of bfd session";
                        }
    
                        leaf bfd-source {
                          type Ipv4-static-addr-bd;
                          description
                            "Multihop session source IP";
                        }
                      }  // list bfd-address
                    }  // container bfd-addresses
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list bfdsafi
                }  // list bfdafi
              }  // list bfd-table
            }  // list bfdvrf
          }  // container bfdvrfs
    
          container topo-vrfs {
            description "vrf list for Topology";
            list topo-vrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of thei vrf";
              }
    
              list topo-table {
                key "table-name";
                description
                  "Topology table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list topo-afi {
                  key "afi";
                  description
                    "Topology address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list topo-safi {
                    key "safi";
                    description
                      "Topology SAFI type";
                    container destinations {
                      description "route info";
                      list destination {
                        description
                          "Destinatioin address and prefix length";
                        leaf prefix {
                          type xr:Cisco-ios-xr-string;
                          description
                            "detaination address prefix";
                        }
    
                        leaf prefix-length {
                          type xr:Hex-integer;
                          description
                            "detaination prefix length";
                        }
    
                        container evt-hist {
                          description
                            "Event history of topology";
                          leaf evt-class-name {
                            type string;
                            description
                              "Class name string";
                          }
    
                          list evt-entry {
                            description
                              "Array of event entries";
                            leaf evt-timestamp {
                              type string;
                              description
                                "The timestamp of the event";
                            }
    
                            leaf evt-name {
                              type string;
                              description
                                "Event name";
                            }
    
                            leaf evt-type {
                              type uint8;
                              description
                                "Event type";
                            }
    
                            leaf evt-many {
                              type boolean;
                              description
                                "Multiple instance flag";
                            }
    
                            leaf evt-sticky {
                              type boolean;
                              description
                                "Sticky flag";
                            }
    
                            leaf-list evt-data {
                              type uint32;
                              description
                                "Optional data";
                            }
                          }  // list evt-entry
                        }  // container evt-hist
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "Table id of static route";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf best-distance {
                          type uint32;
                          description
                            "Administrative distance of best path";
                        }
    
                        leaf last-tdb-time {
                          type uint64;
                          description
                            "Last event occured on the tdb";
                        }
    
                        list paths {
                          description
                            "Path(s) of the route";
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf interface {
                            type string;
                            description
                              "Next-hop interface";
                          }
    
                          leaf if-resolved {
                            type boolean;
                            description
                              "Interface resolved indicator";
                          }
    
                          leaf object {
                            type string;
                            description
                              "Tracking object";
                          }
    
                          leaf object-resolved {
                            type boolean;
                            description
                              "Object resolved indicator";
                          }
    
                          leaf exp-path {
                            type string;
                            description
                              "Explicit path";
                          }
    
                          leaf next-hop {
                            type Ipv4-static-addr-bd;
                            description
                              "Next-hop address";
                          }
    
                          leaf nh-resolved {
                            type boolean;
                            description
                              "Next-hop resolved indicator";
                          }
    
                          leaf path-tag {
                            type uint32;
                            description
                              "Protocol tag";
                          }
    
                          leaf path-flags {
                            type uint32;
                            description
                              "Topology path flags";
                          }
    
                          leaf distance {
                            type uint32;
                            description
                              "Administrative distance";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Reference count";
                          }
    
                          leaf metric {
                            type uint32;
                            description
                              "UCMP Metric";
                          }
    
                          leaf status {
                            type uint32;
                            description
                              "Path Status";
                          }
    
                          leaf rib-time {
                            type uint64;
                            description
                              "RIB add or delete time";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "Path version";
                          }
    
                          leaf index {
                            type string;
                            description
                              "OC index";
                          }
    
                          leaf local-label {
                            type uint32;
                            description
                              "Route local Label";
                          }
    
                          leaf last-notif-time {
                            type uint64;
                            description
                              "Last IM notification time";
                          }
    
                          leaf last-rib-time {
                            type uint64;
                            description
                              "Last RIB notification time for nh";
                          }
    
                          leaf last-rib-result {
                            type uint64;
                            description
                              "Last RIB batch result";
                          }
    
                          leaf last-bfd-state {
                            type Bfd-state;
                            description
                              "State of bfd session";
                          }
    
                          leaf last-bfd-time {
                            type uint64;
                            description
                              "Last BFD notification time";
                          }
    
                          leaf path-state {
                            type Explicit-path-state;
                            description
                              "explicit path status";
                          }
    
                          leaf last-te-time {
                            type uint64;
                            description
                              "Last TE notification time";
                          }
    
                          leaf algorithm {
                            type uint32;
                            description
                              "FlexAlgo value, Valid only for ipv6_static";
                          }
    
                          leaf prefer-rib-over-ldp {
                            type boolean;
                            description
                              "Give precedence to RIB over LDP";
                          }
                        }  // list paths
                      }  // list destination
                    }  // container destinations
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list topo-safi
                }  // list topo-afi
              }  // list topo-table
            }  // list topo-vrf
          }  // container topo-vrfs
    
          container table-ids {
            description "list of Tables";
            list table-id {
              key "table-id";
              description "Table ID to display";
              leaf table-id {
                type xr:Hex-integer;
                description "Table ID";
              }
    
              leaf vrf-name {
                type string;
                description "VRF Name";
              }
    
              leaf table-name {
                type string;
                description "VRF Name";
              }
    
              leaf table-id-xr {
                type uint32;
                description
                  "table id in table database";
              }
    
              leaf afi {
                type uint32;
                description "AFI";
              }
    
              leaf safi {
                type uint32;
                description "SAFI";
              }
            }  // list table-id
          }  // container table-ids
        }  // container ipv4-static
    
        container ipv4-connected {
          config false;
          description
            "Connected Routing Information";
          container ipv4vrfs {
            description
              "ipv4 interface database";
            list ipv4vrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description "The name of the";
              }
    
              list ipv4-table {
                key "table-name";
                description "table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list ipv4afi {
                  key "afi";
                  description
                    "address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list ipv4safi {
                    key "safi";
                    description
                      "unicast|multicast";
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
    
                    list ipv4-interface {
                      key "interface-name";
                      description
                        "Interface to display";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Interface name";
                      }
    
                      container evt-hist {
                        description
                          "Event history of interface";
                        leaf evt-class-name {
                          type string;
                          description
                            "Class name string";
                        }
    
                        list evt-entry {
                          description
                            "Array of event entries";
                          leaf evt-timestamp {
                            type string;
                            description
                              "The timestamp of the event";
                          }
    
                          leaf evt-name {
                            type string;
                            description
                              "Event name";
                          }
    
                          leaf evt-type {
                            type uint8;
                            description
                              "Event type";
                          }
    
                          leaf evt-many {
                            type boolean;
                            description
                              "Multiple instance flag";
                          }
    
                          leaf evt-sticky {
                            type boolean;
                            description
                              "Sticky flag";
                          }
    
                          leaf-list evt-data {
                            type uint32;
                            description
                              "Optional data";
                          }
                        }  // list evt-entry
                      }  // container evt-hist
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf table-id {
                        type uint32;
                        description
                          "interface database table id";
                      }
    
                      leaf afi {
                        type uint32;
                        description "AFI";
                      }
    
                      leaf safi {
                        type uint32;
                        description "SAFI";
                      }
    
                      leaf state {
                        type Interface-state;
                        description
                          "Interface state";
                      }
    
                      leaf ifh {
                        type uint32;
                        description
                          "Interface handle";
                      }
    
                      leaf last-notif-time {
                        type uint64;
                        description
                          "Last IM/RSI notification time";
                      }
    
                      leaf last-if-state {
                        type Interface-state;
                        description
                          "Last IM notification state";
                      }
    
                      leaf ref-count {
                        type uint32;
                        description
                          "Reference count";
                      }
    
                      leaf gl-ifh {
                        type uint32;
                        description
                          "Global Interface handle";
                      }
    
                      leaf im-state {
                        type uint32;
                        description
                          "Interface manager state";
                      }
    
                      leaf rsi-register {
                        type boolean;
                        description
                          "Registration status with RSI";
                      }
    
                      leaf-list tblid-db {
                        type uint32;
                        description
                          "IDB Table ID";
                      }
    
                      leaf-list fr-tblid-db {
                        type uint32;
                        description
                          "FR Table ID";
                      }
    
                      list paths {
                        description
                          "Paths referenced by this idb";
                        leaf prefix {
                          type Ipv4-static-addr-bd;
                          description
                            "The path's prefix address";
                        }
    
                        leaf prefix-len {
                          type uint8;
                          description
                            "The path's prefix length";
                        }
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
                      }  // list paths
    
                      list addr-info {
                        description
                          "IP address info";
                        leaf addr {
                          type Ipv4-static-addr-bd;
                          description
                            "IP address";
                        }
    
                        leaf prefix-len {
                          type uint32;
                          description
                            "Prefix length";
                        }
    
                        leaf route-tag {
                          type uint32;
                          description
                            "Static route tag";
                        }
    
                        leaf flags {
                          type uint32;
                          description "Flags";
                        }
    
                        leaf inactive {
                          type boolean;
                          description
                            "Active/Inactive";
                        }
    
                        leaf prefix-sid {
                          type boolean;
                          description
                            "Prefix SID";
                        }
                      }  // list addr-info
                    }  // list ipv4-interface
                  }  // list ipv4safi
                }  // list ipv4afi
              }  // list ipv4-table
            }  // list ipv4vrf
          }  // container ipv4vrfs
    
          container nhvrfs {
            description "next-hop's vrf list";
            list nhvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of thei vrf";
              }
    
              list nh-table {
                key "table-name";
                description
                  "next-hop table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list nhafi {
                  key "afi";
                  description
                    "next-hop address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list nhsafi {
                    key "safi";
                    description
                      "next-hop safi(unicat|multicast) type";
                    container nh-addresses {
                      description
                        "next hop Database";
                      list nh-address {
                        key "next-hop-addr";
                        description
                          "next-hop address to display";
                        leaf next-hop-addr {
                          type xr:Cisco-ios-xr-string;
                          description
                            "next hop address";
                        }
    
                        container evt-hist {
                          description
                            "Event history of next-hop";
                          leaf evt-class-name {
                            type string;
                            description
                              "Class name string";
                          }
    
                          list evt-entry {
                            description
                              "Array of event entries";
                            leaf evt-timestamp {
                              type string;
                              description
                                "The timestamp of the event";
                            }
    
                            leaf evt-name {
                              type string;
                              description
                                "Event name";
                            }
    
                            leaf evt-type {
                              type uint8;
                              description
                                "Event type";
                            }
    
                            leaf evt-many {
                              type boolean;
                              description
                                "Multiple instance flag";
                            }
    
                            leaf evt-sticky {
                              type boolean;
                              description
                                "Sticky flag";
                            }
    
                            leaf-list evt-data {
                              type uint32;
                              description
                                "Optional data";
                            }
                          }  // list evt-entry
                        }  // container evt-hist
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "next-hop table id";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf state {
                          type Nexthop-state;
                          description
                            "Next-hop address state";
                        }
    
                        leaf conn-state {
                          type Nexthop-state;
                          description
                            "Next-hop address connected state";
                        }
    
                        leaf ifh {
                          type uint32;
                          description
                            "Interface handleto which RIB resolves this";
                        }
    
                        leaf conn-ifh {
                          type uint32;
                          description
                            "Interface handle to which this is connected";
                        }
    
                        leaf conn-ref-count {
                          type uint32;
                          description
                            "Number of paths for which conn_state is resolved";
                        }
    
                        leaf bfd-interval {
                          type uint32;
                          description
                            "BFD hello interval";
                        }
    
                        leaf bfd-multiplier {
                          type uint32;
                          description
                            "BFD multiplier";
                        }
    
                        leaf bfd-state {
                          type Bfd-state;
                          description
                            "State of bfd session";
                        }
    
                        leaf last-rib-time {
                          type uint64;
                          description
                            "Last RIB notification time";
                        }
    
                        leaf last-rib-state {
                          type Nexthop-state;
                          description
                            "Last RIB notification state";
                        }
    
                        leaf last-bfd-time {
                          type uint64;
                          description
                            "Last BFD notification time";
                        }
    
                        leaf last-bfd-state {
                          type Bfd-state;
                          description
                            "Last BFD notification state";
                        }
    
                        list paths {
                          description
                            "Paths referenced by this nhdb";
                          leaf prefix {
                            type Ipv4-static-addr-bd;
                            description
                              "The path's prefix address";
                          }
    
                          leaf prefix-len {
                            type uint8;
                            description
                              "The path's prefix length";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
                        }  // list paths
    
                        list bfds {
                          description
                            "Paths bfd state";
                          leaf enable {
                            type boolean;
                            description
                              "TRUE if bfd is enabled";
                          }
                        }  // list bfds
                      }  // list nh-address
                    }  // container nh-addresses
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list nhsafi
                }  // list nhafi
              }  // list nh-table
            }  // list nhvrf
          }  // container nhvrfs
    
          container ipv4fridbvrfs {
            description "ipv4 forward database";
            list ipv4fridbvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "Forward DB vrf name";
              }
    
              list ipv4fridb-table {
                key "table-name";
                description "table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the forward DB table";
                }
    
                list ipv4fridbafi {
                  key "afitype";
                  description
                    "address family type";
                  leaf afitype {
                    type Ipv4friafi;
                    description "IPv4 AFI";
                  }
    
                  list ipv4fridbsafi {
                    key "safitype";
                    description
                      "unicast|multicast";
                    leaf safitype {
                      type Ipv4frisafi;
                      description "IPv4 SAFI";
                    }
    
                    list ipv4fridb-interface {
                      key "interface-name";
                      description
                        "forward DB Interface to display";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "forward DB Interface name";
                      }
    
                      leaf if-name {
                        type string;
                        description
                          "Interface name";
                      }
    
                      leaf if-handle {
                        type uint32;
                        description
                          "Interface handle";
                      }
    
                      leaf-list tblid-db {
                        type uint32;
                        description
                          "Table ID database";
                      }
                    }  // list ipv4fridb-interface
                  }  // list ipv4fridbsafi
                }  // list ipv4fridbafi
              }  // list ipv4fridb-table
            }  // list ipv4fridbvrf
          }  // container ipv4fridbvrfs
    
          container table-events-ids {
            description "list of Tables";
            list table-events-id {
              key "table-id";
              description
                "Table ID to display events info";
              leaf table-id {
                type xr:Hex-integer;
                description "Table ID";
              }
    
              leaf evt-class-name {
                type string;
                description "Class name string";
              }
    
              list evt-entry {
                description
                  "Array of event entries";
                leaf evt-timestamp {
                  type string;
                  description
                    "The timestamp of the event";
                }
    
                leaf evt-name {
                  type string;
                  description "Event name";
                }
    
                leaf evt-type {
                  type uint8;
                  description "Event type";
                }
    
                leaf evt-many {
                  type boolean;
                  description
                    "Multiple instance flag";
                }
    
                leaf evt-sticky {
                  type boolean;
                  description "Sticky flag";
                }
    
                leaf-list evt-data {
                  type uint32;
                  description "Optional data";
                }
              }  // list evt-entry
            }  // list table-events-id
          }  // container table-events-ids
    
          container bfdvrfs {
            description "BFD's vrf list";
            list bfdvrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of the vrf";
              }
    
              list bfd-table {
                key "table-name";
                description "BFD table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the table";
                }
    
                list bfdafi {
                  key "afi";
                  description
                    "BFD address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list bfdsafi {
                    key "safi";
                    description
                      "BFD safi(unicat|multicast) type";
                    container bfd-addresses {
                      description
                        "list of BFD sessions";
                      list bfd-address {
                        key "bfd-next-hop-addr";
                        description
                          "BFD next-hop address to display";
                        leaf bfd-next-hop-addr {
                          type xr:Cisco-ios-xr-string;
                          description
                            "BFD next hop address";
                        }
    
                        container bfd-stat {
                          description
                            "Stat of bfd session";
                          leaf session-up-cnt {
                            type uint32;
                            description
                              "# of state change to up";
                          }
    
                          leaf session-down-cnt {
                            type uint32;
                            description
                              "# of state change to down";
                          }
                        }  // container bfd-stat
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "next-hop bfd table id";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf ifh {
                          type uint32;
                          description
                            "Interface handle";
                        }
    
                        leaf bfd-interval {
                          type uint32;
                          description
                            "BFD hello interval";
                        }
    
                        leaf bfd-multiplier {
                          type uint32;
                          description
                            "BFD multiplier";
                        }
    
                        leaf bfd-multihop {
                          type boolean;
                          description
                            "BFD multihop";
                        }
    
                        leaf bfd-state {
                          type Bfd-state;
                          description
                            "State of bfd session";
                        }
    
                        leaf bfd-source {
                          type Ipv4-static-addr-bd;
                          description
                            "Multihop session source IP";
                        }
                      }  // list bfd-address
                    }  // container bfd-addresses
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list bfdsafi
                }  // list bfdafi
              }  // list bfd-table
            }  // list bfdvrf
          }  // container bfdvrfs
    
          container topo-vrfs {
            description "vrf list for Topology";
            list topo-vrf {
              key "vrf-name";
              description "vrf name";
              leaf vrf-name {
                type xr:Cisco-ios-xr-string;
                description
                  "The name of thei vrf";
              }
    
              list topo-table {
                key "table-name";
                description
                  "Topology table name";
                leaf table-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "The name of the atble";
                }
    
                list topo-afi {
                  key "afi";
                  description
                    "Topology address family type";
                  leaf afi {
                    type Afi;
                    description "IPv4 AFI";
                  }
    
                  list topo-safi {
                    key "safi";
                    description
                      "Topology SAFI type";
                    container destinations {
                      description "route info";
                      list destination {
                        description
                          "Destinatioin address and prefix length";
                        leaf prefix {
                          type xr:Cisco-ios-xr-string;
                          description
                            "detaination address prefix";
                        }
    
                        leaf prefix-length {
                          type xr:Hex-integer;
                          description
                            "detaination prefix length";
                        }
    
                        container evt-hist {
                          description
                            "Event history of topology";
                          leaf evt-class-name {
                            type string;
                            description
                              "Class name string";
                          }
    
                          list evt-entry {
                            description
                              "Array of event entries";
                            leaf evt-timestamp {
                              type string;
                              description
                                "The timestamp of the event";
                            }
    
                            leaf evt-name {
                              type string;
                              description
                                "Event name";
                            }
    
                            leaf evt-type {
                              type uint8;
                              description
                                "Event type";
                            }
    
                            leaf evt-many {
                              type boolean;
                              description
                                "Multiple instance flag";
                            }
    
                            leaf evt-sticky {
                              type boolean;
                              description
                                "Sticky flag";
                            }
    
                            leaf-list evt-data {
                              type uint32;
                              description
                                "Optional data";
                            }
                          }  // list evt-entry
                        }  // container evt-hist
    
                        leaf vrf-name {
                          type string;
                          description "VRF Name";
                        }
    
                        leaf table-id {
                          type uint32;
                          description
                            "Table id of static route";
                        }
    
                        leaf afi {
                          type uint32;
                          description "AFI";
                        }
    
                        leaf safi {
                          type uint32;
                          description "SAFI";
                        }
    
                        leaf best-distance {
                          type uint32;
                          description
                            "Administrative distance of best path";
                        }
    
                        leaf last-tdb-time {
                          type uint64;
                          description
                            "Last event occured on the tdb";
                        }
    
                        list paths {
                          description
                            "Path(s) of the route";
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf interface {
                            type string;
                            description
                              "Next-hop interface";
                          }
    
                          leaf if-resolved {
                            type boolean;
                            description
                              "Interface resolved indicator";
                          }
    
                          leaf object {
                            type string;
                            description
                              "Tracking object";
                          }
    
                          leaf object-resolved {
                            type boolean;
                            description
                              "Object resolved indicator";
                          }
    
                          leaf exp-path {
                            type string;
                            description
                              "Explicit path";
                          }
    
                          leaf next-hop {
                            type Ipv4-static-addr-bd;
                            description
                              "Next-hop address";
                          }
    
                          leaf nh-resolved {
                            type boolean;
                            description
                              "Next-hop resolved indicator";
                          }
    
                          leaf path-tag {
                            type uint32;
                            description
                              "Protocol tag";
                          }
    
                          leaf path-flags {
                            type uint32;
                            description
                              "Topology path flags";
                          }
    
                          leaf distance {
                            type uint32;
                            description
                              "Administrative distance";
                          }
    
                          leaf ref-count {
                            type uint32;
                            description
                              "Reference count";
                          }
    
                          leaf metric {
                            type uint32;
                            description
                              "UCMP Metric";
                          }
    
                          leaf status {
                            type uint32;
                            description
                              "Path Status";
                          }
    
                          leaf rib-time {
                            type uint64;
                            description
                              "RIB add or delete time";
                          }
    
                          leaf version {
                            type uint32;
                            description
                              "Path version";
                          }
    
                          leaf index {
                            type string;
                            description
                              "OC index";
                          }
    
                          leaf local-label {
                            type uint32;
                            description
                              "Route local Label";
                          }
    
                          leaf last-notif-time {
                            type uint64;
                            description
                              "Last IM notification time";
                          }
    
                          leaf last-rib-time {
                            type uint64;
                            description
                              "Last RIB notification time for nh";
                          }
    
                          leaf last-rib-result {
                            type uint64;
                            description
                              "Last RIB batch result";
                          }
    
                          leaf last-bfd-state {
                            type Bfd-state;
                            description
                              "State of bfd session";
                          }
    
                          leaf last-bfd-time {
                            type uint64;
                            description
                              "Last BFD notification time";
                          }
    
                          leaf path-state {
                            type Explicit-path-state;
                            description
                              "explicit path status";
                          }
    
                          leaf last-te-time {
                            type uint64;
                            description
                              "Last TE notification time";
                          }
    
                          leaf algorithm {
                            type uint32;
                            description
                              "FlexAlgo value, Valid only for ipv6_static";
                          }
    
                          leaf prefer-rib-over-ldp {
                            type boolean;
                            description
                              "Give precedence to RIB over LDP";
                          }
                        }  // list paths
                      }  // list destination
                    }  // container destinations
    
                    leaf safi {
                      type Safi;
                      description "IPv4 SAFI";
                    }
                  }  // list topo-safi
                }  // list topo-afi
              }  // list topo-table
            }  // list topo-vrf
          }  // container topo-vrfs
    
          container table-ids {
            description "list of Tables";
            list table-id {
              key "table-id";
              description "Table ID to display";
              leaf table-id {
                type xr:Hex-integer;
                description "Table ID";
              }
    
              leaf vrf-name {
                type string;
                description "VRF Name";
              }
    
              leaf table-name {
                type string;
                description "VRF Name";
              }
    
              leaf table-id-xr {
                type uint32;
                description
                  "table id in table database";
              }
    
              leaf afi {
                type uint32;
                description "AFI";
              }
    
              leaf safi {
                type uint32;
                description "SAFI";
              }
            }  // list table-id
          }  // container table-ids
        }  // container ipv4-connected
      }  // module Cisco-IOS-XR-ip-static-ipv4-oper
    

© 2023 YumaWorks, Inc. All rights reserved.