Cisco-IOS-XE-device-hardware-oper

YANG Data Model Tree Structure

View YANG Source on GitHub →

📚 API Documentation & Navigation

📄 Swagger API Spec 📂 Browse Operational State APIs 🌳 All Trees

📋 Module Metadata

Namespace: http://cisco.com/ns/yang/Cisco-IOS-XE-device-hardware-oper

Prefix: device_hardware

Related Modules:
Cisco-IOS-XE-aaa-oper
Cisco-IOS-XE-acl-oper
Cisco-IOS-XE-app-cflowd-oper
Cisco-IOS-XE-app-hosting-oper
Cisco-IOS-XE-appqoe-http-oper

💡 Example Usage

# GET operational data
curl -X GET \
  -H "Accept: application/yang-data+json" \
  -u admin:password \
  --insecure \
  https://device-ip/restconf/data/Cisco-IOS-XE-device-hardware-oper

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌐 DevNet Guide
module: Cisco-IOS-XE-device-hardware-oper
  +--ro device-hardware-data
     +--ro entity-information* [fru slotnum baynum chassisnum]
     |  +--ro fru                        device-hardware-xe-oper:b-fru
     |  +--ro slotnum                    int16
     |  +--ro baynum                     int16
     |  +--ro chassisnum                 int16
     |  +--ro physical-index?            uint32
     |  +--ro status?                    device-hardware-xe-oper:module-status
     |  +--ro description?               string
     |  +--ro status-last-change?        yang:date-and-time
     |  +--ro high-availability-state?   device-hardware-xe-oper:high-availability-role
     |  +--ro chassis-state?             device-hardware-xe-oper:high-availability-role
     |  +--ro rommon-entry* [var-name]
     |  |  +--ro var-name     string
     |  |  +--ro var-value?   string
     |  +--ro cr-info
     |     +--ro cr?            device-hardware-xe-oper:config-register-bits
     |     +--ro cr-next?       device-hardware-xe-oper:config-register-bits
     |     +--ro cr-hex?        yang:hex-string
     |     +--ro cr-next-hex?   yang:hex-string
     +--ro device-hardware!
        +--ro device-inventory* [hw-type hw-dev-index]
        |  +--ro hw-type              device-hardware-xe-oper:hw-type
        |  +--ro hw-dev-index         uint32
        |  +--ro version?             string
        |  +--ro part-number?         string
        |  +--ro serial-number?       string
        |  +--ro hw-description?      string
        |  +--ro dev-name?            string
        |  +--ro field-replaceable?   boolean
        |  +--ro hw-class?            device-hardware-xe-oper:hw-category
        |  +--ro (hw-type-discr-choice)?
        |     +--:(hw-type-ssd)
        |        +--ro lifetime?      uint16
        +--ro device-alarm* [alarm-id alarm-instance]
        |  +--ro alarm-id             uint32
        |  +--ro alarm-instance       uint32
        |  +--ro alarm-name?          string
        |  +--ro alarm-category?      device-hardware-xe-oper:alarm-severity
        |  +--ro alarm-time?          yang:date-and-time
        |  +--ro alarm-description?   string
        +--ro device-system-data!
           +--ro current-time?             yang:date-and-time
           +--ro boot-time?                yang:date-and-time
           +--ro software-version?         string
           +--ro rommon-version?           string
           +--ro last-reboot-reason?       string
           +--ro reason-severity?          device-hardware-xe-oper:reboot-reason-type
           +--ro unsaved-config?           boolean
           +--ro reload-history-support?   empty
           +--ro reload-history
           |  +--ro rl-history* []
           |  |  +--ro reload-category?   device-hardware-xe-oper:reload-category
           |  |  +--ro reload-desc?       string
           |  |  +--ro reload-time?       yang:date-and-time
           |  |  +--ro reload-severity?   device-hardware-xe-oper:reboot-reason-type
           |  |  +--ro sw-ver?            string
           |  |  +--ro ha-role?           device-hardware-xe-oper:high-availability-role
           |  |  +--ro crash-data-file?   string
           |  +--ro fru-type?     device-hardware-xe-oper:b-fru
           |  +--ro fru-id?       int16
           +--ro mac-address?              yang:mac-address
           +--ro cloud-id-supported?       empty
           +--ro cloud-id?                 string