Focus
Focus
Table of Contents

Manage Platform

Getting started using the openconfig-platform standard data model.

Retrieving Platform Information

This example gNMI call retrieves platform information for a PA-3260 firewall.
gnmic -a 10.1.1.1:9339 -u admin -p password --skip-verify -e JSON_IETF --timeout 300s get --path /components
The following is a truncated response from that firewall:
[ { "timestamp": 1619027490856876012, "time": "2021-04-21T10:51:30.856876012-07:00", "updates": [ { "Path": "components", "values": { "components": { "component": [ { "config": { "name": "/" }, "openconfig-platform:name": "/", "openconfig-platform:properties": { "property": [ { "config": { "name": "filesystem", "value": "/dev/sda2" }, "name": "filesystem", "state": { "configurable": false, "name": "filesystem", "value": "/dev/sda2" } }, { "config": { "name": "mount-point", "value": "/" }, "name": "mount-point", "state": { "configurable": false, "name": "mount-point", "value": "/" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "memory": { "available": "20401094656", "utilized": "6012954214" }, "mfg-name": "", "name": "/", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:STORAGE" } }, { "config": { "name": "/cgroup" }, "openconfig-platform:name": "/cgroup", "openconfig-platform:properties": { "property": [ { "config": { "name": "filesystem", "value": "cgroup_root" }, "name": "filesystem", "state": { "configurable": false, "name": "filesystem", "value": "cgroup_root" } }, { "config": { "name": "mount-point", "value": "/cgroup" }, "name": "mount-point", "state": { "configurable": false, "name": "mount-point", "value": "/cgroup" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "memory": { "available": "8267812044", "utilized": "0" }, "mfg-name": "", "name": "/cgroup", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:STORAGE" } }, { "config": { "name": "/dev" }, "openconfig-platform:name": "/dev", "openconfig-platform:properties": { "property": [ { "config": { "name": "filesystem", "value": "none" }, "name": "filesystem", "state": { "configurable": false, "name": "filesystem", "value": "none" } }, { "config": { "name": "mount-point", "value": "/dev" }, "name": "mount-point", "state": { "configurable": false, "name": "mount-point", "value": "/dev" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "memory": { "available": "8267812044", "utilized": "61440" }, "mfg-name": "", "name": "/dev", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:STORAGE" } }, { "config": { "name": "/dev/shm" }, "openconfig-platform:name": "/dev/shm", "openconfig-platform:properties": { "property": [ { "config": { "name": "filesystem", "value": "tmpfs" }, "name": "filesystem", "state": { "configurable": false, "name": "filesystem", "value": "tmpfs" } }, { "config": { "name": "mount-point", "value": "/dev/shm" }, "name": "mount-point", "state": { "configurable": false, "name": "mount-point", "value": "/dev/shm" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "memory": { "available": "8267812044", "utilized": "299892736" }, "mfg-name": "", "name": "/dev/shm", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:STORAGE" } }, { "config": { "name": "/opt/pancfg" }, "openconfig-platform:name": "/opt/pancfg", "openconfig-platform:properties": { "property": [ { "config": { "name": "filesystem", "value": "/dev/sda5" }, "name": "filesystem", "state": { "configurable": false, "name": "filesystem", "value": "/dev/sda5" } }, { "config": { "name": "mount-point", "value": "/opt/pancfg" }, "name": "mount-point", "state": { "configurable": false, "name": "mount-point", "value": "/opt/pancfg" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "memory": { "available": "40802189312", "utilized": "4509715660" }, "mfg-name": "", "name": "/opt/pancfg", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:STORAGE" } }, { "config": { "name": "/opt/panlogs" }, "openconfig-platform:name": "/opt/panlogs", "openconfig-platform:properties": { "property": [ { "config": { "name": "filesystem", "value": "/dev/sda8" }, "name": "filesystem", "state": { "configurable": false, "name": "filesystem", "value": "/dev/sda8" } }, { "config": { "name": "mount-point", "value": "/opt/panlogs" }, "name": "mount-point", "state": { "configurable": false, "name": "mount-point", "value": "/opt/panlogs" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "memory": { "available": "135291469824", "utilized": "1395864371" }, "mfg-name": "", "name": "/opt/panlogs", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:STORAGE" } }, { "config": { "name": "/opt/panrepo" }, "openconfig-platform:name": "/opt/panrepo", "openconfig-platform:properties": { "property": [ { "config": { "name": "filesystem", "value": "/dev/sda6" }, "name": "filesystem", "state": { "configurable": false, "name": "filesystem", "value": "/dev/sda6" } }, { "config": { "name": "mount-point", "value": "/opt/panrepo" }, "name": "mount-point", "state": { "configurable": false, "name": "mount-point", "value": "/opt/panrepo" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "memory": { "available": "20401094656", "utilized": "11811160064" }, "mfg-name": "", "name": "/opt/panrepo", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:STORAGE" } }, { "config": { "name": "Fan #1 RPM" }, "openconfig-platform:name": "Fan #1 RPM", "openconfig-platform:properties": { "property": [ { "config": { "name": "RPMs", "value": "2290" }, "name": "RPMs", "state": { "configurable": false, "name": "RPMs", "value": "2290" } }, { "config": { "name": "min", "value": "1000" }, "name": "min", "state": { "configurable": false, "name": "min", "value": "1000" } } ] }, "state": { "allocated-power": 0, "description": "Fan #1 RPM", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Fan #1 RPM", "parent": "Slot1", "removable": true, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:FAN" } }, { "config": { "name": "Fan #2 RPM" }, "openconfig-platform:name": "Fan #2 RPM", "openconfig-platform:properties": { "property": [ { "config": { "name": "RPMs", "value": "2330" }, "name": "RPMs", "state": { "configurable": false, "name": "RPMs", "value": "2330" } }, { "config": { "name": "min", "value": "1000" }, "name": "min", "state": { "configurable": false, "name": "min", "value": "1000" } } ] }, "state": { "allocated-power": 0, "description": "Fan #2 RPM", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Fan #2 RPM", "parent": "Slot1", "removable": true, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:FAN" } }, { "config": { "name": "Fan #3 RPM" }, "openconfig-platform:name": "Fan #3 RPM", "openconfig-platform:properties": { "property": [ { "config": { "name": "RPMs", "value": "2274" }, "name": "RPMs", "state": { "configurable": false, "name": "RPMs", "value": "2274" } }, { "config": { "name": "min", "value": "1000" }, "name": "min", "state": { "configurable": false, "name": "min", "value": "1000" } } ] }, "state": { "allocated-power": 0, "description": "Fan #3 RPM", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Fan #3 RPM", "parent": "Slot1", "removable": true, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:FAN" } }, { "config": { "name": "Fan Tray" }, "openconfig-platform:name": "Fan Tray", "state": { "allocated-power": 0, "description": "Fan Tray", "empty": true, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Fan Tray", "parent": "Slot1", "removable": true, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:FAN" } }, { "config": { "name": "Power Supply #1 (left)" }, "openconfig-platform:name": "Power Supply #1 (left)", "state": { "allocated-power": 0, "description": "Power Supply #1 (left)", "empty": true, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Power Supply #1 (left)", "parent": "Slot1", "removable": true, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:POWER_SUPPLY" } }, { "config": { "name": "Power Supply #2 (right)" }, "openconfig-platform:name": "Power Supply #2 (right)", "state": { "allocated-power": 0, "description": "Power Supply #2 (right)", "empty": true, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Power Supply #2 (right)", "parent": "Slot1", "removable": true, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:POWER_SUPPLY" } }, { "config": { "name": "Slot0" }, "openconfig-platform:name": "Slot0", "openconfig-platform:subcomponents": { "subcomponent": [ { "config": { "name": "Slot0ΛTemperature: Broadwell MP Core" }, "name": "Slot0ΛTemperature: Broadwell MP Core", "state": { "name": "Slot0ΛTemperature: Broadwell MP Core" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "0", "location": "", "mfg-name": "", "name": "Slot0", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:LINECARD" } }, { "config": { "name": "Slot0ΛTemperature: Broadwell MP Core" }, "openconfig-platform:name": "Slot0ΛTemperature: Broadwell MP Core", "state": { "allocated-power": 0, "description": "Temperature: Broadwell MP Core", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot0ΛTemperature: Broadwell MP Core", "parent": "Slot0", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "29.8", "max": "70", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "Slot1" }, "openconfig-platform:name": "Slot1", "openconfig-platform:subcomponents": { "subcomponent": [ { "config": { "name": "Fan Tray" }, "name": "Fan Tray", "state": { "name": "Fan Tray" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "1", "location": "", "mfg-name": "", "name": "Slot1", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:LINECARD" } }, { "config": { "name": "Slot1ΛTemperature @ Front Left[U62]" }, "openconfig-platform:name": "Slot1ΛTemperature @ Front Left[U62]", "state": { "allocated-power": 0, "description": "Temperature @ Front Left[U62]", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot1ΛTemperature @ Front Left[U62]", "parent": "Slot1", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "32.5", "max": "70", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "Slot1ΛTemperature @ Front Right[U101]" }, "openconfig-platform:name": "Slot1ΛTemperature @ Front Right[U101]", "state": { "allocated-power": 0, "description": "Temperature @ Front Right[U101]", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot1ΛTemperature @ Front Right[U101]", "parent": "Slot1", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "26.5", "max": "70", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "Slot1ΛTemperature @ Rear Left[U54]" }, "openconfig-platform:name": "Slot1ΛTemperature @ Rear Left[U54]", "state": { "allocated-power": 0, "description": "Temperature @ Rear Left[U54]", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot1ΛTemperature @ Rear Left[U54]", "parent": "Slot1", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "37.5", "max": "70", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "Slot1ΛTemperature @ Rear Right[U121]" }, "openconfig-platform:name": "Slot1ΛTemperature @ Rear Right[U121]", "state": { "allocated-power": 0, "description": "Temperature @ Rear Right[U121]", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot1ΛTemperature @ Rear Right[U121]", "parent": "Slot1", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "33.4", "max": "70", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "Slot1ΛTemperature: 73XX DP Core" }, "openconfig-platform:name": "Slot1ΛTemperature: 73XX DP Core", "state": { "allocated-power": 0, "description": "Temperature: 73XX DP Core", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot1ΛTemperature: 73XX DP Core", "parent": "Slot1", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "66", "max": "85", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "Slot1ΛTemperature: FE100 Core" }, "openconfig-platform:name": "Slot1ΛTemperature: FE100 Core", "state": { "allocated-power": 0, "description": "Temperature: FE100 Core", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot1ΛTemperature: FE100 Core", "parent": "Slot1", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "43", "max": "70", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "Slot1ΛTemperature: Qumran Switch Core" }, "openconfig-platform:name": "Slot1ΛTemperature: Qumran Switch Core", "state": { "allocated-power": 0, "description": "Temperature: Qumran Switch Core", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "Slot1ΛTemperature: Qumran Switch Core", "parent": "Slot1", "removable": false, "serial-no": "", "software-version": "", "temperature": { "alarm-status": false, "instant": "48", "max": "70", "min": "-5" }, "type": "openconfig-platform-types:CPU" } }, { "config": { "name": "chassis" }, "openconfig-platform:name": "chassis", "openconfig-platform:subcomponents": { "subcomponent": [ { "config": { "name": "/" }, "name": "/", "state": { "name": "/" } }, { "config": { "name": "/cgroup" }, "name": "/cgroup", "state": { "name": "/cgroup" } }, { "config": { "name": "/dev" }, "name": "/dev", "state": { "name": "/dev" } }, { "config": { "name": "/dev/shm" }, "name": "/dev/shm", "state": { "name": "/dev/shm" } }, { "config": { "name": "/opt/pancfg" }, "name": "/opt/pancfg", "state": { "name": "/opt/pancfg" } }, { "config": { "name": "/opt/panlogs" }, "name": "/opt/panlogs", "state": { "name": "/opt/panlogs" } }, { "config": { "name": "/opt/panrepo" }, "name": "/opt/panrepo", "state": { "name": "/opt/panrepo" } }, { "config": { "name": "Slot0" }, "name": "Slot0", "state": { "name": "Slot0" } }, { "config": { "name": "Slot1" }, "name": "Slot1", "state": { "name": "Slot1" } }, { "config": { "name": "ethernet1/1" }, "name": "ethernet1/1", "state": { "name": "ethernet1/1" } } ...Truncated { "config": { "name": "operating-system" }, "name": "operating-system", "state": { "name": "operating-system" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "PA-3260", "id": "", "location": "", "memory": { "available": "16089676", "utilized": "3302108" }, "mfg-name": "paloalto", "name": "chassis", "removable": false, "serial-no": "016401005850", "software-version": "", "type": "openconfig-platform-types:CHASSIS" } }, { "config": { "name": "ethernet1/1" }, "openconfig-platform:name": "ethernet1/1", "openconfig-platform:properties": { "property": [ { "config": { "name": "ethernet-duplex", "value": "ukn" }, "name": "ethernet-duplex", "state": { "configurable": false, "name": "ethernet-duplex", "value": "ukn" } }, { "config": { "name": "ethernet-speed", "value": "ukn" }, "name": "ethernet-speed", "state": { "configurable": false, "name": "ethernet-speed", "value": "ukn" } }, { "config": { "name": "mac-address", "value": "34:e5:ec:76:b8:40" }, "name": "mac-address", "state": { "configurable": false, "name": "mac-address", "value": "34:e5:ec:76:b8:40" } }, { "config": { "name": "paloalto-iface-type", "value": "0" }, "name": "paloalto-iface-type", "state": { "configurable": false, "name": "paloalto-iface-type", "value": "0" } }, { "config": { "name": "state", "value": "down" }, "name": "state", "state": { "configurable": false, "name": "state", "value": "down" } } ] }, "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "64", "location": "", "mfg-name": "", "name": "ethernet1/1", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "", "type": "openconfig-platform-types:PORT" } }, ...Truncated { "config": { "name": "operating-system" }, "openconfig-platform:name": "operating-system", "state": { "allocated-power": 0, "description": "", "empty": false, "equipment-failure": false, "equipment-mismatch": false, "firmware-version": "", "hardware-version": "", "id": "", "location": "", "mfg-name": "", "name": "operating-system", "parent": "chassis", "removable": false, "serial-no": "", "software-version": "10.1.0-b16", "type": "openconfig-platform-types:OPERATING_SYSTEM" } } ] } } } ] } ]