Cisco-IOS-XR-sysadmin-controllers-ncs5501

This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. This module defines the top leve...

  • Version: 2019-04-15

    Cisco-IOS-XR-sysadmin-controllers-ncs5501@2019-04-15


    
      module Cisco-IOS-XR-sysadmin-controllers-ncs5501 {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-controllers-NCS5501";
    
        prefix calvados_controllers;
    
        import Cisco-IOS-XR-sysadmin-fabric-ncs5501 {
          prefix fabric;
        }
        import Cisco-IOS-XR-sysadmin-card-mgr {
          prefix card_mgr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 SysAdmin configuration.
         
         This module defines the top level container for
         all hardware devices managed in Sysadmin.
         
         Copyright (c) 2015-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-10-11" {
          description
            "Changed the namespace to unique namespace per unique model";
        }
    
        revision "2017-01-31" {
          description
            "Changed the namespace and module name";
        }
    
        revision "2016-01-12" {
          description
            "Created initial 'controller' implementation for Turin";
        }
    
        semver:module-version "1.0.0";
    
        container controller {
          container fabric {
            description
              "Fabric resource commands";
            container oper {
              config false;
              container fgid {
                description
                  "FGID management information";
                container information {
                  list id {
                    key "fgid_id";
                    leaf fgid_id {
                      type fabric-types:fabric_fgid_id_type_ncs5500;
                    }
    
                    list hex_bitmaps {
                      key "rack_number";
                      leaf rack_number {
                        type int32;
                      }
    
                      leaf bitmap {
                        type string;
                      }
                    }  // list hex_bitmaps
    
                    list binary_bitmaps {
                      key "rack_number";
                      leaf rack_number {
                        type int32;
                      }
    
                      leaf bitmap {
                        type string;
                      }
                    }  // list binary_bitmaps
    
                    leaf total_asso_fabricq_ids {
                      type int32;
                    }
    
                    list asso_fabricq_ids {
                      key "fabricq_id";
                      leaf fabricq_id {
                        type string;
                      }
                    }  // list asso_fabricq_ids
    
                    leaf asso_client_info {
                      type string;
                    }
    
                    list drivers {
                      key "rack_number";
                      leaf rack_number {
                        type int32;
                      }
    
                      list clients {
                        key "client_idx";
                        leaf client_idx {
                          type int32;
                        }
    
                        leaf show_asic_0 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_0_bitmap {
                          type string;
                        }
    
                        leaf show_asic_1 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_1_bitmap {
                          type string;
                        }
    
                        leaf show_asic_2 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_2_bitmap {
                          type string;
                        }
    
                        leaf show_asic_3 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_3_bitmap {
                          type string;
                        }
    
                        leaf show_asic_4 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_4_bitmap {
                          type string;
                        }
    
                        leaf show_asic_5 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_5_bitmap {
                          type string;
                        }
    
                        leaf show_asic_6 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_6_bitmap {
                          type string;
                        }
    
                        leaf show_asic_7 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_7_bitmap {
                          type string;
                        }
    
                        leaf show_asic_8 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_8_bitmap {
                          type string;
                        }
    
                        leaf show_asic_9 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_9_bitmap {
                          type string;
                        }
    
                        leaf show_asic_10 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_10_bitmap {
                          type string;
                        }
    
                        leaf show_asic_11 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_11_bitmap {
                          type string;
                        }
    
                        leaf show_asic_12 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_12_bitmap {
                          type string;
                        }
    
                        leaf show_asic_13 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_13_bitmap {
                          type string;
                        }
    
                        leaf show_asic_14 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_14_bitmap {
                          type string;
                        }
    
                        leaf show_asic_15 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_15_bitmap {
                          type string;
                        }
    
                        leaf show_asic_16 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_16_bitmap {
                          type string;
                        }
    
                        leaf show_asic_17 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_17_bitmap {
                          type string;
                        }
    
                        leaf show_asic_18 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_18_bitmap {
                          type string;
                        }
    
                        leaf show_asic_19 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_19_bitmap {
                          type string;
                        }
    
                        leaf show_asic_20 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_20_bitmap {
                          type string;
                        }
    
                        leaf show_asic_21 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_21_bitmap {
                          type string;
                        }
    
                        leaf show_asic_22 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_22_bitmap {
                          type string;
                        }
    
                        leaf show_asic_23 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_23_bitmap {
                          type string;
                        }
    
                        leaf show_asic_24 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_24_bitmap {
                          type string;
                        }
    
                        leaf show_asic_25 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_25_bitmap {
                          type string;
                        }
    
                        leaf show_asic_26 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_26_bitmap {
                          type string;
                        }
    
                        leaf show_asic_27 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_27_bitmap {
                          type string;
                        }
    
                        leaf show_asic_28 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_28_bitmap {
                          type string;
                        }
    
                        leaf show_asic_29 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_29_bitmap {
                          type string;
                        }
    
                        leaf show_asic_30 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_30_bitmap {
                          type string;
                        }
    
                        leaf show_asic_31 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_31_bitmap {
                          type string;
                        }
    
                        leaf show_asic_32 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_32_bitmap {
                          type string;
                        }
    
                        leaf show_asic_33 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_33_bitmap {
                          type string;
                        }
    
                        leaf show_asic_34 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_34_bitmap {
                          type string;
                        }
    
                        leaf show_asic_35 {
                          type boolean;
                          default "false";
                        }
    
                        leaf asic_35_bitmap {
                          type string;
                        }
                      }  // list clients
                    }  // list drivers
                  }  // list id
                }  // container information
    
                container resource {
                  list sdr {
                    key "sdr_name";
                    leaf sdr_name {
                      type string;
                    }
    
                    leaf description {
                      type string;
                      default
                        "Secure Domain Router name.";
                    }
    
                    list application {
                      key "app_name";
                      leaf app_name {
                        type string;
                      }
    
                      leaf description {
                        type string;
                        default "application.";
                      }
    
                      list ids_range {
                        key "id elements";
                        leaf id {
                          type fabric-types:fabric_fgid_id_type_ncs5500;
                        }
    
                        leaf elements {
                          type fabric-types:fabric_fgid_elements_type_ncs5500;
                        }
    
                        list fgid_ids {
                          key "fgid_id line_idx";
                          leaf fgid_id {
                            type string;
                          }
    
                          leaf line_idx {
                            type int32;
                          }
    
                          leaf sdr_name_h {
                            type string;
                          }
    
                          leaf app_name_h {
                            type string;
                          }
                        }  // list fgid_ids
                      }  // list ids_range
                    }  // list application
                  }  // list sdr
                }  // container resource
    
                container statistics {
                  container all {
                    list stats_list {
                      key "system_stats";
                      leaf system_stats {
                        type int32;
                      }
    
                      leaf system_total_fgids {
                        type uint32;
                      }
    
                      leaf system_inuse_fgids {
                        type uint32;
                      }
    
                      leaf system_hwm_fgids {
                        type uint32;
                      }
                    }  // list stats_list
    
                    list sdr_list {
                      key "sdr_name";
                      leaf sdr_name {
                        type string;
                      }
    
                      leaf description {
                        type string;
                        default
                          "Secure Domain Router name.";
                      }
    
                      leaf sdr_total_fgids {
                        type uint32;
                      }
    
                      leaf sdr_inuse_fgids {
                        type uint32;
                      }
    
                      leaf sdr_hwm_fgids {
                        type uint32;
                      }
    
                      list application {
                        key "app_name";
                        leaf app_name {
                          type string;
                        }
    
                        leaf description {
                          type string;
                          default "application.";
                        }
    
                        leaf app_id {
                          type uint32;
                        }
    
                        leaf pool_id {
                          type uint32;
                        }
    
                        leaf inuse_fgids {
                          type uint32;
                        }
    
                        leaf hwm_fgids {
                          type uint32;
                        }
                      }  // list application
                    }  // list sdr_list
    
                    list pool_list {
                      key "pool_id";
                      leaf pool_id {
                        type uint32;
                      }
    
                      leaf pool_name {
                        type string;
                      }
    
                      leaf pool_type {
                        type string;
                      }
    
                      leaf start_fgid {
                        type string;
                      }
    
                      leaf total_fgids {
                        type uint32;
                      }
    
                      leaf current_fgids {
                        type uint32;
                      }
    
                      leaf hwm_fgids {
                        type uint32;
                      }
                    }  // list pool_list
                  }  // container all
    
                  container sdr {
                    list sdr_list {
                      key "sdr_name";
                      leaf sdr_name {
                        type string;
                      }
    
                      leaf description {
                        type string;
                        default
                          "Secure Domain Router name.";
                      }
    
                      leaf sdr_total_fgids {
                        type uint32;
                      }
    
                      leaf sdr_inuse_fgids {
                        type uint32;
                      }
    
                      leaf sdr_hwm_fgids {
                        type uint32;
                      }
    
                      list application {
                        key "app_name";
                        leaf app_name {
                          type string;
                        }
    
                        leaf description {
                          type string;
                          default "application.";
                        }
    
                        leaf app_id {
                          type uint32;
                        }
    
                        leaf pool_id {
                          type uint32;
                        }
    
                        leaf inuse_fgids {
                          type uint32;
                        }
    
                        leaf hwm_fgids {
                          type uint32;
                        }
                      }  // list application
                    }  // list sdr_list
                  }  // container sdr
    
                  container pool {
                    list pool_list {
                      key "pool_id";
                      leaf pool_id {
                        type uint32;
                      }
    
                      leaf pool_name {
                        type string;
                      }
    
                      leaf pool_type {
                        type string;
                      }
    
                      leaf start_fgid {
                        type string;
                      }
    
                      leaf total_fgids {
                        type uint32;
                      }
    
                      leaf current_fgids {
                        type uint32;
                      }
    
                      leaf hwm_fgids {
                        type uint32;
                      }
                    }  // list pool_list
                  }  // container pool
    
                  container system {
                    list stats_list {
                      key "system_stats";
                      leaf system_stats {
                        type int32;
                      }
    
                      leaf system_total_fgids {
                        type uint32;
                      }
    
                      leaf system_inuse_fgids {
                        type uint32;
                      }
    
                      leaf system_hwm_fgids {
                        type uint32;
                      }
                    }  // list stats_list
                  }  // container system
                }  // container statistics
    
                container fgid_mgr {
                  list trace {
                    key "buffer";
                    config false;
                    description
                      "show traceable processes";
                    leaf buffer {
                      type string;
                    }
    
                    list location {
                      key "location_name";
                      leaf location_name {
                        type string;
                      }
    
                      list all-options {
                        key "option";
                        leaf option {
                          type string;
                        }
    
                        list trace-blocks {
                          leaf data {
                            type string;
                            description
                              "Trace output block";
                          }
                        }  // list trace-blocks
                      }  // list all-options
                    }  // list location
                  }  // list trace
                }  // container fgid_mgr
    
                list program_error {
                  key "start end";
                  leaf start {
                    type fabric-types:fabric_fgid_start_id_type_ncs5500;
                  }
    
                  leaf end {
                    type fabric-types:fabric_fgid_end_id_type_ncs5500;
                  }
    
                  list rack {
                    key "rack_id";
                    leaf rack_id {
                      type int32;
                    }
    
                    leaf rack_id_str {
                      type string;
                    }
    
                    leaf fgids_in_error {
                      type string;
                    }
    
                    leaf found_fgids_in_error {
                      type boolean;
                    }
    
                    leaf total_error_fgids {
                      type int32;
                    }
    
                    leaf incorrect_fgids_range {
                      type boolean;
                    }
    
                    leaf cmd_not_supported {
                      type boolean;
                    }
                  }  // list rack
                }  // list program_error
              }  // container fgid
            }  // container oper
          }  // container fabric
    
          container card_mgr {
            description
              "Card Manager module information";
            list trace {
              key "buffer";
              config false;
              description
                "show traceable processes";
              leaf buffer {
                type string;
              }
    
              list location {
                key "location_name";
                leaf location_name {
                  type string;
                }
    
                list all-options {
                  key "option";
                  leaf option {
                    type string;
                  }
    
                  list trace-blocks {
                    leaf data {
                      type string;
                      description
                        "Trace output block";
                    }
                  }  // list trace-blocks
                }  // list all-options
              }  // list location
            }  // list trace
    
            container inventory {
              config false;
              description
                "Card inventory information";
              container summary {
                config false;
                description
                  "Card inventory summary";
                list card_mgr_inv_summary {
                  key "location";
                  description
                    "Card Manager Inventory Summary";
                  leaf location {
                    type string;
                    mandatory true;
                    description "Card location";
                  }
    
                  leaf card_mgr_inv_PID_string {
                    type string;
                    description
                      "Card inventory PID";
                  }
    
                  leaf card_mgr_inv_slot_number {
                    type uint32;
                    description
                      "Card inventory BP ID";
                  }
    
                  leaf card_mgr_inv_serial_number {
                    type string;
                    description
                      "Card inventory Serial Number";
                  }
    
                  leaf card_mgr_inv_hw_version {
                    type string;
                    description
                      "Card inventory HW Ver";
                  }
    
                  leaf card_mgr_inv_card_state {
                    type string;
                    description
                      "Card inventory Card State";
                  }
                }  // list card_mgr_inv_summary
              }  // container summary
    
              container detail {
                config false;
                description
                  "Card Manager inventory detail information";
                list card_mgr_inv_detail {
                  key "location";
                  description "Card location";
                  leaf location {
                    type string;
                    description "Card location";
                  }
    
                  container card_mgr_inv_detail_list {
                    description
                      "card_mgr inventory detail list";
                    leaf-list card_mgr_inv_detail_values {
                      type string;
                      description
                        "card_mgr inventory detail value";
                    }
                  }  // container card_mgr_inv_detail_list
                }  // list card_mgr_inv_detail
              }  // container detail
            }  // container inventory
    
            container event-history {
              config false;
              description "Card Event History";
              container brief {
                config false;
                description
                  "Show all events in brief format";
                list location {
                  key "location";
                  description "Select Location";
                  leaf location {
                    type string;
                    description "Location";
                  }
    
                  container card_event_hist_brief {
                    description
                      "Card Event History Brief";
                    leaf-list card_event_hist_brief_values {
                      type string;
                      description
                        "Card Event History Brief Values";
                    }
                  }  // container card_event_hist_brief
                }  // list location
              }  // container brief
    
              container detail {
                config false;
                description
                  "Show all events with additional detail information";
                list location {
                  key "location";
                  description "Select Location";
                  leaf location {
                    type string;
                    description "Location";
                  }
    
                  container card_event_hist_detail {
                    description
                      "Card Event History Detail";
                    leaf-list card_event_hist_detail_values {
                      type string;
                      description
                        "Card Event History Detail Values";
                    }
                  }  // container card_event_hist_detail
                }  // list location
              }  // container detail
            }  // container event-history
    
            container notif-history {
              config false;
              description
                "Card State Notification History";
              container brief {
                config false;
                description
                  "Show all state notifications in brief format";
                list location {
                  key "location";
                  description "Select Location";
                  leaf location {
                    type string;
                    description "Location";
                  }
    
                  container card_notif_hist_brief {
                    description
                      "Notify Histroy Brief";
                    leaf-list card_notif_hist_brief_values {
                      type string;
                      description
                        "Notify Histroy Brief Values";
                    }
                  }  // container card_notif_hist_brief
                }  // list location
              }  // container brief
    
              container detail {
                config false;
                description
                  "Show all state notifications with additional detail information";
                list location {
                  key "location";
                  description "Select Location";
                  leaf location {
                    type string;
                    description "Location";
                  }
    
                  container card_notif_hist_detail {
                    description
                      "Notify Histroy Detail";
                    leaf-list card_notif_hist_detail_values {
                      type string;
                      description
                        "Notify Histroy Detail Values";
                    }
                  }  // container card_notif_hist_detail
                }  // list location
              }  // container detail
            }  // container notif-history
    
            container oir-history {
              config false;
              description "Cards OIR History";
              list rack {
                key "rack";
                description "Select Rack";
                leaf rack {
                  type string;
                  description "Rack";
                }
    
                container card_oir_hist {
                  description
                    "Cards OIR History";
                  leaf-list card_oir_events {
                    type string;
                    description
                      "Cards OIR Events";
                  }
                }  // container card_oir_hist
              }  // list rack
            }  // container oir-history
    
            container iofpga {
              config false;
              description "IOFPGA information";
              container register {
                config false;
                description
                  "IOFPGA Register information";
                container cpu {
                  config false;
                  description
                    "CPU-IOFPGA Register information";
                  list register_location {
                    key "register_location";
                    config false;
                    description "Card location";
                    leaf register_location {
                      type string;
                      description "Location";
                    }
    
                    list iofpga_block_number {
                      key "iofpga_block_num";
                      config false;
                      description
                        "Register Group ID";
                      leaf iofpga_block_num {
                        type uint32;
                        description "GP";
                      }
    
                      leaf block_location {
                        type string;
                        description "Location";
                      }
    
                      leaf iofpga_block_nm {
                        type string;
                        description "Block NM";
                      }
    
                      list iofpga_register_number {
                        key "index";
                        description
                          "Register Number";
                        leaf index {
                          type uint32;
                          description
                            "Register IDX";
                        }
    
                        leaf iofpga_register_name {
                          type string;
                          description
                            "Register Name";
                        }
    
                        list iofpga_data {
                          description
                            "IOFPGA DATA";
                          leaf name {
                            type string;
                            description
                              "Register Name";
                          }
    
                          leaf offset {
                            type uint32;
                            description
                              "Register Offset";
                          }
    
                          leaf value {
                            type uint32;
                            description
                              "Register Value";
                          }
                        }  // list iofpga_data
                      }  // list iofpga_register_number
                    }  // list iofpga_block_number
    
                    list iofpga_offset {
                      key "hex_offset";
                      config false;
                      description
                        "Register Offset Address";
                      leaf hex_offset {
                        type HexOffset;
                        description
                          "Register Hex Offset";
                      }
    
                      list iofpga_reg_offset_data {
                        description
                          "Register Offset Data";
                        leaf iofpga_reg_off_addr {
                          type uint32;
                          description
                            "Register Offset Address";
                        }
    
                        leaf reg_off_value {
                          type string;
                          description
                            "Register Offset Value";
                        }
                      }  // list iofpga_reg_offset_data
                    }  // list iofpga_offset
    
                    list iofpga_address {
                      key "start_hex_addr end_hex_addr";
                      config false;
                      description
                        "Register Range to fetch data";
                      leaf start_hex_addr {
                        type startHexOffset;
                        description
                          "Register Start Hex Address";
                      }
    
                      leaf end_hex_addr {
                        type endHexOffset;
                        description
                          "Register End Hex Address";
                      }
    
                      list iofpga_reg_range_addr_list {
                        key "iofpga_reg_range_addr";
                        description
                          "Register Range Hex Address";
                        leaf iofpga_reg_range_addr {
                          type uint32;
                          description
                            "Register Offset";
                        }
    
                        list iofpga_reg_data {
                          description
                            "Register Data";
                          leaf iofpga_reg_addr {
                            type uint32;
                            description
                              "Register Address";
                          }
    
                          leaf reg_value {
                            type string;
                            description
                              "Register Value";
                          }
                        }  // list iofpga_reg_data
                      }  // list iofpga_reg_range_addr_list
                    }  // list iofpga_address
                  }  // list register_location
                }  // container cpu
    
                container mb {
                  config false;
                  description
                    "Mother Board(MB)-IOFPGA Register information";
                  list register_location {
                    key "register_location";
                    config false;
                    description "Card location";
                    leaf register_location {
                      type string;
                      description "Location";
                    }
    
                    list iofpga_block_number {
                      key "iofpga_block_num";
                      config false;
                      description
                        "Register Group ID";
                      leaf iofpga_block_num {
                        type uint32;
                        description "GP";
                      }
    
                      leaf block_location {
                        type string;
                        description "Location";
                      }
    
                      leaf iofpga_block_nm {
                        type string;
                        description "Block NM";
                      }
    
                      list iofpga_register_number {
                        key "index";
                        description
                          "Register Number";
                        leaf index {
                          type uint32;
                          description
                            "Register IDX";
                        }
    
                        leaf iofpga_register_name {
                          type string;
                          description
                            "Register Name";
                        }
    
                        list iofpga_data {
                          description
                            "IOFPGA DATA";
                          leaf name {
                            type string;
                            description
                              "Register Name";
                          }
    
                          leaf offset {
                            type uint32;
                            description
                              "Register Offset";
                          }
    
                          leaf value {
                            type uint32;
                            description
                              "Register Value";
                          }
                        }  // list iofpga_data
                      }  // list iofpga_register_number
                    }  // list iofpga_block_number
    
                    list iofpga_offset {
                      key "hex_offset";
                      config false;
                      description
                        "Register Offset Address";
                      leaf hex_offset {
                        type HexOffset;
                        description
                          "Register Hex Offset";
                      }
    
                      list iofpga_reg_offset_data {
                        description
                          "Register Offset Data";
                        leaf iofpga_reg_off_addr {
                          type uint32;
                          description
                            "Register Offset Address";
                        }
    
                        leaf reg_off_value {
                          type string;
                          description
                            "Register Offset Value";
                        }
                      }  // list iofpga_reg_offset_data
                    }  // list iofpga_offset
    
                    list iofpga_address {
                      key "start_hex_addr end_hex_addr";
                      config false;
                      description
                        "Register Range to fetch data";
                      leaf start_hex_addr {
                        type startHexOffset;
                        description
                          "Register Start Hex Address";
                      }
    
                      leaf end_hex_addr {
                        type endHexOffset;
                        description
                          "Register End Hex Address";
                      }
    
                      list iofpga_reg_range_addr_list {
                        key "iofpga_reg_range_addr";
                        description
                          "Register Range Hex Address";
                        leaf iofpga_reg_range_addr {
                          type uint32;
                          description
                            "Register Offset";
                        }
    
                        list iofpga_reg_data {
                          description
                            "Register Data";
                          leaf iofpga_reg_addr {
                            type uint32;
                            description
                              "Register Address";
                          }
    
                          leaf reg_value {
                            type string;
                            description
                              "Register Value";
                          }
                        }  // list iofpga_reg_data
                      }  // list iofpga_reg_range_addr_list
                    }  // list iofpga_address
                  }  // list register_location
                }  // container mb
    
                container dc {
                  config false;
                  description
                    "Daughter Card(DC)-IOFPGA Register information";
                  list register_location {
                    key "register_location";
                    config false;
                    description "Card location";
                    leaf register_location {
                      type string;
                      description "Location";
                    }
    
                    list iofpga_block_number {
                      key "iofpga_block_num";
                      config false;
                      description
                        "Register Group ID";
                      leaf iofpga_block_num {
                        type uint32;
                        description "GP";
                      }
    
                      leaf block_location {
                        type string;
                        description "Location";
                      }
    
                      leaf iofpga_block_nm {
                        type string;
                        description "Block NM";
                      }
    
                      list iofpga_register_number {
                        key "index";
                        description
                          "Register Number";
                        leaf index {
                          type uint32;
                          description
                            "Register IDX";
                        }
    
                        leaf iofpga_register_name {
                          type string;
                          description
                            "Register Name";
                        }
    
                        list iofpga_data {
                          description
                            "IOFPGA DATA";
                          leaf name {
                            type string;
                            description
                              "Register Name";
                          }
    
                          leaf offset {
                            type uint32;
                            description
                              "Register Offset";
                          }
    
                          leaf value {
                            type uint32;
                            description
                              "Register Value";
                          }
                        }  // list iofpga_data
                      }  // list iofpga_register_number
                    }  // list iofpga_block_number
    
                    list iofpga_offset {
                      key "hex_offset";
                      config false;
                      description
                        "Register Offset Address";
                      leaf hex_offset {
                        type HexOffset;
                        description
                          "Register Hex Offset";
                      }
    
                      list iofpga_reg_offset_data {
                        description
                          "Register Offset Data";
                        leaf iofpga_reg_off_addr {
                          type uint32;
                          description
                            "Register Offset Address";
                        }
    
                        leaf reg_off_value {
                          type string;
                          description
                            "Register Offset Value";
                        }
                      }  // list iofpga_reg_offset_data
                    }  // list iofpga_offset
    
                    list iofpga_address {
                      key "start_hex_addr end_hex_addr";
                      config false;
                      description
                        "Register Range to fetch data";
                      leaf start_hex_addr {
                        type startHexOffset;
                        description
                          "Register Start Hex Address";
                      }
    
                      leaf end_hex_addr {
                        type endHexOffset;
                        description
                          "Register End Hex Address";
                      }
    
                      list iofpga_reg_range_addr_list {
                        key "iofpga_reg_range_addr";
                        description
                          "Register Range Hex Address";
                        leaf iofpga_reg_range_addr {
                          type uint32;
                          description
                            "Register Offset";
                        }
    
                        list iofpga_reg_data {
                          description
                            "Register Data";
                          leaf iofpga_reg_addr {
                            type uint32;
                            description
                              "Register Address";
                          }
    
                          leaf reg_value {
                            type string;
                            description
                              "Register Value";
                          }
                        }  // list iofpga_reg_data
                      }  // list iofpga_reg_range_addr_list
                    }  // list iofpga_address
                  }  // list register_location
                }  // container dc
              }  // container register
    
              container flash {
                config false;
                description
                  "IOFPGA SPI flash information";
                container info {
                  config false;
                  description
                    "IOFPGA SPI flash content";
                  list flash_location {
                    key "flash_location";
                    description
                      "Select Location";
                    leaf flash_location {
                      type calvados:location-id;
                      description
                        "IOFPGA Flash Location";
                    }
    
                    container iofpga_flash_info {
                      description
                        "IOFPGA Flash Information";
                      leaf-list iofpga_flash_info_values {
                        type string;
                        description
                          "IOFPGA Flash Information Values";
                      }
                    }  // container iofpga_flash_info
                  }  // list flash_location
                }  // container info
    
                container status {
                  config false;
                  description
                    "IOFPGA SPI flash status";
                  list flash_location {
                    key "flash_location";
                    description
                      "IOFPGA Flash Location";
                    leaf flash_location {
                      type calvados:location-id;
                      description
                        "IOFPGA Flash Location ID";
                    }
    
                    container iofpga_flash_status {
                      description
                        "IOFPGA Flash Status";
                      leaf-list iofpga_flash_status_values {
                        type string;
                        description
                          "IOFPGA Flash Status Values";
                      }
                    }  // container iofpga_flash_status
                  }  // list flash_location
                }  // container status
              }  // container flash
            }  // container iofpga
    
            container bootloader {
              config false;
              description
                "Bootloader information";
              container flash {
                config false;
                description
                  "Bootloader SPI flash information";
                container info {
                  config false;
                  description
                    "Bootloader SPI flash content";
                  list flash_location {
                    key "flash_location";
                    description
                      "Select Location";
                    leaf flash_location {
                      type calvados:location-id;
                      description "Location ID";
                    }
    
                    container bootldr_flash_info {
                      description
                        "Bootloader Flash Information";
                      leaf-list bootldr_flash_info_values {
                        type string;
                        description
                          "Bootloader Flash Information Values";
                      }
                    }  // container bootldr_flash_info
                  }  // list flash_location
                }  // container info
    
                container status {
                  config false;
                  description
                    "Bootloader SPI flash status";
                  list flash_location {
                    key "flash_location";
                    description
                      "Select Location";
                    leaf flash_location {
                      type calvados:location-id;
                      description "Location ID";
                    }
    
                    container bootldr_flash_status {
                      description
                        "Bootloader flash status";
                      leaf-list bootldr_flash_status_values {
                        type string;
                        description
                          "Bootloader Flash Status Values";
                      }
                    }  // container bootldr_flash_status
                  }  // list flash_location
                }  // container status
              }  // container flash
            }  // container bootloader
          }  // container card_mgr
        }  // container controller
      }  // module Cisco-IOS-XR-sysadmin-controllers-ncs5501
    

© 2023 YumaWorks, Inc. All rights reserved.