From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/vrrp.xml.in | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 op-mode-definitions/vrrp.xml.in (limited to 'op-mode-definitions/vrrp.xml.in') diff --git a/op-mode-definitions/vrrp.xml.in b/op-mode-definitions/vrrp.xml.in new file mode 100644 index 000000000..856fb440d --- /dev/null +++ b/op-mode-definitions/vrrp.xml.in @@ -0,0 +1,37 @@ + + + + + + + Show VRRP (Virtual Router Redundancy Protocol) information + + sudo ${vyos_op_scripts_dir}/vrrp.py --summary + + + + Show VRRP statistics + + sudo ${vyos_op_scripts_dir}/vrrp.py --statistics + + + + Show detailed VRRP state information + + sudo ${vyos_op_scripts_dir}/vrrp.py --data + + + + + + + + + + Restart the VRRP (Virtual Router Redundancy Protocol) process + + sudo systemctl restart keepalived.service + + + + -- cgit v1.2.3