diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-10-09 14:55:11 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-10-09 15:55:15 +0200 |
commit | 90a4827284acd3cb072cdfeef323c522802c6449 (patch) | |
tree | b3ad73ea86bab0f5486b5daf2403d12ab95df0df /op-mode-definitions/load-balacing_haproxy.in | |
parent | 3bc900722892dba525b7cd6bada4e6327b01fffe (diff) | |
download | vyos-1x-90a4827284acd3cb072cdfeef323c522802c6449.tar.gz vyos-1x-90a4827284acd3cb072cdfeef323c522802c6449.zip |
haproxy: T6745: Rename `reverse-proxy` to `haproxy`
Diffstat (limited to 'op-mode-definitions/load-balacing_haproxy.in')
-rw-r--r-- | op-mode-definitions/load-balacing_haproxy.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/op-mode-definitions/load-balacing_haproxy.in b/op-mode-definitions/load-balacing_haproxy.in new file mode 100644 index 000000000..c3d6c799b --- /dev/null +++ b/op-mode-definitions/load-balacing_haproxy.in @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="restart"> + <children> + <node name="haproxy"> + <properties> + <help>Restart haproxy service</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/restart.py restart_service --name haproxy</command> + </node> + </children> + </node> + <node name="show"> + <children> + <node name="haproxy"> + <properties> + <help>Show load-balancing haproxy</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/load-balacing_haproxy.py show</command> + </node> + </children> + </node> +</interfaceDefinition> |