summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-14 20:31:35 +0100
committerGitHub <noreply@github.com>2022-01-14 20:31:35 +0100
commit6e8a8934a7d4e1b21d7c828e372303683b499b56 (patch)
tree1e525f1ab44a5e9afe0400d9e3854ced11b34d89 /op-mode-definitions
parent9aa8e51de06bda0099231f2567dbb83e430faee4 (diff)
parentd63cabb18649149084bc3d385feaa20ddbb2f870 (diff)
downloadvyos-1x-6e8a8934a7d4e1b21d7c828e372303683b499b56.tar.gz
vyos-1x-6e8a8934a7d4e1b21d7c828e372303683b499b56.zip
Merge pull request #1164 from sever-sever/T4179
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>