Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F119062233
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/op-mode-definitions/show-version.xml.in b/op-mode-definitions/show-version.xml.in
index 8b7cc7e58..d9c4738af 100644
--- a/op-mode-definitions/show-version.xml.in
+++ b/op-mode-definitions/show-version.xml.in
@@ -1,39 +1,39 @@
<?xml version="1.0"?>
<interfaceDefinition>
<node name="show">
<children>
<node name="version">
<properties>
<help>Show system version information</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_version.py</command>
+ <command>sudo ${vyos_op_scripts_dir}/version.py show</command>
<children>
<leafNode name="funny">
<properties>
<help>Show system version and some fun stuff</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_version.py --funny</command>
+ <command>sudo ${vyos_op_scripts_dir}/version.py show --funny</command>
</leafNode>
<leafNode name="all">
<properties>
<help>Show system version and versions of all packages</help>
</properties>
<command>echo "Package versions:"; dpkg -l | cat</command>
</leafNode>
<leafNode name="frr">
<properties>
<help>Show Quagga version information</help>
</properties>
<command>vtysh -c "show version"</command>
</leafNode>
<leafNode name="kernel">
<properties>
<help>Show Linux Kernel version information</help>
</properties>
<command>uname -r</command>
</leafNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
diff --git a/src/op_mode/show_version.py b/src/op_mode/version.py
similarity index 100%
rename from src/op_mode/show_version.py
rename to src/op_mode/version.py
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 6, 6:27 AM (18 m, 40 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4629225
Default Alt Text
(1 KB)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment