summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/interfaces/vrrp/detail/node.def2
-rw-r--r--templates/show/interfaces/vrrp/node.def2
-rw-r--r--templates/show/interfaces/vrrp/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/vrrp/node.tag/node.def3
4 files changed, 9 insertions, 0 deletions
diff --git a/templates/show/interfaces/vrrp/detail/node.def b/templates/show/interfaces/vrrp/detail/node.def
new file mode 100644
index 0000000..8e6a99f
--- /dev/null
+++ b/templates/show/interfaces/vrrp/detail/node.def
@@ -0,0 +1,2 @@
+help: Show detailed vrrp interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=vrrp --action=show
diff --git a/templates/show/interfaces/vrrp/node.def b/templates/show/interfaces/vrrp/node.def
new file mode 100644
index 0000000..1d381f3
--- /dev/null
+++ b/templates/show/interfaces/vrrp/node.def
@@ -0,0 +1,2 @@
+help: Show vrrp interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=vrrp --action=show-brief
diff --git a/templates/show/interfaces/vrrp/node.tag/brief/node.def b/templates/show/interfaces/vrrp/node.tag/brief/node.def
new file mode 100644
index 0000000..ca306f9
--- /dev/null
+++ b/templates/show/interfaces/vrrp/node.tag/brief/node.def
@@ -0,0 +1,2 @@
+help: Show summary of the specified vrrp interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief
diff --git a/templates/show/interfaces/vrrp/node.tag/node.def b/templates/show/interfaces/vrrp/node.tag/node.def
new file mode 100644
index 0000000..c1d8891
--- /dev/null
+++ b/templates/show/interfaces/vrrp/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show specified vrrp interface information
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show vrrp
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"