summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-07 22:49:02 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-07 22:49:04 +0200
commitdec99e036a466fbdba2faa17002707b920933db3 (patch)
tree0f6d5edf8af6119848360052870d09d66e64e8b4 /op-mode-definitions
parentcfeebf30947f70d92ea24bd5962b3092f7db8341 (diff)
downloadvyos-1x-dec99e036a466fbdba2faa17002707b920933db3.tar.gz
vyos-1x-dec99e036a466fbdba2faa17002707b920933db3.zip
op-mode: T2558: version: split out CPU info
Instead of using "show version" as catch-all command for information rather add "show system cpu" op-mode command which is analogous to "show system memory" which deals with RAM.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-system.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-system.xml b/op-mode-definitions/show-system.xml
index b7f56ae20..a39d9b481 100644
--- a/op-mode-definitions/show-system.xml
+++ b/op-mode-definitions/show-system.xml
@@ -49,6 +49,12 @@
</node>
</children>
</node>
+ <leafNode name="cpu">
+ <properties>
+ <help>Show CPU information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/show_cpu.py</command>
+ </leafNode>
<leafNode name= "integrity">
<properties>
<help>Checks overall system integrity</help>