Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server

This module contains definitions for the Calvados model objects. Copyright (c) 2012-2020 by Cisco Systems, Inc. All rights rese...

  • Version: 2020-10-06

    Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server@2020-10-06


    
      module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server";
    
        prefix fabric_fsdb;
    
        import tailf-common {
          prefix tailf;
        }
        import Cisco-IOS-XR-sysadmin-fabric-types {
          prefix fabric-types;
        }
        import Cisco-IOS-XR-sysadmin-show-trace {
          prefix show-trace;
        }
        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 definitions
    for the Calvados model objects.
    
    Copyright (c) 2012-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-10-06" {
          description
            "Added Plane ID info to FSDB PLA";
        }
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-04-09" {
          description
            "Required changes for ConfD 6.4.5";
        }
    
        revision "2017-05-01" {
          description
            "Namespace change to comply with Cisco guidelines on namespace";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        grouping link_port_show {
          list data_idx {
            key "port_data_idx";
            max-elements 1024;
            leaf port_data_idx {
              type int64;
            }
    
            leaf sfe_port {
              type string;
            }
    
            leaf admin-state {
              type string;
            }
    
            leaf oper_state {
              type string;
            }
    
            leaf near_end_cdr_ln {
              type string;
            }
    
            leaf near_end_cxp_ch {
              type string;
            }
    
            leaf far_end_cxp_ch {
              type string;
            }
    
            leaf far_end_cdr_ln {
              type string;
            }
    
            leaf neighbor_link {
              type string;
            }
    
            list history {
              key "history_idx";
              leaf history_idx {
                type int32;
              }
    
              leaf time_stamp {
                type string;
              }
    
              leaf admin-state {
                type string;
              }
    
              leaf oper_state {
                type string;
              }
    
              leaf error_state {
                type string;
              }
            }  // list history
          }  // list data_idx
        }  // grouping link_port_show
    
        grouping link_port_stats_show {
          list data_idx {
            key "port_data_idx";
            max-elements 1024;
            leaf port_data_idx {
              type int64;
            }
    
            leaf rack_num {
              type string;
            }
    
            leaf sfe_port {
              type string;
            }
    
            leaf TX_Control_cells_counter {
              type uint64;
            }
    
            leaf TX_Data_cell_counter {
              type uint64;
            }
    
            leaf TX_Data_byte_counter {
              type uint64;
            }
    
            leaf RX_CRC_errors_counter {
              type uint64;
            }
    
            leaf RX_LFEC_FEC_correctable_error {
              type uint64;
            }
    
            leaf RX_8b_10b_disparity_errors {
              type uint64;
            }
    
            leaf RX_Control_cells_counter {
              type uint64;
            }
    
            leaf RX_Data_cell_counter {
              type uint64;
            }
    
            leaf RX_Data_byte_counter {
              type uint64;
            }
    
            leaf RX_dropped_retransmitted_control {
              type uint64;
            }
    
            leaf TX_Asyn_fifo_rate {
              type uint64;
            }
    
            leaf RX_Asyn_fifo_rate {
              type uint64;
            }
    
            leaf RX_LFEC_FEC_uncorrectable_errors {
              type uint64;
            }
    
            leaf RX_8b_10b_code_errors {
              type uint64;
            }
    
            leaf is_link_error {
              type boolean;
              default "false";
            }
    
            leaf link_crc_error {
              type uint32;
            }
    
            leaf link_size_error {
              type uint32;
            }
    
            leaf link_mis_align_error {
              type uint32;
            }
    
            leaf link_code_group_error {
              type uint32;
            }
    
            leaf link_no_sig_lock_error {
              type uint32;
            }
    
            leaf link_no_sig_accept_error {
              type uint32;
            }
    
            leaf link_tokens_error {
              type uint32;
            }
    
            leaf error_token_count {
              type uint32;
            }
          }  // list data_idx
        }  // grouping link_port_stats_show
    
        grouping fabric_link_port_show_with_option {
          uses link_port_show;
    
          container brief {
            uses link_port_show;
          }  // container brief
    
          container detail {
            uses link_port_show;
          }  // container detail
        }  // grouping fabric_link_port_show_with_option
    
        grouping fabric_link_port_states {
          container state {
            container up {
              uses fabric_link_port_show_with_option;
            }  // container up
    
            container down {
              uses fabric_link_port_show_with_option;
            }  // container down
    
            container er {
              uses fabric_link_port_show_with_option;
            }  // container er
    
            container mismatch {
              uses fabric_link_port_show_with_option;
            }  // container mismatch
          }  // container state
        }  // grouping fabric_link_port_states
    
        grouping clear_link_port_statistics {
          tailf:action "clear_stats" {
            input;
            output;
          }
        }  // grouping clear_link_port_statistics
    
        grouping asic_status_show {
          list asic_list {
            key "asic_idx";
            leaf asic_idx {
              type int64;
            }
    
            leaf asic_loc_str {
              type string;
            }
    
            leaf admin-state {
              type string;
            }
    
            leaf oper_state {
              type string;
            }
    
            leaf down_flags {
              type string;
            }
    
            leaf fab_group {
              type string;
            }
    
            list history {
              key "history_idx";
              leaf history_idx {
                type int32;
              }
    
              leaf time_stamp {
                type string;
              }
    
              leaf admin-state {
                type string;
              }
    
              leaf oper_state {
                type string;
              }
    
              leaf error_state {
                type string;
              }
            }  // list history
          }  // list asic_list
        }  // grouping asic_status_show
    
        grouping fsdb_svr_trace {
          container fsdb_srvr {
            description
              "FSDB Server information";
            container fsdb_server {
              uses show-trace:traceable;
            }  // container fsdb_server
          }  // container fsdb_srvr
        }  // grouping fsdb_svr_trace
    
        grouping fsdb_pla_reachability_show {
          list planes {
            key "plane_idx";
            leaf plane_idx {
              type int32;
            }
    
            leaf plane_num {
              type int32;
            }
    
            leaf fabid_name {
              type string;
            }
    
            leaf show_fabid {
              type boolean;
            }
    
            leaf asic_stage {
              type string;
            }
    
            list cards {
              key "card_idx";
              leaf card_idx {
                type int32;
              }
    
              list asics {
                key "asic_idx";
                leaf asic_idx {
                  type int32;
                }
    
                leaf asic_RSA {
                  type string;
                }
    
                leaf reachability_mask {
                  type string;
                }
    
                leaf linkup_mask {
                  type string;
                }
    
                leaf all_reach_mask {
                  type string;
                }
    
                leaf total_links {
                  type int32;
                }
    
                leaf total_up_links {
                  type int32;
                }
    
                leaf total_all_reach_links {
                  type int32;
                }
    
                leaf asic_stage_name {
                  type fabric-types:sfe_stage_type;
                }
              }  // list asics
            }  // list cards
          }  // list planes
        }  // grouping fsdb_pla_reachability_show
    
        grouping fsdb_svr_clear {
          container link {
            description "Fabric link option";
            list rack {
              key "rack_number";
              leaf rack_number {
                type int32;
              }
    
              list port {
                key "portname";
                leaf portname {
                  type fabric-types:link_port_type;
                }
    
                leaf description {
                  type string;
                  default "port.";
                }
    
                list location {
                  key "loc_str";
                  leaf loc_str {
                    type fabric-types:link_port_location_type;
                  }
    
                  container statistics {
                    uses clear_link_port_statistics;
                  }  // container statistics
                }  // list location
    
                container statistics {
                  uses clear_link_port_statistics;
                }  // container statistics
              }  // list port
            }  // list rack
          }  // container link
        }  // grouping fsdb_svr_clear
    
        grouping fabric_link_state_and_statistics_show_w_loc {
          uses fabric_link_port_show_with_option;
    
          uses fabric_link_port_states;
    
          container statistics {
            uses link_port_stats_show;
    
            container brief {
              uses link_port_stats_show;
            }  // container brief
    
            container detail {
              uses link_port_stats_show;
            }  // container detail
          }  // container statistics
        }  // grouping fabric_link_state_and_statistics_show_w_loc
    
        grouping fabric_link_state_and_statistics_show {
          uses fabric_link_port_show_with_option;
    
          uses fabric_link_port_states;
    
          container statistics {
            uses link_port_stats_show;
    
            container brief {
              uses link_port_stats_show;
            }  // container brief
    
            container detail {
              uses link_port_stats_show;
            }  // container detail
          }  // container statistics
        }  // grouping fabric_link_state_and_statistics_show
    
        grouping fsdb_svr {
          container link {
            description "Fabric link option";
            list rack {
              key "rack_number";
              leaf rack_number {
                type int32;
              }
    
              list port {
                key "portname";
                leaf portname {
                  type fabric-types:link_port_type;
                }
    
                leaf description {
                  type string;
                  default "port.";
                }
    
                list location {
                  key "loc_str";
                  leaf loc_str {
                    type fabric-types:link_port_location_type;
                  }
    
                  container rx {
                    description "Rx link option";
                    uses fabric_link_state_and_statistics_show_w_loc;
                  }  // container rx
    
                  container tx {
                    description "Tx link option";
                    uses fabric_link_state_and_statistics_show_w_loc;
                  }  // container tx
                }  // list location
    
                container rx {
                  description "Rx link option";
                  uses fabric_link_state_and_statistics_show;
                }  // container rx
    
                container tx {
                  description "Tx link option";
                  uses fabric_link_state_and_statistics_show;
                }  // container tx
              }  // list port
            }  // list rack
    
            list node_location {
              key "node_str";
              leaf node_str {
                type string;
              }
            }  // list node_location
          }  // container link
    
          container sfe {
            description
              "Switch Fabric Element option";
            list rack {
              key "rack_number";
              leaf rack_number {
                type int32;
              }
    
              list asic_stages {
                key "asic_stage_name";
                leaf asic_stage_name {
                  type fabric-types:asic_stage_type;
                }
    
                list location {
                  key "loc_str";
                  leaf loc_str {
                    type fabric-types:asic_location_type;
                  }
    
                  uses asic_status_show;
    
                  container brief {
                    uses asic_status_show;
                  }  // container brief
    
                  container detail {
                    uses asic_status_show;
                  }  // container detail
                }  // list location
    
                uses asic_status_show;
    
                container brief {
                  uses asic_status_show;
                }  // container brief
    
                container detail {
                  uses asic_status_show;
                }  // container detail
              }  // list asic_stages
            }  // list rack
          }  // container sfe
    
          container fsdb_pla {
            description
              "plane availability status option";
            list rack {
              key "rack_number";
              description "Rack";
              leaf rack_number {
                type int32;
              }
    
              list asic_stages {
                key "asic_stage_idx";
                leaf asic_stage_idx {
                  type fabric-types:sfe_stage_type;
                }
    
                leaf asic_stage_name {
                  type fabric-types:sfe_stage_type;
                }
    
                leaf rack_number {
                  type string;
                }
    
                leaf plane_number {
                  type int32;
                }
    
                leaf plane_id {
                  type int32;
                }
    
                list fabids {
                  key "idx";
                  leaf idx {
                    type int32;
                  }
    
                  leaf fabid_address {
                    type string;
                  }
    
                  leaf plane_num {
                    type int32;
                  }
    
                  leaf plane_0_mask {
                    type string;
                  }
    
                  leaf plane_1_mask {
                    type string;
                  }
    
                  leaf plane_2_mask {
                    type string;
                  }
    
                  leaf plane_3_mask {
                    type string;
                  }
    
                  leaf plane_4_mask {
                    type string;
                  }
    
                  leaf plane_5_mask {
                    type string;
                  }
    
                  leaf min_links_per_asic {
                    type int32;
                  }
    
                  leaf max_links_per_asic {
                    type int32;
                  }
    
                  leaf total_links {
                    type int32;
                  }
    
                  leaf min_up_links_per_asic {
                    type int32;
                  }
    
                  leaf max_up_links_per_asic {
                    type int32;
                  }
    
                  leaf total_up_links {
                    type int32;
                  }
                }  // list fabids
    
                list down_fabids {
                  key "idx";
                  leaf idx {
                    type int32;
                  }
    
                  leaf fabid_address {
                    type string;
                  }
    
                  leaf fabid_status {
                    type string;
                  }
                }  // list down_fabids
    
                list destination {
                  key "amba_id";
                  leaf amba_id {
                    type fabric-types:fabric_fabid_type;
                  }
    
                  uses fsdb_pla_reachability_show;
                }  // list destination
              }  // list asic_stages
            }  // list rack
          }  // container fsdb_pla
    
          uses fsdb_svr_trace;
        }  // grouping fsdb_svr
      }  // module Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server
    

© 2023 YumaWorks, Inc. All rights reserved.