Cisco-IOS-XR-rsi-agent-oper

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

  • Version: 2020-12-18

    Cisco-IOS-XR-rsi-agent-oper@2020-12-18


    
      module Cisco-IOS-XR-rsi-agent-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-rsi-agent-oper";
    
        prefix rsi-agent-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-rsi-agent-oper-sub1 {
          revision-date "2020-12-18";
        }
    
        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 rsi-agent package operational data.
    
    This module contains definitions
    for the following management objects:
      rsi-agent: RSI operational data
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-12-18" {
          description
            "Fixed range for producer name
    2020-09-21
      Fixing yang oper coverage";
        }
    
        revision "2019-08-14" {
          description
            "Fixing yang oper coverage";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-02-13" {
          description
            "Fixing yang oper coverage.";
        }
    
        revision "2018-11-26" {
          description
            "Fixing yang usability issues.";
        }
    
        revision "2018-01-24" {
          description "Fixed datatype issues";
        }
    
        revision "2018-01-11" {
          description
            "Add rsip node into schema.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        container rsi-agent {
          config false;
          description "RSI operational data";
          container nodes {
            description "Node operational data";
            list node {
              key "node-name";
              description "Node details";
              container virtual-routers {
                description
                  "List of Virtual Router Name";
                list virtual-router {
                  key "vr-name";
                  description "Producer details";
                  leaf vr-name {
                    type xr:Cisco-ios-xr-string;
                    description
                      "virtual router name";
                  }
    
                  leaf vr-name-xr {
                    type string;
                    description "VR Name";
                  }
    
                  leaf vr-id {
                    type uint32;
                    description "VR ID";
                  }
    
                  leaf refcount {
                    type int32;
                    description
                      "Reference count";
                  }
    
                  leaf num-real-vrfs {
                    type int32;
                    description
                      "Number of real vrfs";
                  }
    
                  leaf num-fwd-ref-vrfs {
                    type int32;
                    description "Fwd ref vrfs";
                  }
    
                  leaf vr-by-vr-id-regs {
                    type int32;
                    description
                      "vr by vr id registrations";
                  }
    
                  leaf vr-by-vr-name-regs {
                    type int32;
                    description
                      "vr by vr name registrations";
                  }
    
                  leaf vrf-by-vr-regs {
                    type int32;
                    description
                      "vrf by vr registrations";
                  }
    
                  leaf table-by-vr-regs {
                    type int32;
                    description
                      "table by vr registrations";
                  }
    
                  leaf vrf-cnt-local {
                    type int32;
                    description "vrf count";
                  }
                }  // list virtual-router
              }  // container virtual-routers
    
              container rsi-agent-role {
                description
                  "RSI Agent role database";
                container afi-v4-role {
                  description "AFI v4 role";
                  leaf afi-role {
                    type Rsi-role-type-et;
                    description
                      "Address Family Identifier role";
                  }
    
                  leaf time {
                    type uint64;
                    description
                      "Time of role change";
                  }
    
                  leaf rolecalctype {
                    type uint32;
                    description
                      "Role calculated type";
                  }
    
                  leaf eod {
                    type boolean;
                    description
                      "End of download status";
                  }
                }  // container afi-v4-role
    
                container afi-v6-role {
                  description "AFI v6 role";
                  leaf afi-role {
                    type Rsi-role-type-et;
                    description
                      "Address Family Identifier role";
                  }
    
                  leaf time {
                    type uint64;
                    description
                      "Time of role change";
                  }
    
                  leaf rolecalctype {
                    type uint32;
                    description
                      "Role calculated type";
                  }
    
                  leaf eod {
                    type boolean;
                    description
                      "End of download status";
                  }
                }  // container afi-v6-role
    
                leaf converged-v4 {
                  type uint32;
                  description
                    "Is v4 role converged";
                }
    
                leaf converged-v6 {
                  type uint32;
                  description
                    "Is v6 role converged";
                }
    
                leaf afi-v4-role-change-num {
                  type uint32;
                  description
                    "Num of Role change v4";
                }
    
                leaf afi-v6-role-change-num {
                  type uint32;
                  description
                    "Num of Role change v6";
                }
    
                list afi-v4-role-history {
                  description "Role history v4";
                  leaf afi-role {
                    type Rsi-role-type-et;
                    description
                      "Address Family Identifier role";
                  }
    
                  leaf time {
                    type uint64;
                    description
                      "Time of role change";
                  }
    
                  leaf rolecalctype {
                    type uint32;
                    description
                      "Role calculated type";
                  }
    
                  leaf eod {
                    type boolean;
                    description
                      "End of download status";
                  }
                }  // list afi-v4-role-history
    
                list afi-v6-role-history {
                  description "Role history v6";
                  leaf afi-role {
                    type Rsi-role-type-et;
                    description
                      "Address Family Identifier role";
                  }
    
                  leaf time {
                    type uint64;
                    description
                      "Time of role change";
                  }
    
                  leaf rolecalctype {
                    type uint32;
                    description
                      "Role calculated type";
                  }
    
                  leaf eod {
                    type boolean;
                    description
                      "End of download status";
                  }
                }  // list afi-v6-role-history
              }  // container rsi-agent-role
    
              container virtual-router-ids {
                description
                  "List of Virtual Router";
                list virtual-router-id {
                  key "vrid";
                  description "Producer details";
                  leaf vrid {
                    type xr:Cisco-ios-xr-string;
                    description
                      "virtual router ID";
                  }
    
                  leaf vr-name-xr {
                    type string;
                    description "VR Name";
                  }
    
                  leaf vr-id {
                    type uint32;
                    description "VR ID";
                  }
    
                  leaf refcount {
                    type int32;
                    description
                      "Reference count";
                  }
    
                  leaf num-real-vrfs {
                    type int32;
                    description
                      "Number of real vrfs";
                  }
    
                  leaf num-fwd-ref-vrfs {
                    type int32;
                    description "Fwd ref vrfs";
                  }
    
                  leaf vr-by-vr-id-regs {
                    type int32;
                    description
                      "vr by vr id registrations";
                  }
    
                  leaf vr-by-vr-name-regs {
                    type int32;
                    description
                      "vr by vr name registrations";
                  }
    
                  leaf vrf-by-vr-regs {
                    type int32;
                    description
                      "vrf by vr registrations";
                  }
    
                  leaf table-by-vr-regs {
                    type int32;
                    description
                      "table by vr registrations";
                  }
    
                  leaf vrf-cnt-local {
                    type int32;
                    description "vrf count";
                  }
                }  // list virtual-router-id
              }  // container virtual-router-ids
    
              container producers {
                description "List of Producers";
                list producer {
                  key "producer-name";
                  description "Producer details";
                  leaf producer-name {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description "producer name";
                  }
    
                  leaf item-id {
                    type uint32;
                    description
                      "Item identification";
                  }
    
                  leaf name {
                    type string;
                    description "Producer name";
                  }
    
                  leaf flags {
                    type uint32;
                    description "Producer flags";
                  }
    
                  leaf num-owned-objs-vr {
                    type uint32;
                    description
                      "Number Owned Objects VR";
                  }
    
                  leaf num-owned-objs-vrf {
                    type uint32;
                    description
                      "Number Owned Objects VRF";
                  }
    
                  leaf num-owned-objs-table {
                    type uint32;
                    description
                      "Number Owned Object Table";
                  }
    
                  leaf num-owned-objs-intf {
                    type uint32;
                    description
                      "Number Owned Objects Interface";
                  }
    
                  leaf num-owned-objs-tdl {
                    type uint32;
                    description
                      "Number Owned Objects TDL";
                  }
    
                  leaf num-saved-msgs {
                    type uint32;
                    description
                      "Number Saved Messages";
                  }
                }  // list producer
              }  // container producers
    
              container table-id-db-dependent-infos {
                description
                  "Table ID Dependent database";
                list table-id-db-dependent-info {
                  key "table-id";
                  description "Table id details";
                  leaf table-id {
                    type uint32;
                    description "Table ID";
                  }
    
                  container show-tbl {
                    description "Show Table";
                    leaf tbl-name {
                      type string;
                      description "Table Name";
                    }
    
                    leaf tbl-id {
                      type Rsi-tbl-id;
                      description "Table ID";
                    }
    
                    leaf vrf-id {
                      type uint32;
                      description "VRF ID";
                    }
    
                    leaf vrf-name {
                      type string;
                      description "VRF Name";
                    }
    
                    leaf vr-id {
                      type uint32;
                      description "VR ID";
                    }
    
                    leaf vr-name {
                      type string;
                      description "VR Name";
                    }
    
                    leaf afi {
                      type Rsi-afi;
                      description "AFI";
                    }
    
                    leaf safi {
                      type Rsi-safi;
                      description "SAFI";
                    }
                  }  // container show-tbl
    
                  list tbl-array {
                    description
                      "Depedent TBL Array";
                    leaf tbl-name {
                      type string;
                      description "Table Name";
                    }
    
                    leaf tbl-id {
                      type Rsi-tbl-id;
                      description "Table ID";
                    }
    
                    leaf vrf-id {
                      type uint32;
                      description "VRF ID";
                    }
    
                    leaf vrf-name {
                      type string;
                      description "VRF Name";
                    }
    
                    leaf lst-flags {
                      type uint32;
                      description "LST Flags";
                    }
                  }  // list tbl-array
                }  // list table-id-db-dependent-info
              }  // container table-id-db-dependent-infos
    
              container interface-names {
                description
                  "Interface name database";
                list interface-name {
                  key "interface";
                  description
                    "Interface name details";
                  leaf interface {
                    type xr:Cisco-ios-xr-string;
                    description
                      "Name of the Interface";
                  }
    
                  leaf ifhandle {
                    type xr:Interface-name;
                    description
                      "Interface by handle";
                  }
    
                  leaf ifname {
                    type string;
                    description
                      "Name of the interface";
                  }
    
                  leaf vrf-id {
                    type Rsi-vrf-id;
                    description "VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "VRF Name";
                  }
    
                  leaf vr-id {
                    type Rsi-vr-id;
                    description "VR ID";
                  }
    
                  leaf vr-name {
                    type string;
                    description "VR Name";
                  }
    
                  leaf is-virtual {
                    type boolean;
                    description "Virtual";
                  }
    
                  leaf is-local {
                    type boolean;
                    description "Local";
                  }
    
                  leaf is-licensed {
                    type boolean;
                    description "Licensed";
                  }
    
                  leaf flags {
                    type uint32;
                    description "Flag value";
                  }
    
                  leaf refcount {
                    type int32;
                    description
                      "Reference count";
                  }
    
                  leaf intf-by-ifh-regs {
                    type int32;
                    description
                      "Registered Interface by ifhandle";
                  }
    
                  leaf interface-table-by-ifh {
                    type int32;
                    description
                      "Registered Table by interface handle";
                  }
    
                  list ra-table-set {
                    description
                      "RSI agent tables";
                    leaf entry {
                      type uint8;
                      description
                        "RSI agent tables";
                    }
                  }  // list ra-table-set
                }  // list interface-name
              }  // container interface-names
    
              container virtual-router-name-infos {
                description
                  "Virtual Router Name";
                list virtual-router-name-info {
                  key "vr-name";
                  description
                    "Virtual Router Name details";
                  leaf vr-name {
                    type xr:Cisco-ios-xr-string;
                    description
                      "Virtual Router Name";
                  }
    
                  container virtual-routing-forwarding-id-infos {
                    description
                      "Virtual Routing and Forwarding ID";
                    list virtual-routing-forwarding-id-info {
                      key "vrfid";
                      description
                        "Virtual Router and Forwarding ID details";
                      leaf vrfid {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Virtual Router Forwarding ID";
                      }
    
                      container table-name-db-filter-infos {
                        description
                          "Table Name database";
                        list table-name-db-filter-info {
                          description
                            "Table name List";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-name-db-filter-info-table {
                            description
                              "Table name details";
                            leaf table-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Table Name";
                            }
    
                            leaf afi {
                              type uint32;
                              description
                                "Address Family Indicator";
                            }
    
                            leaf safi {
                              type uint32;
                              description
                                "Subsequent Address Family Indicator";
                            }
    
                            container dependant {
                              description
                                "Dependant Table";
                              leaf tbl-name {
                                type string;
                                description
                                  "Table Name";
                              }
    
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-id {
                                type uint32;
                                description
                                  "VRF ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf vr-id {
                                type uint32;
                                description
                                  "VR ID";
                              }
    
                              leaf vr-name {
                                type string;
                                description
                                  "VR Name";
                              }
    
                              leaf afi {
                                type Rsi-afi;
                                description
                                  "AFI";
                              }
    
                              leaf safi {
                                type Rsi-safi;
                                description
                                  "SAFI";
                              }
                            }  // container dependant
    
                            leaf num-tdl {
                              type uint32;
                              description
                                "Num TDL in Array";
                            }
    
                            list tdl-array {
                              description
                                "TDL Array";
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf tdl-type {
                                type uint32;
                                description
                                  "TDL Type";
                              }
    
                              leaf owner-ctx {
                                type uint64;
                                description
                                  "Owner Context";
                              }
                            }  // list tdl-array
                          }  // list table-name-db-filter-info-table
                        }  // list table-name-db-filter-info
                      }  // container table-name-db-filter-infos
    
                      container table-id-db-filter-infos {
                        description
                          "Table ID database";
                        list table-id-db-filter-info {
                          description
                            "Table id filters";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-id-db-filter-info-table-id {
                            key "table-id";
                            description
                              "Table id details";
                            leaf table-id {
                              type uint32;
                              description
                                "Table ID";
                            }
    
                            leaf tbl-name {
                              type string;
                              description
                                "Table Name";
                            }
    
                            leaf tbl-id {
                              type Rsi-tbl-id;
                              description
                                "Table ID";
                            }
    
                            leaf vrf-id {
                              type uint32;
                              description
                                "VRF ID";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf vr-id {
                              type uint32;
                              description
                                "VR ID";
                            }
    
                            leaf vr-name {
                              type string;
                              description
                                "VR Name";
                            }
    
                            leaf afi {
                              type Rsi-afi;
                              description "AFI";
                            }
    
                            leaf safi {
                              type Rsi-safi;
                              description "SAFI";
                            }
    
                            leaf refcount {
                              type int32;
                              description
                                "Reference Count";
                            }
    
                            leaf flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf lst-flags {
                              type uint32;
                              description
                                "LST Flags";
                            }
    
                            leaf tbl-by-tbl-id-regs {
                              type int32;
                              description
                                "Table Reg by Table ID";
                            }
    
                            leaf vrf-tbl-idx {
                              type uint32;
                              description
                                "VRF Table Index";
                            }
    
                            leaf tcm-idx {
                              type uint32;
                              description
                                "TCM Index";
                            }
    
                            list attr {
                              description
                                "Table attribute inforamtion";
                              leaf flags {
                                type uint32;
                                description
                                  "Attribute flags";
                              }
    
                              leaf type {
                                type Ra-edm-tbl-attr;
                                description
                                  "Attribute type";
                              }
    
                              leaf length {
                                type uint32;
                                description
                                  "Attribute data length";
                              }
    
                              leaf data {
                                type uint64;
                                description
                                  "Attribute data";
                              }
                            }  // list attr
                          }  // list table-id-db-filter-info-table-id
                        }  // list table-id-db-filter-info
                      }  // container table-id-db-filter-infos
    
                      container interfaces {
                        description
                          "Interface handle database";
                        list interface {
                          key "interface";
                          description
                            "Client details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifer for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list interface
                      }  // container interfaces
    
                      container global-interface-handles {
                        description
                          "Global Interface handle database";
                        list global-interface-handle {
                          key "interface";
                          description
                            "Interface handle details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifier for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list global-interface-handle
                      }  // container global-interface-handles
                    }  // list virtual-routing-forwarding-id-info
                  }  // container virtual-routing-forwarding-id-infos
    
                  container virtual-routing-forwarding-name-infos {
                    description
                      "Virtual Routing and Forwarding Name";
                    list virtual-routing-forwarding-name-info {
                      key "vrf-name";
                      description
                        "Virtual Router and Forwarding Name details";
                      leaf vrf-name {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Virtual Router Forwarding Name";
                      }
    
                      container table-name-db-filter-infos {
                        description
                          "Table Name database";
                        list table-name-db-filter-info {
                          description
                            "Table name List";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-name-db-filter-info-table {
                            description
                              "Table name details";
                            leaf table-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Table Name";
                            }
    
                            leaf afi {
                              type uint32;
                              description
                                "Address Family Indicator";
                            }
    
                            leaf safi {
                              type uint32;
                              description
                                "Subsequent Address Family Indicator";
                            }
    
                            container dependant {
                              description
                                "Dependant Table";
                              leaf tbl-name {
                                type string;
                                description
                                  "Table Name";
                              }
    
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-id {
                                type uint32;
                                description
                                  "VRF ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf vr-id {
                                type uint32;
                                description
                                  "VR ID";
                              }
    
                              leaf vr-name {
                                type string;
                                description
                                  "VR Name";
                              }
    
                              leaf afi {
                                type Rsi-afi;
                                description
                                  "AFI";
                              }
    
                              leaf safi {
                                type Rsi-safi;
                                description
                                  "SAFI";
                              }
                            }  // container dependant
    
                            leaf num-tdl {
                              type uint32;
                              description
                                "Num TDL in Array";
                            }
    
                            list tdl-array {
                              description
                                "TDL Array";
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf tdl-type {
                                type uint32;
                                description
                                  "TDL Type";
                              }
    
                              leaf owner-ctx {
                                type uint64;
                                description
                                  "Owner Context";
                              }
                            }  // list tdl-array
                          }  // list table-name-db-filter-info-table
                        }  // list table-name-db-filter-info
                      }  // container table-name-db-filter-infos
    
                      container table-id-db-filter-infos {
                        description
                          "Table ID database";
                        list table-id-db-filter-info {
                          description
                            "Table id filters";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-id-db-filter-info-table-id {
                            key "table-id";
                            description
                              "Table id details";
                            leaf table-id {
                              type uint32;
                              description
                                "Table ID";
                            }
    
                            leaf tbl-name {
                              type string;
                              description
                                "Table Name";
                            }
    
                            leaf tbl-id {
                              type Rsi-tbl-id;
                              description
                                "Table ID";
                            }
    
                            leaf vrf-id {
                              type uint32;
                              description
                                "VRF ID";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf vr-id {
                              type uint32;
                              description
                                "VR ID";
                            }
    
                            leaf vr-name {
                              type string;
                              description
                                "VR Name";
                            }
    
                            leaf afi {
                              type Rsi-afi;
                              description "AFI";
                            }
    
                            leaf safi {
                              type Rsi-safi;
                              description "SAFI";
                            }
    
                            leaf refcount {
                              type int32;
                              description
                                "Reference Count";
                            }
    
                            leaf flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf lst-flags {
                              type uint32;
                              description
                                "LST Flags";
                            }
    
                            leaf tbl-by-tbl-id-regs {
                              type int32;
                              description
                                "Table Reg by Table ID";
                            }
    
                            leaf vrf-tbl-idx {
                              type uint32;
                              description
                                "VRF Table Index";
                            }
    
                            leaf tcm-idx {
                              type uint32;
                              description
                                "TCM Index";
                            }
    
                            list attr {
                              description
                                "Table attribute inforamtion";
                              leaf flags {
                                type uint32;
                                description
                                  "Attribute flags";
                              }
    
                              leaf type {
                                type Ra-edm-tbl-attr;
                                description
                                  "Attribute type";
                              }
    
                              leaf length {
                                type uint32;
                                description
                                  "Attribute data length";
                              }
    
                              leaf data {
                                type uint64;
                                description
                                  "Attribute data";
                              }
                            }  // list attr
                          }  // list table-id-db-filter-info-table-id
                        }  // list table-id-db-filter-info
                      }  // container table-id-db-filter-infos
    
                      container interfaces {
                        description
                          "Interface handle database";
                        list interface {
                          key "interface";
                          description
                            "Client details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifer for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list interface
                      }  // container interfaces
    
                      container global-interface-handles {
                        description
                          "Global Interface handle database";
                        list global-interface-handle {
                          key "interface";
                          description
                            "Interface handle details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifier for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list global-interface-handle
                      }  // container global-interface-handles
                    }  // list virtual-routing-forwarding-name-info
                  }  // container virtual-routing-forwarding-name-infos
    
                  container vrf-names {
                    description
                      "List of Virtual Router";
                    list vrf-name {
                      key "name";
                      description
                        "VRF details by name";
                      leaf name {
                        type xr:Cisco-ios-xr-string {
                          length "1..32";
                        }
                        description "vrf name";
                      }
    
                      container vpn-id {
                        description "VPN ID";
                        leaf oui {
                          type uint32;
                          description
                            "VPNID OUI";
                        }
    
                        leaf index {
                          type uint32;
                          description
                            "VPNID Index";
                        }
                      }  // container vpn-id
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf vrf-id {
                        type uint32;
                        description "VRF ID";
                      }
    
                      leaf vr-id {
                        type uint32;
                        description "VR ID";
                      }
    
                      leaf submode-flag {
                        type uint32;
                        description
                          "Sub_mode Flag";
                      }
    
                      leaf fallback-vrf-name {
                        type string;
                        description
                          "Fallback VRF_Name";
                      }
    
                      leaf vr-name {
                        type string;
                        description "VR Name";
                      }
    
                      leaf refcount {
                        type int32;
                        description
                          "Reference count";
                      }
    
                      leaf intf-count-local {
                        type int32;
                        description
                          "Locally significant Intf Count";
                      }
    
                      leaf intf-count-global {
                        type int32;
                        description
                          "Total Interfaces";
                      }
    
                      leaf num-real-tbls {
                        type int32;
                        description "Tbl Count";
                      }
    
                      leaf num-fwd-ref-tbls {
                        type int32;
                        description
                          "Fwd Ref Tbl Count";
                      }
    
                      leaf vrf-by-vrf-id-regs {
                        type int32;
                        description
                          "vrf by vrf id registration count";
                      }
    
                      leaf vrf-by-vrf-name-regs {
                        type int32;
                        description
                          "vrf by vrf name registration count";
                      }
    
                      leaf table-by-vrf-regs {
                        type int32;
                        description
                          "table by vrf registration count";
                      }
    
                      leaf table-by-vrf-name-regs {
                        type int32;
                        description
                          "table by vrf name registration count";
                      }
    
                      leaf vrf-flags {
                        type uint32;
                        description "VRF Flags";
                      }
    
                      leaf intf-cnt-local {
                        type uint32;
                        description
                          "Local Intf Count";
                      }
    
                      leaf vrf-groups {
                        type uint32;
                        description
                          "Number of VRF groups";
                      }
    
                      leaf parentvrf-cnt {
                        type uint32;
                        description
                          "Number of parent VRF";
                      }
    
                      list table-array {
                        description
                          "Array of tables in VRF";
                        leaf vrf-table-id {
                          type uint32;
                          description
                            "VRF Table Index";
                        }
    
                        leaf address-family-indicator {
                          type Rsi-afi;
                          description "AFI";
                        }
    
                        leaf subsequent-address-family-indicator {
                          type Rsi-safi;
                          description "SAFI";
                        }
    
                        leaf table-name {
                          type string;
                          description
                            "Table Name";
                        }
                      }  // list table-array
                    }  // list vrf-name
                  }  // container vrf-names
    
                  container vrfids {
                    description
                      "List of Virtual Router Forwarding ID";
                    list vrfid {
                      key "id";
                      description
                        "VRF details by ID";
                      leaf id {
                        type xr:Cisco-ios-xr-string;
                        description "vrf id";
                      }
    
                      container vpn-id {
                        description "VPN ID";
                        leaf oui {
                          type uint32;
                          description
                            "VPNID OUI";
                        }
    
                        leaf index {
                          type uint32;
                          description
                            "VPNID Index";
                        }
                      }  // container vpn-id
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf vrf-id {
                        type uint32;
                        description "VRF ID";
                      }
    
                      leaf vr-id {
                        type uint32;
                        description "VR ID";
                      }
    
                      leaf submode-flag {
                        type uint32;
                        description
                          "Sub_mode Flag";
                      }
    
                      leaf fallback-vrf-name {
                        type string;
                        description
                          "Fallback VRF_Name";
                      }
    
                      leaf vr-name {
                        type string;
                        description "VR Name";
                      }
    
                      leaf refcount {
                        type int32;
                        description
                          "Reference count";
                      }
    
                      leaf intf-count-local {
                        type int32;
                        description
                          "Locally significant Intf Count";
                      }
    
                      leaf intf-count-global {
                        type int32;
                        description
                          "Total Interfaces";
                      }
    
                      leaf num-real-tbls {
                        type int32;
                        description "Tbl Count";
                      }
    
                      leaf num-fwd-ref-tbls {
                        type int32;
                        description
                          "Fwd Ref Tbl Count";
                      }
    
                      leaf vrf-by-vrf-id-regs {
                        type int32;
                        description
                          "vrf by vrf id registration count";
                      }
    
                      leaf vrf-by-vrf-name-regs {
                        type int32;
                        description
                          "vrf by vrf name registration count";
                      }
    
                      leaf table-by-vrf-regs {
                        type int32;
                        description
                          "table by vrf registration count";
                      }
    
                      leaf table-by-vrf-name-regs {
                        type int32;
                        description
                          "table by vrf name registration count";
                      }
    
                      leaf vrf-flags {
                        type uint32;
                        description "VRF Flags";
                      }
    
                      leaf intf-cnt-local {
                        type uint32;
                        description
                          "Local Intf Count";
                      }
    
                      leaf vrf-groups {
                        type uint32;
                        description
                          "Number of VRF groups";
                      }
    
                      leaf parentvrf-cnt {
                        type uint32;
                        description
                          "Number of parent VRF";
                      }
    
                      list table-array {
                        description
                          "Array of tables in VRF";
                        leaf vrf-table-id {
                          type uint32;
                          description
                            "VRF Table Index";
                        }
    
                        leaf address-family-indicator {
                          type Rsi-afi;
                          description "AFI";
                        }
    
                        leaf subsequent-address-family-indicator {
                          type Rsi-safi;
                          description "SAFI";
                        }
    
                        leaf table-name {
                          type string;
                          description
                            "Table Name";
                        }
                      }  // list table-array
                    }  // list vrfid
                  }  // container vrfids
                }  // list virtual-router-name-info
              }  // container virtual-router-name-infos
    
              container state {
                description "SVD state details";
                leaf state-id {
                  type uint32;
                  description "Agent state ID";
                }
    
                leaf state-val {
                  type uint32;
                  description
                    "Agent state value";
                }
    
                leaf svd-is-enabled {
                  type uint32;
                  description "SVD state";
                }
    
                leaf intf-caps-v4-count {
                  type uint32;
                  description
                    "IPV4 caps count for Interface";
                }
    
                leaf intf-caps-v6-count {
                  type uint32;
                  description
                    "IPV6 caps count for Interface";
                }
    
                leaf vrf-intf-caps-v4-count {
                  type uint32;
                  description
                    "IPV4 caps count for Interface VRF";
                }
    
                leaf vrf-intf-caps-v6-count {
                  type uint32;
                  description
                    "IPV6 caps count for Interface VRF";
                }
    
                list state-ctx {
                  description
                    "Context for state";
                  leaf entry {
                    type uint32;
                    description
                      "Context for state";
                  }
                }  // list state-ctx
              }  // container state
    
              container virtual-router-id-infos {
                description "Virtual Router ID";
                list virtual-router-id-info {
                  key "vrid";
                  description
                    "Virtual Router ID details";
                  leaf vrid {
                    type xr:Cisco-ios-xr-string;
                    description
                      "Virtual Router ID";
                  }
    
                  container virtual-routing-forwarding-id-infos {
                    description
                      "Virtual Routing and Forwarding ID";
                    list virtual-routing-forwarding-id-info {
                      key "vrfid";
                      description
                        "Virtual Router and Forwarding ID details";
                      leaf vrfid {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Virtual Router Forwarding ID";
                      }
    
                      container table-name-db-filter-infos {
                        description
                          "Table Name database";
                        list table-name-db-filter-info {
                          description
                            "Table name List";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-name-db-filter-info-table {
                            description
                              "Table name details";
                            leaf table-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Table Name";
                            }
    
                            leaf afi {
                              type uint32;
                              description
                                "Address Family Indicator";
                            }
    
                            leaf safi {
                              type uint32;
                              description
                                "Subsequent Address Family Indicator";
                            }
    
                            container dependant {
                              description
                                "Dependant Table";
                              leaf tbl-name {
                                type string;
                                description
                                  "Table Name";
                              }
    
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-id {
                                type uint32;
                                description
                                  "VRF ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf vr-id {
                                type uint32;
                                description
                                  "VR ID";
                              }
    
                              leaf vr-name {
                                type string;
                                description
                                  "VR Name";
                              }
    
                              leaf afi {
                                type Rsi-afi;
                                description
                                  "AFI";
                              }
    
                              leaf safi {
                                type Rsi-safi;
                                description
                                  "SAFI";
                              }
                            }  // container dependant
    
                            leaf num-tdl {
                              type uint32;
                              description
                                "Num TDL in Array";
                            }
    
                            list tdl-array {
                              description
                                "TDL Array";
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf tdl-type {
                                type uint32;
                                description
                                  "TDL Type";
                              }
    
                              leaf owner-ctx {
                                type uint64;
                                description
                                  "Owner Context";
                              }
                            }  // list tdl-array
                          }  // list table-name-db-filter-info-table
                        }  // list table-name-db-filter-info
                      }  // container table-name-db-filter-infos
    
                      container table-id-db-filter-infos {
                        description
                          "Table ID database";
                        list table-id-db-filter-info {
                          description
                            "Table id filters";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-id-db-filter-info-table-id {
                            key "table-id";
                            description
                              "Table id details";
                            leaf table-id {
                              type uint32;
                              description
                                "Table ID";
                            }
    
                            leaf tbl-name {
                              type string;
                              description
                                "Table Name";
                            }
    
                            leaf tbl-id {
                              type Rsi-tbl-id;
                              description
                                "Table ID";
                            }
    
                            leaf vrf-id {
                              type uint32;
                              description
                                "VRF ID";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf vr-id {
                              type uint32;
                              description
                                "VR ID";
                            }
    
                            leaf vr-name {
                              type string;
                              description
                                "VR Name";
                            }
    
                            leaf afi {
                              type Rsi-afi;
                              description "AFI";
                            }
    
                            leaf safi {
                              type Rsi-safi;
                              description "SAFI";
                            }
    
                            leaf refcount {
                              type int32;
                              description
                                "Reference Count";
                            }
    
                            leaf flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf lst-flags {
                              type uint32;
                              description
                                "LST Flags";
                            }
    
                            leaf tbl-by-tbl-id-regs {
                              type int32;
                              description
                                "Table Reg by Table ID";
                            }
    
                            leaf vrf-tbl-idx {
                              type uint32;
                              description
                                "VRF Table Index";
                            }
    
                            leaf tcm-idx {
                              type uint32;
                              description
                                "TCM Index";
                            }
    
                            list attr {
                              description
                                "Table attribute inforamtion";
                              leaf flags {
                                type uint32;
                                description
                                  "Attribute flags";
                              }
    
                              leaf type {
                                type Ra-edm-tbl-attr;
                                description
                                  "Attribute type";
                              }
    
                              leaf length {
                                type uint32;
                                description
                                  "Attribute data length";
                              }
    
                              leaf data {
                                type uint64;
                                description
                                  "Attribute data";
                              }
                            }  // list attr
                          }  // list table-id-db-filter-info-table-id
                        }  // list table-id-db-filter-info
                      }  // container table-id-db-filter-infos
    
                      container interfaces {
                        description
                          "Interface handle database";
                        list interface {
                          key "interface";
                          description
                            "Client details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifer for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list interface
                      }  // container interfaces
    
                      container global-interface-handles {
                        description
                          "Global Interface handle database";
                        list global-interface-handle {
                          key "interface";
                          description
                            "Interface handle details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifier for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list global-interface-handle
                      }  // container global-interface-handles
                    }  // list virtual-routing-forwarding-id-info
                  }  // container virtual-routing-forwarding-id-infos
    
                  container virtual-routing-forwarding-name-infos {
                    description
                      "Virtual Routing and Forwarding Name";
                    list virtual-routing-forwarding-name-info {
                      key "vrf-name";
                      description
                        "Virtual Router and Forwarding Name details";
                      leaf vrf-name {
                        type xr:Cisco-ios-xr-string;
                        description
                          "Virtual Router Forwarding Name";
                      }
    
                      container table-name-db-filter-infos {
                        description
                          "Table Name database";
                        list table-name-db-filter-info {
                          description
                            "Table name List";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-name-db-filter-info-table {
                            description
                              "Table name details";
                            leaf table-name {
                              type xr:Cisco-ios-xr-string;
                              description
                                "Table Name";
                            }
    
                            leaf afi {
                              type uint32;
                              description
                                "Address Family Indicator";
                            }
    
                            leaf safi {
                              type uint32;
                              description
                                "Subsequent Address Family Indicator";
                            }
    
                            container dependant {
                              description
                                "Dependant Table";
                              leaf tbl-name {
                                type string;
                                description
                                  "Table Name";
                              }
    
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-id {
                                type uint32;
                                description
                                  "VRF ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf vr-id {
                                type uint32;
                                description
                                  "VR ID";
                              }
    
                              leaf vr-name {
                                type string;
                                description
                                  "VR Name";
                              }
    
                              leaf afi {
                                type Rsi-afi;
                                description
                                  "AFI";
                              }
    
                              leaf safi {
                                type Rsi-safi;
                                description
                                  "SAFI";
                              }
                            }  // container dependant
    
                            leaf num-tdl {
                              type uint32;
                              description
                                "Num TDL in Array";
                            }
    
                            list tdl-array {
                              description
                                "TDL Array";
                              leaf tbl-id {
                                type Rsi-tbl-id;
                                description
                                  "Table ID";
                              }
    
                              leaf vrf-name {
                                type string;
                                description
                                  "VRF Name";
                              }
    
                              leaf tdl-type {
                                type uint32;
                                description
                                  "TDL Type";
                              }
    
                              leaf owner-ctx {
                                type uint64;
                                description
                                  "Owner Context";
                              }
                            }  // list tdl-array
                          }  // list table-name-db-filter-info-table
                        }  // list table-name-db-filter-info
                      }  // container table-name-db-filter-infos
    
                      container table-id-db-filter-infos {
                        description
                          "Table ID database";
                        list table-id-db-filter-info {
                          description
                            "Table id filters";
                          leaf table-name {
                            type xr:Cisco-ios-xr-string;
                            description
                              "Table Name";
                          }
    
                          leaf afi {
                            type uint32;
                            description
                              "Address Family Indicator";
                          }
    
                          leaf safi {
                            type uint32;
                            description
                              "Subsequent Address Family Indicator";
                          }
    
                          list table-id-db-filter-info-table-id {
                            key "table-id";
                            description
                              "Table id details";
                            leaf table-id {
                              type uint32;
                              description
                                "Table ID";
                            }
    
                            leaf tbl-name {
                              type string;
                              description
                                "Table Name";
                            }
    
                            leaf tbl-id {
                              type Rsi-tbl-id;
                              description
                                "Table ID";
                            }
    
                            leaf vrf-id {
                              type uint32;
                              description
                                "VRF ID";
                            }
    
                            leaf vrf-name {
                              type string;
                              description
                                "VRF Name";
                            }
    
                            leaf vr-id {
                              type uint32;
                              description
                                "VR ID";
                            }
    
                            leaf vr-name {
                              type string;
                              description
                                "VR Name";
                            }
    
                            leaf afi {
                              type Rsi-afi;
                              description "AFI";
                            }
    
                            leaf safi {
                              type Rsi-safi;
                              description "SAFI";
                            }
    
                            leaf refcount {
                              type int32;
                              description
                                "Reference Count";
                            }
    
                            leaf flags {
                              type uint32;
                              description
                                "Flags";
                            }
    
                            leaf lst-flags {
                              type uint32;
                              description
                                "LST Flags";
                            }
    
                            leaf tbl-by-tbl-id-regs {
                              type int32;
                              description
                                "Table Reg by Table ID";
                            }
    
                            leaf vrf-tbl-idx {
                              type uint32;
                              description
                                "VRF Table Index";
                            }
    
                            leaf tcm-idx {
                              type uint32;
                              description
                                "TCM Index";
                            }
    
                            list attr {
                              description
                                "Table attribute inforamtion";
                              leaf flags {
                                type uint32;
                                description
                                  "Attribute flags";
                              }
    
                              leaf type {
                                type Ra-edm-tbl-attr;
                                description
                                  "Attribute type";
                              }
    
                              leaf length {
                                type uint32;
                                description
                                  "Attribute data length";
                              }
    
                              leaf data {
                                type uint64;
                                description
                                  "Attribute data";
                              }
                            }  // list attr
                          }  // list table-id-db-filter-info-table-id
                        }  // list table-id-db-filter-info
                      }  // container table-id-db-filter-infos
    
                      container interfaces {
                        description
                          "Interface handle database";
                        list interface {
                          key "interface";
                          description
                            "Client details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifer for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list interface
                      }  // container interfaces
    
                      container global-interface-handles {
                        description
                          "Global Interface handle database";
                        list global-interface-handle {
                          key "interface";
                          description
                            "Interface handle details";
                          leaf interface {
                            type xr:Interface-name;
                            description
                              "Unique Identifier for Interface";
                          }
    
                          leaf ifhandle {
                            type xr:Interface-name;
                            description
                              "Interface by handle";
                          }
    
                          leaf ifname {
                            type string;
                            description
                              "Name of the interface";
                          }
    
                          leaf vrf-id {
                            type Rsi-vrf-id;
                            description "VRF ID";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf vr-id {
                            type Rsi-vr-id;
                            description "VR ID";
                          }
    
                          leaf vr-name {
                            type string;
                            description
                              "VR Name";
                          }
    
                          leaf is-virtual {
                            type boolean;
                            description
                              "Virtual";
                          }
    
                          leaf is-local {
                            type boolean;
                            description "Local";
                          }
    
                          leaf is-licensed {
                            type boolean;
                            description
                              "Licensed";
                          }
    
                          leaf flags {
                            type uint32;
                            description
                              "Flag value";
                          }
    
                          leaf refcount {
                            type int32;
                            description
                              "Reference count";
                          }
    
                          leaf intf-by-ifh-regs {
                            type int32;
                            description
                              "Registered Interface by ifhandle";
                          }
    
                          leaf interface-table-by-ifh {
                            type int32;
                            description
                              "Registered Table by interface handle";
                          }
    
                          list ra-table-set {
                            description
                              "RSI agent tables";
                            leaf entry {
                              type uint8;
                              description
                                "RSI agent tables";
                            }
                          }  // list ra-table-set
                        }  // list global-interface-handle
                      }  // container global-interface-handles
                    }  // list virtual-routing-forwarding-name-info
                  }  // container virtual-routing-forwarding-name-infos
    
                  container vrf-names {
                    description
                      "List of Virtual Router";
                    list vrf-name {
                      key "name";
                      description
                        "VRF details by name";
                      leaf name {
                        type xr:Cisco-ios-xr-string {
                          length "1..32";
                        }
                        description "vrf name";
                      }
    
                      container vpn-id {
                        description "VPN ID";
                        leaf oui {
                          type uint32;
                          description
                            "VPNID OUI";
                        }
    
                        leaf index {
                          type uint32;
                          description
                            "VPNID Index";
                        }
                      }  // container vpn-id
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf vrf-id {
                        type uint32;
                        description "VRF ID";
                      }
    
                      leaf vr-id {
                        type uint32;
                        description "VR ID";
                      }
    
                      leaf submode-flag {
                        type uint32;
                        description
                          "Sub_mode Flag";
                      }
    
                      leaf fallback-vrf-name {
                        type string;
                        description
                          "Fallback VRF_Name";
                      }
    
                      leaf vr-name {
                        type string;
                        description "VR Name";
                      }
    
                      leaf refcount {
                        type int32;
                        description
                          "Reference count";
                      }
    
                      leaf intf-count-local {
                        type int32;
                        description
                          "Locally significant Intf Count";
                      }
    
                      leaf intf-count-global {
                        type int32;
                        description
                          "Total Interfaces";
                      }
    
                      leaf num-real-tbls {
                        type int32;
                        description "Tbl Count";
                      }
    
                      leaf num-fwd-ref-tbls {
                        type int32;
                        description
                          "Fwd Ref Tbl Count";
                      }
    
                      leaf vrf-by-vrf-id-regs {
                        type int32;
                        description
                          "vrf by vrf id registration count";
                      }
    
                      leaf vrf-by-vrf-name-regs {
                        type int32;
                        description
                          "vrf by vrf name registration count";
                      }
    
                      leaf table-by-vrf-regs {
                        type int32;
                        description
                          "table by vrf registration count";
                      }
    
                      leaf table-by-vrf-name-regs {
                        type int32;
                        description
                          "table by vrf name registration count";
                      }
    
                      leaf vrf-flags {
                        type uint32;
                        description "VRF Flags";
                      }
    
                      leaf intf-cnt-local {
                        type uint32;
                        description
                          "Local Intf Count";
                      }
    
                      leaf vrf-groups {
                        type uint32;
                        description
                          "Number of VRF groups";
                      }
    
                      leaf parentvrf-cnt {
                        type uint32;
                        description
                          "Number of parent VRF";
                      }
    
                      list table-array {
                        description
                          "Array of tables in VRF";
                        leaf vrf-table-id {
                          type uint32;
                          description
                            "VRF Table Index";
                        }
    
                        leaf address-family-indicator {
                          type Rsi-afi;
                          description "AFI";
                        }
    
                        leaf subsequent-address-family-indicator {
                          type Rsi-safi;
                          description "SAFI";
                        }
    
                        leaf table-name {
                          type string;
                          description
                            "Table Name";
                        }
                      }  // list table-array
                    }  // list vrf-name
                  }  // container vrf-names
    
                  container vrfids {
                    description
                      "List of Virtual Router Forwarding ID";
                    list vrfid {
                      key "id";
                      description
                        "VRF details by ID";
                      leaf id {
                        type xr:Cisco-ios-xr-string;
                        description "vrf id";
                      }
    
                      container vpn-id {
                        description "VPN ID";
                        leaf oui {
                          type uint32;
                          description
                            "VPNID OUI";
                        }
    
                        leaf index {
                          type uint32;
                          description
                            "VPNID Index";
                        }
                      }  // container vpn-id
    
                      leaf vrf-name {
                        type string;
                        description "VRF Name";
                      }
    
                      leaf vrf-id {
                        type uint32;
                        description "VRF ID";
                      }
    
                      leaf vr-id {
                        type uint32;
                        description "VR ID";
                      }
    
                      leaf submode-flag {
                        type uint32;
                        description
                          "Sub_mode Flag";
                      }
    
                      leaf fallback-vrf-name {
                        type string;
                        description
                          "Fallback VRF_Name";
                      }
    
                      leaf vr-name {
                        type string;
                        description "VR Name";
                      }
    
                      leaf refcount {
                        type int32;
                        description
                          "Reference count";
                      }
    
                      leaf intf-count-local {
                        type int32;
                        description
                          "Locally significant Intf Count";
                      }
    
                      leaf intf-count-global {
                        type int32;
                        description
                          "Total Interfaces";
                      }
    
                      leaf num-real-tbls {
                        type int32;
                        description "Tbl Count";
                      }
    
                      leaf num-fwd-ref-tbls {
                        type int32;
                        description
                          "Fwd Ref Tbl Count";
                      }
    
                      leaf vrf-by-vrf-id-regs {
                        type int32;
                        description
                          "vrf by vrf id registration count";
                      }
    
                      leaf vrf-by-vrf-name-regs {
                        type int32;
                        description
                          "vrf by vrf name registration count";
                      }
    
                      leaf table-by-vrf-regs {
                        type int32;
                        description
                          "table by vrf registration count";
                      }
    
                      leaf table-by-vrf-name-regs {
                        type int32;
                        description
                          "table by vrf name registration count";
                      }
    
                      leaf vrf-flags {
                        type uint32;
                        description "VRF Flags";
                      }
    
                      leaf intf-cnt-local {
                        type uint32;
                        description
                          "Local Intf Count";
                      }
    
                      leaf vrf-groups {
                        type uint32;
                        description
                          "Number of VRF groups";
                      }
    
                      leaf parentvrf-cnt {
                        type uint32;
                        description
                          "Number of parent VRF";
                      }
    
                      list table-array {
                        description
                          "Array of tables in VRF";
                        leaf vrf-table-id {
                          type uint32;
                          description
                            "VRF Table Index";
                        }
    
                        leaf address-family-indicator {
                          type Rsi-afi;
                          description "AFI";
                        }
    
                        leaf subsequent-address-family-indicator {
                          type Rsi-safi;
                          description "SAFI";
                        }
    
                        leaf table-name {
                          type string;
                          description
                            "Table Name";
                        }
                      }  // list table-array
                    }  // list vrfid
                  }  // container vrfids
                }  // list virtual-router-id-info
              }  // container virtual-router-id-infos
    
              container clients {
                description "RSI Clients table";
                list client {
                  key "client-name";
                  description "Client details";
                  leaf client-name {
                    type xr:Cisco-ios-xr-string;
                    description "Client name";
                  }
    
                  leaf name {
                    type string;
                    description "Client Name";
                  }
    
                  leaf client-ptr {
                    type uint64;
                    description
                      "Pointer to client";
                  }
    
                  leaf client-type {
                    type uint32;
                    description "Type of client";
                  }
    
                  leaf zombied {
                    type boolean;
                    description "Zombie flag";
                  }
    
                  leaf mdbs-processed {
                    type uint32;
                    description "MDBS state";
                  }
    
                  leaf msgs-received {
                    type uint32;
                    description "Message count";
                  }
    
                  leaf num-lookups-done {
                    type uint32;
                    description "Total lookups";
                  }
    
                  leaf num-failed-lookups {
                    type uint32;
                    description "Lookups failed";
                  }
    
                  leaf num-failed-regs {
                    type uint32;
                    description
                      "Registrations failed";
                  }
    
                  leaf num-auto-purges {
                    type uint32;
                    description "Purge count";
                  }
    
                  leaf num-small-reply-buf {
                    type uint32;
                    description
                      "Reply buffer count";
                  }
    
                  leaf proc-name {
                    type string;
                    description "";
                  }
    
                  leaf pid {
                    type uint32;
                    description "Process ID";
                  }
    
                  leaf scoid {
                    type int32;
                    description
                      "Server Connection ID";
                  }
    
                  leaf coid {
                    type int32;
                    description "Connection ID";
                  }
    
                  leaf up-time-secs {
                    type uint32;
                    description
                      "connected time in sec";
                  }
    
                  leaf zombie-secs {
                    type uint32;
                    description "Zombie for sec";
                  }
    
                  leaf last-rx-msg-type {
                    type uint32;
                    description
                      "RX message type";
                  }
    
                  leaf pulse-count {
                    type uint32;
                    description
                      "Number of pulse";
                  }
    
                  leaf async-q-size {
                    type uint32;
                    description
                      "Size of asynchronous queue";
                  }
    
                  leaf async-q-size-max {
                    type uint32;
                    description
                      "Max size of asynchronous queue";
                  }
    
                  leaf sync-items-returned {
                    type uint32;
                    description
                      "Items returned Synchronously";
                  }
    
                  leaf async-items-returned {
                    type uint32;
                    description
                      "Items returned Asynchronously";
                  }
    
                  leaf batch-enabled {
                    type boolean;
                    description
                      "Batch enable flag";
                  }
    
                  leaf batch-size {
                    type uint32;
                    description "Size of batch";
                  }
    
                  leaf num-active-regs {
                    type uint32;
                    description
                      "Active registrations count";
                  }
    
                  leaf num-owned-objs-tdl {
                    type uint32;
                    description
                      "TDLs owned by producer client";
                  }
    
                  list by-all {
                    description
                      "Notif registration by all";
                    leaf mdb-type {
                      type uint32;
                      description "Type of MDB";
                    }
    
                    leaf reg-hd {
                      type uint64;
                      description
                        "HD registered";
                    }
    
                    leaf num-notifs-dispatched {
                      type uint32;
                      description
                        "Notifications dispatched";
                    }
    
                    leaf flags {
                      type uint32;
                      description
                        "Notification flags";
                    }
                  }  // list by-all
    
                  list by-state {
                    description
                      "Notif registration by state";
                    leaf mdb-type {
                      type uint32;
                      description "Type of MDB";
                    }
    
                    leaf reg-hd {
                      type uint64;
                      description
                        "HD registered";
                    }
    
                    leaf num-notifs-dispatched {
                      type uint32;
                      description
                        "Notifications dispatched";
                    }
    
                    leaf state-id {
                      type uint64;
                      description
                        "State Identification";
                    }
                  }  // list by-state
    
                  list by-vr {
                    description
                      "Notif registration by VR";
                    leaf mdb-type {
                      type uint32;
                      description "Type of MDB";
                    }
    
                    leaf reg-hd {
                      type uint64;
                      description
                        "HD registered";
                    }
    
                    leaf num-notifs-dispatched {
                      type uint32;
                      description
                        "Notifications dispatched";
                    }
    
                    leaf vr-name {
                      type string;
                      description "Name of VR";
                    }
    
                    leaf vr-id {
                      type uint32;
                      description
                        "Identification of VR";
                    }
    
                    leaf flags {
                      type uint32;
                      description "VR flags";
                    }
                  }  // list by-vr
    
                  list by-vrf {
                    description
                      "Notif registration by VRF";
                    leaf mdb-type {
                      type uint32;
                      description "Type of MDB";
                    }
    
                    leaf reg-hd {
                      type uint64;
                      description
                        "HD registered";
                    }
    
                    leaf num-notifs-dispatched {
                      type uint32;
                      description
                        "Notifications dispatched";
                    }
    
                    leaf vrf-name {
                      type string;
                      description "Name of VRF";
                    }
    
                    leaf vrf-id {
                      type uint32;
                      description
                        "Identification of VRF";
                    }
                  }  // list by-vrf
    
                  list by-vpn {
                    description
                      "Notif registration by VPN";
                    container vpn-id {
                      description
                        "Identification of VPN";
                      leaf oui {
                        type uint32;
                        description "VPNID OUI";
                      }
    
                      leaf index {
                        type uint32;
                        description
                          "VPNID Index";
                      }
                    }  // container vpn-id
    
                    leaf mdb-type {
                      type uint32;
                      description "Type of MDB";
                    }
    
                    leaf reg-hd {
                      type uint64;
                      description
                        "HD registered";
                    }
    
                    leaf num-notifs-dispatched {
                      type uint32;
                      description
                        "Notifications dispatched";
                    }
                  }  // list by-vpn
    
                  list by-table {
                    description
                      "Notif registration by table";
                    leaf mdb-type {
                      type uint32;
                      description "Type of MDB";
                    }
    
                    leaf reg-hd {
                      type uint64;
                      description
                        "HD registered";
                    }
    
                    leaf num-notifs-dispatched {
                      type uint32;
                      description
                        "Notifications dispatched";
                    }
    
                    leaf table-name {
                      type string;
                      description
                        "Name of table";
                    }
    
                    leaf table-id {
                      type Rsi-tbl-id;
                      description
                        "Identification of table";
                    }
                  }  // list by-table
    
                  list by-intf {
                    description
                      "Notif registration by interface";
                    leaf mdb-type {
                      type uint32;
                      description "Type of MDB";
                    }
    
                    leaf reg-hd {
                      type uint64;
                      description
                        "HD registered";
                    }
    
                    leaf num-notifs-dispatched {
                      type uint32;
                      description
                        "Notifications dispatched";
                    }
    
                    leaf ifname {
                      type string;
                      description
                        "Interface name";
                    }
    
                    leaf ifhandle {
                      type xr:Interface-name;
                      description
                        "Interface handle";
                    }
    
                    leaf address-family-indicator-filter {
                      type uint32;
                      description "AFI filter";
                    }
    
                    leaf subsequent-address-family-indicator-filter {
                      type uint32;
                      description "SAFI filter";
                    }
    
                    leaf table-name {
                      type string;
                      description
                        "Name of table";
                    }
    
                    leaf global {
                      type boolean;
                      description
                        "Global interface";
                    }
    
                    leaf reg-flags {
                      type uint32;
                      description
                        "Registration flags";
                    }
                  }  // list by-intf
    
                  list local-table-buf {
                    description
                      "LTBLs owned by producer client";
                    leaf entry {
                      type Rsi-tbl-id;
                      description
                        "LTBLs owned by producer client";
                    }
                  }  // list local-table-buf
                }  // list client
              }  // container clients
    
              container stale-producer-infos {
                description
                  "RSI Stale Producer database";
                list stale-producer-info {
                  key "index";
                  description
                    "Stale producer details";
                  leaf index {
                    type uint32;
                    description "Producer Index";
                  }
    
                  leaf item-id {
                    type uint32;
                    description
                      "Item identification";
                  }
    
                  leaf name {
                    type string;
                    description "Producer name";
                  }
    
                  leaf flags {
                    type uint32;
                    description "Producer flags";
                  }
    
                  leaf num-owned-objs-vr {
                    type uint32;
                    description
                      "Number Owned Objects VR";
                  }
    
                  leaf num-owned-objs-vrf {
                    type uint32;
                    description
                      "Number Owned Objects VRF";
                  }
    
                  leaf num-owned-objs-table {
                    type uint32;
                    description
                      "Number Owned Object Table";
                  }
    
                  leaf num-owned-objs-intf {
                    type uint32;
                    description
                      "Number Owned Objects Interface";
                  }
    
                  leaf num-owned-objs-tdl {
                    type uint32;
                    description
                      "Number Owned Objects TDL";
                  }
    
                  leaf num-saved-msgs {
                    type uint32;
                    description
                      "Number Saved Messages";
                  }
                }  // list stale-producer-info
              }  // container stale-producer-infos
    
              leaf node-name {
                type xr:Node-id;
                description "Node";
              }
    
              container table-id-db-filter-infos {
                description "Table ID database";
                list table-id-db-filter-info {
                  description "Table id filters";
                  leaf table-name {
                    type xr:Cisco-ios-xr-string;
                    description "Table Name";
                  }
    
                  leaf afi {
                    type uint32;
                    description
                      "Address Family Indicator";
                  }
    
                  leaf safi {
                    type uint32;
                    description
                      "Subsequent Address Family Indicator";
                  }
    
                  list table-id-db-filter-info-table-id {
                    key "table-id";
                    description
                      "Table id details";
                    leaf table-id {
                      type uint32;
                      description "Table ID";
                    }
    
                    leaf tbl-name {
                      type string;
                      description "Table Name";
                    }
    
                    leaf tbl-id {
                      type Rsi-tbl-id;
                      description "Table ID";
                    }
    
                    leaf vrf-id {
                      type uint32;
                      description "VRF ID";
                    }
    
                    leaf vrf-name {
                      type string;
                      description "VRF Name";
                    }
    
                    leaf vr-id {
                      type uint32;
                      description "VR ID";
                    }
    
                    leaf vr-name {
                      type string;
                      description "VR Name";
                    }
    
                    leaf afi {
                      type Rsi-afi;
                      description "AFI";
                    }
    
                    leaf safi {
                      type Rsi-safi;
                      description "SAFI";
                    }
    
                    leaf refcount {
                      type int32;
                      description
                        "Reference Count";
                    }
    
                    leaf flags {
                      type uint32;
                      description "Flags";
                    }
    
                    leaf lst-flags {
                      type uint32;
                      description "LST Flags";
                    }
    
                    leaf tbl-by-tbl-id-regs {
                      type int32;
                      description
                        "Table Reg by Table ID";
                    }
    
                    leaf vrf-tbl-idx {
                      type uint32;
                      description
                        "VRF Table Index";
                    }
    
                    leaf tcm-idx {
                      type uint32;
                      description "TCM Index";
                    }
    
                    list attr {
                      description
                        "Table attribute inforamtion";
                      leaf flags {
                        type uint32;
                        description
                          "Attribute flags";
                      }
    
                      leaf type {
                        type Ra-edm-tbl-attr;
                        description
                          "Attribute type";
                      }
    
                      leaf length {
                        type uint32;
                        description
                          "Attribute data length";
                      }
    
                      leaf data {
                        type uint64;
                        description
                          "Attribute data";
                      }
                    }  // list attr
                  }  // list table-id-db-filter-info-table-id
                }  // list table-id-db-filter-info
              }  // container table-id-db-filter-infos
    
              container vrfids {
                description
                  "List of Virtual Router Forwarding ID";
                list vrfid {
                  key "id";
                  description
                    "VRF details by ID";
                  leaf id {
                    type xr:Cisco-ios-xr-string;
                    description "vrf id";
                  }
    
                  container vpn-id {
                    description "VPN ID";
                    leaf oui {
                      type uint32;
                      description "VPNID OUI";
                    }
    
                    leaf index {
                      type uint32;
                      description "VPNID Index";
                    }
                  }  // container vpn-id
    
                  leaf vrf-name {
                    type string;
                    description "VRF Name";
                  }
    
                  leaf vrf-id {
                    type uint32;
                    description "VRF ID";
                  }
    
                  leaf vr-id {
                    type uint32;
                    description "VR ID";
                  }
    
                  leaf submode-flag {
                    type uint32;
                    description "Sub_mode Flag";
                  }
    
                  leaf fallback-vrf-name {
                    type string;
                    description
                      "Fallback VRF_Name";
                  }
    
                  leaf vr-name {
                    type string;
                    description "VR Name";
                  }
    
                  leaf refcount {
                    type int32;
                    description
                      "Reference count";
                  }
    
                  leaf intf-count-local {
                    type int32;
                    description
                      "Locally significant Intf Count";
                  }
    
                  leaf intf-count-global {
                    type int32;
                    description
                      "Total Interfaces";
                  }
    
                  leaf num-real-tbls {
                    type int32;
                    description "Tbl Count";
                  }
    
                  leaf num-fwd-ref-tbls {
                    type int32;
                    description
                      "Fwd Ref Tbl Count";
                  }
    
                  leaf vrf-by-vrf-id-regs {
                    type int32;
                    description
                      "vrf by vrf id registration count";
                  }
    
                  leaf vrf-by-vrf-name-regs {
                    type int32;
                    description
                      "vrf by vrf name registration count";
                  }
    
                  leaf table-by-vrf-regs {
                    type int32;
                    description
                      "table by vrf registration count";
                  }
    
                  leaf table-by-vrf-name-regs {
                    type int32;
                    description
                      "table by vrf name registration count";
                  }
    
                  leaf vrf-flags {
                    type uint32;
                    description "VRF Flags";
                  }
    
                  leaf intf-cnt-local {
                    type uint32;
                    description
                      "Local Intf Count";
                  }
    
                  leaf vrf-groups {
                    type uint32;
                    description
                      "Number of VRF groups";
                  }
    
                  leaf parentvrf-cnt {
                    type uint32;
                    description
                      "Number of parent VRF";
                  }
    
                  list table-array {
                    description
                      "Array of tables in VRF";
                    leaf vrf-table-id {
                      type uint32;
                      description
                        "VRF Table Index";
                    }
    
                    leaf address-family-indicator {
                      type Rsi-afi;
                      description "AFI";
                    }
    
                    leaf subsequent-address-family-indicator {
                      type Rsi-safi;
                      description "SAFI";
                    }
    
                    leaf table-name {
                      type string;
                      description "Table Name";
                    }
                  }  // list table-array
                }  // list vrfid
              }  // container vrfids
    
              container interfaces {
                description
                  "Interface handle database";
                list interface {
                  key "interface";
                  description "Client details";
                  leaf interface {
                    type xr:Interface-name;
                    description
                      "Unique Identifer for Interface";
                  }
    
                  leaf ifhandle {
                    type xr:Interface-name;
                    description
                      "Interface by handle";
                  }
    
                  leaf ifname {
                    type string;
                    description
                      "Name of the interface";
                  }
    
                  leaf vrf-id {
                    type Rsi-vrf-id;
                    description "VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "VRF Name";
                  }
    
                  leaf vr-id {
                    type Rsi-vr-id;
                    description "VR ID";
                  }
    
                  leaf vr-name {
                    type string;
                    description "VR Name";
                  }
    
                  leaf is-virtual {
                    type boolean;
                    description "Virtual";
                  }
    
                  leaf is-local {
                    type boolean;
                    description "Local";
                  }
    
                  leaf is-licensed {
                    type boolean;
                    description "Licensed";
                  }
    
                  leaf flags {
                    type uint32;
                    description "Flag value";
                  }
    
                  leaf refcount {
                    type int32;
                    description
                      "Reference count";
                  }
    
                  leaf intf-by-ifh-regs {
                    type int32;
                    description
                      "Registered Interface by ifhandle";
                  }
    
                  leaf interface-table-by-ifh {
                    type int32;
                    description
                      "Registered Table by interface handle";
                  }
    
                  list ra-table-set {
                    description
                      "RSI agent tables";
                    leaf entry {
                      type uint8;
                      description
                        "RSI agent tables";
                    }
                  }  // list ra-table-set
                }  // list interface
              }  // container interfaces
    
              container global-interface-handles {
                description
                  "Global Interface handle database";
                list global-interface-handle {
                  key "interface";
                  description
                    "Interface handle details";
                  leaf interface {
                    type xr:Interface-name;
                    description
                      "Unique Identifier for Interface";
                  }
    
                  leaf ifhandle {
                    type xr:Interface-name;
                    description
                      "Interface by handle";
                  }
    
                  leaf ifname {
                    type string;
                    description
                      "Name of the interface";
                  }
    
                  leaf vrf-id {
                    type Rsi-vrf-id;
                    description "VRF ID";
                  }
    
                  leaf vrf-name {
                    type string;
                    description "VRF Name";
                  }
    
                  leaf vr-id {
                    type Rsi-vr-id;
                    description "VR ID";
                  }
    
                  leaf vr-name {
                    type string;
                    description "VR Name";
                  }
    
                  leaf is-virtual {
                    type boolean;
                    description "Virtual";
                  }
    
                  leaf is-local {
                    type boolean;
                    description "Local";
                  }
    
                  leaf is-licensed {
                    type boolean;
                    description "Licensed";
                  }
    
                  leaf flags {
                    type uint32;
                    description "Flag value";
                  }
    
                  leaf refcount {
                    type int32;
                    description
                      "Reference count";
                  }
    
                  leaf intf-by-ifh-regs {
                    type int32;
                    description
                      "Registered Interface by ifhandle";
                  }
    
                  leaf interface-table-by-ifh {
                    type int32;
                    description
                      "Registered Table by interface handle";
                  }
    
                  list ra-table-set {
                    description
                      "RSI agent tables";
                    leaf entry {
                      type uint8;
                      description
                        "RSI agent tables";
                    }
                  }  // list ra-table-set
                }  // list global-interface-handle
              }  // container global-interface-handles
            }  // list node
          }  // container nodes
        }  // container rsi-agent
      }  // module Cisco-IOS-XR-rsi-agent-oper
    

© 2023 YumaWorks, Inc. All rights reserved.