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-hw-module { yang-version 1; namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-hw-module"; prefix calvados_hw_module; import Cisco-IOS-XR-sysadmin-sm-hw-mod { prefix shelf_mgr; } import Cisco-IOS-XR-sysadmin-led-mgr-ui { prefix led_mgr; } import Cisco-IOS-XR-sysadmin-fpd-infra-cli-shhwfpd { prefix shhwfpd; } import Cisco-IOS-XR-sysadmin-obfl-conf { prefix obflconf; } 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 'hw-module' commands for Sysadmin. Copyright (c) 2012-2020 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-15" { description "Establish semantic version baseline."; } revision "2017-01-31" { description "Changed the namespace and module name"; } revision "2012-07-03" { description "Created initial 'hw-module' refactorization"; } semver:module-version "1.0.0"; container hw-module { container config { container shutdown { list location { key "location"; leaf location { type calvados:location-id; mandatory true; } } // list location } // container shutdown container reset { container auto { container disable { list location { key "location"; leaf location { type calvados:location-id; mandatory true; } } // list location } // container disable } // container auto } // container reset container offline { list location { key "location"; leaf location { type calvados:location-id; mandatory true; } } // list location } // container offline container attention-led { list location { key "location"; leaf location { type string { pattern '([0-255])|((0?[0-9]|1[0-5])/(FC(0?[0-5])))|((0?[0-9]|1[0-5])/(RP(0?[0-1])))|((0?[0-9]|1[0-5])/(0?[0-9]|1[0-5])(/[1-3])?)|((F[0-3])/(FC(0?[0-9]|1[0-1])))|((F[0-3])/(SC(0?[0-1])))|(0?[0-9]/(SC(0?[0-1])))|(0?[0-9]/(FT(0?[0-2])))|(0?[0-9]/(PM(0?[0-9])))'; } mandatory true; } } // list location } // container attention-led list location { key "location"; leaf location { type string; } container logging { container onboard { choice onboard_target { leaf disable { type empty; } } // choice onboard_target } // container onboard } // container logging } // list location } // container config container oper { config false; list location { key "location"; leaf location { type string; } container actions { container cbootmedia { config false; list bootmedia { tailf:action "reload" { output { leaf "result" { type "string"; mandatory "true"; } } } key "bootmedium"; config false; leaf bootmedium { type string; } } // list bootmedia } // container cbootmedia } // container actions container show { } // container show } // list location } // container oper container shhwfpd { config false; list alocation { key "locs"; leaf locs { type string; } list fpd { key "fpdname"; leaf fpdname { type string; } leaf state { type string; description "Status"; } leaf hwver { type string; description "HWver"; } leaf fpdver { type string; description "FPD ver"; } leaf cardname { type string; description "Card type"; } leaf attr { type string; description "Attribute"; } leaf fpddnld { type string; description "FPD Programed"; } } // list fpd } // list alocation list fpd { key "fpdname"; leaf fpdname { type string; } } // list fpd } // container shhwfpd } // container hw-module } // module Cisco-IOS-XR-sysadmin-hw-module
© 2023 YumaWorks, Inc. All rights reserved.