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";
    
        grouping VIRTUAL-ROUTING-FORWARDING-ID {
          description
            "Common node of virtual-router-id-info,
    virtual-router-name-info";
          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";
              }
    
              uses TABLE-NAME-DB-FILTER;
    
              uses TABLE-ID-DB-FILTER;
    
              uses INTERFACE-HANDLE-DB-TABLE;
    
              uses GLOBAL-INTERFACE-HANDLE-DB-TABLE;
            }  // list virtual-routing-forwarding-id-info
          }  // container virtual-routing-forwarding-id-infos
        }  // grouping VIRTUAL-ROUTING-FORWARDING-ID
    
        grouping TABLE-NAME-DB-FILTER {
          description
            "Common node of virtual-routing-forwarding-id-info
    , virtual-routing-forwarding-name-info";
          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";
                }
    
                uses RSI-AGENT-TBL-TDL;
              }  // list table-name-db-filter-info-table
            }  // list table-name-db-filter-info
          }  // container table-name-db-filter-infos
        }  // grouping TABLE-NAME-DB-FILTER
    
        grouping VRF-NAME-TABLE {
          description
            "Common node of virtual-router-name-info,
    virtual-router-id-info";
          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";
              }
    
              uses RSI-AGENT-VRF;
            }  // list vrf-name
          }  // container vrf-names
        }  // grouping VRF-NAME-TABLE
    
        grouping VRFID-TABLE {
          description
            "Common node of node, virtual-router-name-info,
    virtual-router-id-info";
          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";
              }
    
              uses RSI-AGENT-VRF;
            }  // list vrfid
          }  // container vrfids
        }  // grouping VRFID-TABLE
    
        grouping INTERFACE-HANDLE-DB-TABLE {
          description
            "Common node of node,
    virtual-routing-forwarding-id-info,
    virtual-routing-forwarding-name-info";
          container interfaces {
            description
              "Interface handle database";
            list interface {
              key "interface";
              description "Client details";
              leaf interface {
                type xr:Interface-name;
                description
                  "Unique Identifer for Interface";
              }
    
              uses RSI-AGENT-INTF;
            }  // list interface
          }  // container interfaces
        }  // grouping INTERFACE-HANDLE-DB-TABLE
    
        grouping VIRTUAL-ROUTING-FORWARDING-NAME {
          description
            "Common node of virtual-router-id-info,
    virtual-router-name-info";
          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";
              }
    
              uses TABLE-NAME-DB-FILTER;
    
              uses TABLE-ID-DB-FILTER;
    
              uses INTERFACE-HANDLE-DB-TABLE;
    
              uses GLOBAL-INTERFACE-HANDLE-DB-TABLE;
            }  // list virtual-routing-forwarding-name-info
          }  // container virtual-routing-forwarding-name-infos
        }  // grouping VIRTUAL-ROUTING-FORWARDING-NAME
    
        grouping TABLE-ID-DB-FILTER {
          description
            "Common node of node,
    virtual-routing-forwarding-id-info,
    virtual-routing-forwarding-name-info";
          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";
                }
    
                uses RSI-AGENT-TBL;
              }  // list table-id-db-filter-info-table-id
            }  // list table-id-db-filter-info
          }  // container table-id-db-filter-infos
        }  // grouping TABLE-ID-DB-FILTER
    
        grouping GLOBAL-INTERFACE-HANDLE-DB-TABLE {
          description
            "Common node of node,
    virtual-routing-forwarding-id-info,
    virtual-routing-forwarding-name-info";
          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";
              }
    
              uses RSI-AGENT-INTF;
            }  // list global-interface-handle
          }  // container global-interface-handles
        }  // grouping GLOBAL-INTERFACE-HANDLE-DB-TABLE
    
        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";
                  }
    
                  uses RSI-AGENT-VR;
                }  // list virtual-router
              }  // container virtual-routers
    
              container rsi-agent-role {
                description
                  "RSI Agent role database";
                uses RSI-AGENT-ROLE;
              }  // 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";
                  }
    
                  uses RSI-AGENT-VR;
                }  // 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";
                  }
    
                  uses RSI-AGENT-PROD;
                }  // 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";
                  }
    
                  uses RSI-AGENT-TBL-REQ-DEP;
                }  // 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";
                  }
    
                  uses RSI-AGENT-INTF;
                }  // 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";
                  }
    
                  uses VIRTUAL-ROUTING-FORWARDING-ID;
    
                  uses VIRTUAL-ROUTING-FORWARDING-NAME;
    
                  uses VRF-NAME-TABLE;
    
                  uses VRFID-TABLE;
                }  // list virtual-router-name-info
              }  // container virtual-router-name-infos
    
              container state {
                description "SVD state details";
                uses RSI-AGENT-STATE;
              }  // 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";
                  }
    
                  uses VIRTUAL-ROUTING-FORWARDING-ID;
    
                  uses VIRTUAL-ROUTING-FORWARDING-NAME;
    
                  uses VRF-NAME-TABLE;
    
                  uses VRFID-TABLE;
                }  // 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";
                  }
    
                  uses RSI-AGENT-CLIENT;
                }  // 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";
                  }
    
                  uses RSI-AGENT-PROD;
                }  // list stale-producer-info
              }  // container stale-producer-infos
    
              leaf node-name {
                type xr:Node-id;
                description "Node";
              }
    
              uses TABLE-ID-DB-FILTER;
    
              uses VRFID-TABLE;
    
              uses INTERFACE-HANDLE-DB-TABLE;
    
              uses GLOBAL-INTERFACE-HANDLE-DB-TABLE;
            }  // list node
          }  // container nodes
        }  // container rsi-agent
      }  // module Cisco-IOS-XR-rsi-agent-oper
    

© 2023 YumaWorks, Inc. All rights reserved.