diff options
author | John Estabrook <jestabro@vyos.io> | 2022-07-20 15:32:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 15:32:59 -0500 |
commit | f424d84f41791949a2ada417ecdd45a3b842799a (patch) | |
tree | 95e26bd89b6829493c0f5cef21616c523a0caa20 /op-mode-definitions/show-hardware.xml.in | |
parent | 38d753f830887c35abe4fbcf1bb73b6f26be1fdf (diff) | |
parent | f9e835c41643f8d41f675c0364686fbea5055896 (diff) | |
download | vyos-1x-f424d84f41791949a2ada417ecdd45a3b842799a.tar.gz vyos-1x-f424d84f41791949a2ada417ecdd45a3b842799a.zip |
Merge pull request #1351 from dmbaturin/genop
T2719: prototype of an op mode command runner based on type hints and introspection
Diffstat (limited to 'op-mode-definitions/show-hardware.xml.in')
-rw-r--r-- | op-mode-definitions/show-hardware.xml.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/op-mode-definitions/show-hardware.xml.in b/op-mode-definitions/show-hardware.xml.in index 20fdd753d..ebd806ba5 100644 --- a/op-mode-definitions/show-hardware.xml.in +++ b/op-mode-definitions/show-hardware.xml.in @@ -9,21 +9,21 @@ <children> <node name="cpu"> <properties> - <help>Show CPU info</help> + <help>Show CPU informaion</help> </properties> - <command>lscpu</command> + <command>${vyos_op_scripts_dir}/cpu.py show</command> <children> <node name="detail"> <properties> - <help> Show system CPU details</help> + <help>Show system CPU details</help> </properties> <command>cat /proc/cpuinfo</command> </node> <node name="summary"> <properties> - <help>Show system CPUs</help> + <help>Show system CPUs summary</help> </properties> - <command>${vyos_op_scripts_dir}/cpu_summary.py</command> + <command>${vyos_op_scripts_dir}/cpu.py show_summary</command> </node> </children> </node> |