diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-09 14:31:48 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-10 10:26:59 +0100 |
commit | e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 (patch) | |
tree | 8bddb17c245e191be4d45a1f67c31ba2cdd0afc0 /op-mode-definitions/show-hardware.xml | |
parent | af2e707d0fc447b84699eb10928a71507e90a02e (diff) | |
download | vyos-1x-e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37.tar.gz vyos-1x-e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37.zip |
xml: op-mode: add preprocessor support as known from configuration mode
Diffstat (limited to 'op-mode-definitions/show-hardware.xml')
-rw-r--r-- | op-mode-definitions/show-hardware.xml | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/op-mode-definitions/show-hardware.xml b/op-mode-definitions/show-hardware.xml deleted file mode 100644 index c3ff3a60f..000000000 --- a/op-mode-definitions/show-hardware.xml +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0"?> -<interfaceDefinition> - <node name="show"> - <children> - <node name="hardware"> - <properties> - <help>Show system hardware details</help> - </properties> - <children> - <node name="cpu"> - <properties> - <help>Show CPU info</help> - </properties> - <command>lscpu</command> - <children> - <node name="detail"> - <properties> - <help> Show system CPU details</help> - </properties> - <command>cat /proc/cpuinfo</command> - </node> - <node name="summary"> - <properties> - <help>Show CPU's on system</help> - </properties> - <command>${vyos_op_scripts_dir}/cpu_summary.py</command> - </node> - </children> - </node> - <node name="dmi"> - <properties> - <help>Show system DMI details</help> - </properties> - <command>${vyatta_bindir}/vyatta-show-dmi</command> - </node> - <node name="mem"> - <properties> - <help>Show system RAM details</help> - </properties> - <command>cat /proc/meminfo</command> - </node> - <node name="pci"> - <properties> - <help>Show system PCI bus details</help> - </properties> - <command>lspci</command> - <children> - <node name="detail"> - <properties> - <help>Show verbose system PCI bus details</help> - </properties> - <command>lspci -vvv</command> - </node> - </children> - </node> - <node name="scsi"> - <properties> - <help>Show SCSI device information</help> - </properties> - <command>lsscsi</command> - <children> - <node name="detail"> - <properties> - <help>Show detailed SCSI device information</help> - </properties> - <command>lsscsi -vvv</command> - </node> - </children> - </node> - <node name="usb"> - <properties> - <help>Show peripherals connected to the USB bus</help> - </properties> - <command>/usr/bin/lsusb -t</command> - <children> - <node name="detail"> - <properties> - <help>Show detailed USB bus information</help> - </properties> - <command>/usr/bin/lsusb -v</command> - </node> - <leafNode name="serial"> - <properties> - <help>Show information about connected USB serial ports</help> - </properties> - <command>${vyos_op_scripts_dir}/show_usb_serial.py</command> - </leafNode> - </children> - </node> - </children> - </node> - </children> - </node> -</interfaceDefinition> |