This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. This module defines the top leve...
Version: 2019-04-15
module Cisco-IOS-XR-sysadmin-clear-ncs5500 { yang-version 1; namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-clear-ncs5500"; prefix calvados_clear; import tailf-common { prefix tailf; } import Cisco-IOS-XR-sysadmin-ethsw-esdma-cli-ncs5500 { prefix esdma; } import Cisco-IOS-XR-sysadmin-asic-errors-ael { prefix aelclear; } import Cisco-IOS-XR-sysadmin-fabric-ncs5500 { prefix fabric; } 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 'clear' commands for Sysadmin. Copyright (c) 2015-2020 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-15" { description "Establish semantic version baseline."; } revision "2019-01-30" { description "Changed the namespace to be consistent with module name"; } 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 "2015-03-20" { description "Created initial 'clear' implementation for Fretta"; } semver:module-version "1.0.0"; container clear { container controller { container switch { container oper { config false; description "Control Ethernet switch operational data."; container fdb { list location { tailf:action "all" { output { leaf "result" { type "string"; mandatory "true"; } } } key "rack card switch-id"; leaf rack { type esdma_types:esdma-rack-num-enum; } leaf card { type esdma_types:esdma-cpu; } leaf switch-id { type esdma_types:esdma-switch-type-enum; } } // list location } // container fdb container statistics { list location { tailf:action "all" { output { leaf "result" { type "string"; mandatory "true"; } } } key "rack card switch-id"; leaf rack { type esdma_types:esdma-rack-num-enum; } leaf card { type esdma_types:esdma-cpu; } leaf switch-id { type esdma_types:esdma-switch-type-enum; } } // list location } // container statistics } // container oper } // container switch container fabric { description "Fabric resource commands"; container counter { config false; list plane { tailf:action "clear_counter" { input; output; } tailf:action "clear_stats" { input; output; } key "planeid"; leaf planeid { type fabric-types:plane_type; } } // list plane } // container counter container clear_statistics { config false; list plane { tailf:action "clear_counter" { input; output; } tailf:action "clear_stats" { input; output; } key "planeid"; leaf planeid { type fabric-types:plane_type; } } // list plane } // container clear_statistics } // container fabric } // container controller container clear-asic-errors-grp { list clear-device { key "device-name"; config false; leaf device-name { type string; } list instance { key "instance-num"; leaf instance-num { type uint32; } container sbe { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container sbe container mbe { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container mbe container parity { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container parity container generic { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container generic container crc { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container crc container reset { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container reset container barrier { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container barrier container unexpected { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container unexpected container link { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container link container oor-thresh { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container oor-thresh container bp { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container bp container io { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container io container ucode { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container ucode container config { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container config container indirect { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container indirect container nonerr { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container nonerr container summary { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container summary container all { container save-all-inst-asic-errors { list location { key "location-name"; leaf location-name { type calvados:location-id; } list log-lst { leaf log-line { type string; } } // list log-lst } // list location } // container save-all-inst-asic-errors container history { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container history list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container all } // list instance container all-instances { container sbe { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container sbe container mbe { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container mbe container parity { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container parity container generic { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container generic container crc { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container crc container reset { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container reset container barrier { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container barrier container unexpected { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container unexpected container link { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container link container oor-thresh { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container oor-thresh container bp { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container bp container io { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container io container ucode { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container ucode container config { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container config container indirect { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container indirect container nonerr { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container nonerr container summary { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container summary container all { container save-all-inst-asic-errors { list location { key "location-name"; leaf location-name { type calvados:location-id; } list log-lst { leaf log-line { type string; } } // list log-lst } // list location } // container save-all-inst-asic-errors container history { list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container history list location { key "location-name"; leaf location-name { type calvados:location-id; } } // list location } // container all } // container all-instances } // list clear-device } // container clear-asic-errors-grp } // container clear } // module Cisco-IOS-XR-sysadmin-clear-ncs5500
© 2023 YumaWorks, Inc. All rights reserved.