summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vrrp.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-07-30 00:33:13 +0700
committerGitHub <noreply@github.com>2018-07-30 00:33:13 +0700
commit08016dc01b83dd3a3a1be3350a8e5669fee9db14 (patch)
tree9367200cde712f8b2167ca1f3c4c91426474cc63 /op-mode-definitions/vrrp.xml
parent0fdfe533cd2bad844b1c0cd98c62a7e1866c481c (diff)
parent1c0b7ede177e97c4b4e6ad5e9e13bec56f233bb5 (diff)
downloadvyos-1x-08016dc01b83dd3a3a1be3350a8e5669fee9db14.tar.gz
vyos-1x-08016dc01b83dd3a3a1be3350a8e5669fee9db14.zip
Merge branch 'current' into current
Diffstat (limited to 'op-mode-definitions/vrrp.xml')
-rw-r--r--op-mode-definitions/vrrp.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/op-mode-definitions/vrrp.xml b/op-mode-definitions/vrrp.xml
new file mode 100644
index 000000000..856fb440d
--- /dev/null
+++ b/op-mode-definitions/vrrp.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="vrrp">
+ <properties>
+ <help>Show VRRP (Virtual Router Redundancy Protocol) information</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/vrrp.py --summary</command>
+ <children>
+ <node name="statistics">
+ <properties>
+ <help>Show VRRP statistics</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/vrrp.py --statistics</command>
+ </node>
+ <node name="detail">
+ <properties>
+ <help>Show detailed VRRP state information</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/vrrp.py --data</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="restart">
+ <children>
+ <node name="vrrp">
+ <properties>
+ <help>Restart the VRRP (Virtual Router Redundancy Protocol) process</help>
+ </properties>
+ <command>sudo systemctl restart keepalived.service</command>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>