summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-05 12:04:20 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-05 12:04:20 -0800
commit73973fec23e129355698a265d21527a34bcf4e49 (patch)
tree9539b55cdbeab89c48adb0288ab0995410b53fee
parent15a6fa6247f2de91e0ea55ea6316f7640c5b338e (diff)
downloadvyatta-op-73973fec23e129355698a265d21527a34bcf4e49.tar.gz
vyatta-op-73973fec23e129355698a265d21527a34bcf4e49.zip
Add show interfaces for vrrp interfaces
-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"