summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-reverse-proxy.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-05-23 08:31:21 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-05-25 08:29:58 +0000
commitfff8189d214f7f29a9dcf11a3972a0371f1616bc (patch)
tree9e8d2d42a74768b7c4cd5916b0b9f1b5071cbaff /op-mode-definitions/show-reverse-proxy.xml.in
parenta32792a6fb92b0ac10c4f48b04babf48db3c944f (diff)
downloadvyos-1x-fff8189d214f7f29a9dcf11a3972a0371f1616bc.tar.gz
vyos-1x-fff8189d214f7f29a9dcf11a3972a0371f1616bc.zip
T5231: Add op-mode for show reverse-proxy
Add op-mode CLI for reverse-proxy "show reverse-proxy" Ability to get JSON and formatted output
Diffstat (limited to 'op-mode-definitions/show-reverse-proxy.xml.in')
-rw-r--r--op-mode-definitions/show-reverse-proxy.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/show-reverse-proxy.xml.in b/op-mode-definitions/show-reverse-proxy.xml.in
new file mode 100644
index 000000000..ed0fee843
--- /dev/null
+++ b/op-mode-definitions/show-reverse-proxy.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="reverse-proxy">
+ <properties>
+ <help>Show load-balancing reverse-proxy</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/reverseproxy.py show</command>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>