From 73973fec23e129355698a265d21527a34bcf4e49 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Mon, 5 Dec 2011 12:04:20 -0800 Subject: Add show interfaces for vrrp interfaces --- templates/show/interfaces/vrrp/detail/node.def | 2 ++ templates/show/interfaces/vrrp/node.def | 2 ++ templates/show/interfaces/vrrp/node.tag/brief/node.def | 2 ++ templates/show/interfaces/vrrp/node.tag/node.def | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 templates/show/interfaces/vrrp/detail/node.def create mode 100644 templates/show/interfaces/vrrp/node.def create mode 100644 templates/show/interfaces/vrrp/node.tag/brief/node.def create mode 100644 templates/show/interfaces/vrrp/node.tag/node.def 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" -- cgit v1.2.3