summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2022-01-13 19:10:38 +0000
committerViacheslav <v.gletenko@vyos.io>2022-01-13 21:17:00 +0000
commitd63cabb18649149084bc3d385feaa20ddbb2f870 (patch)
treecedd582b82cbca692ab944caa9bf6bd268edbc5e /op-mode-definitions
parentb34c9664ba69cd4876a0c7c552b466035583e505 (diff)
downloadvyos-1x-d63cabb18649149084bc3d385feaa20ddbb2f870.tar.gz
vyos-1x-d63cabb18649149084bc3d385feaa20ddbb2f870.zip
op-mode: T4179: Add op-mode CLI show virtual-server
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-virtual-server.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/show-virtual-server.xml.in b/op-mode-definitions/show-virtual-server.xml.in
new file mode 100644
index 000000000..5dbd3c759
--- /dev/null
+++ b/op-mode-definitions/show-virtual-server.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="virtual-server">
+ <properties>
+ <help>Show virtual server information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/show_virtual_server.py</command>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>