From ad977c6e06a54fedba9381a476514f694b67405d Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 18 Aug 2011 19:23:11 -0500 Subject: Move 'clear vrrp' to 'reset vrrp' --- templates/clear/vrrp/master/interface/node.def | 2 -- templates/clear/vrrp/master/interface/node.tag/group/node.def | 1 - templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def | 3 --- templates/clear/vrrp/master/interface/node.tag/node.def | 2 -- templates/clear/vrrp/master/node.def | 1 - templates/clear/vrrp/node.def | 1 - templates/reset/vrrp/master/interface/node.def | 2 ++ templates/reset/vrrp/master/interface/node.tag/group/node.def | 1 + templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def | 3 +++ templates/reset/vrrp/master/interface/node.tag/node.def | 2 ++ templates/reset/vrrp/master/node.def | 1 + templates/reset/vrrp/node.def | 1 + 12 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 templates/clear/vrrp/master/interface/node.def delete mode 100644 templates/clear/vrrp/master/interface/node.tag/group/node.def delete mode 100644 templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def delete mode 100644 templates/clear/vrrp/master/interface/node.tag/node.def delete mode 100644 templates/clear/vrrp/master/node.def delete mode 100644 templates/clear/vrrp/node.def create mode 100644 templates/reset/vrrp/master/interface/node.def create mode 100644 templates/reset/vrrp/master/interface/node.tag/group/node.def create mode 100644 templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def create mode 100644 templates/reset/vrrp/master/interface/node.tag/node.def create mode 100644 templates/reset/vrrp/master/node.def create mode 100644 templates/reset/vrrp/node.def diff --git a/templates/clear/vrrp/master/interface/node.def b/templates/clear/vrrp/master/interface/node.def deleted file mode 100644 index b5e5fd3..0000000 --- a/templates/clear/vrrp/master/interface/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Clear VRRP master for a specific interface -allowed: /opt/vyatta/bin/sudo-users/vyatta-clear-vrrp.pl --action=find_vrrp_intf diff --git a/templates/clear/vrrp/master/interface/node.tag/group/node.def b/templates/clear/vrrp/master/interface/node.tag/group/node.def deleted file mode 100644 index 215ee00..0000000 --- a/templates/clear/vrrp/master/interface/node.tag/group/node.def +++ /dev/null @@ -1 +0,0 @@ -help: clear VRRP master for specified interface and group diff --git a/templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def b/templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def deleted file mode 100644 index 92abf3c..0000000 --- a/templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: clear VRRP master for specified interface and group -allowed: /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action=list-vrrp-group --intf "${COMP_WORDS[COMP_CWORD-2]}" -run: sudo /opt/vyatta/bin/sudo-users/vyatta-clear-vrrp.pl --vrrp-action clear_master --intf "$5" --group "$7" diff --git a/templates/clear/vrrp/master/interface/node.tag/node.def b/templates/clear/vrrp/master/interface/node.tag/node.def deleted file mode 100644 index cd68d89..0000000 --- a/templates/clear/vrrp/master/interface/node.tag/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Show VRRP information for specified interface -allowed: /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action=list-vrrp-intf diff --git a/templates/clear/vrrp/master/node.def b/templates/clear/vrrp/master/node.def deleted file mode 100644 index a5950d6..0000000 --- a/templates/clear/vrrp/master/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Clear VRRP master diff --git a/templates/clear/vrrp/node.def b/templates/clear/vrrp/node.def deleted file mode 100644 index fe0face..0000000 --- a/templates/clear/vrrp/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Clear VRRP diff --git a/templates/reset/vrrp/master/interface/node.def b/templates/reset/vrrp/master/interface/node.def new file mode 100644 index 0000000..3c5c639 --- /dev/null +++ b/templates/reset/vrrp/master/interface/node.def @@ -0,0 +1,2 @@ +help: Reset VRRP master for a specific interface +allowed: /opt/vyatta/bin/sudo-users/vyatta-clear-vrrp.pl --action=find_vrrp_intf diff --git a/templates/reset/vrrp/master/interface/node.tag/group/node.def b/templates/reset/vrrp/master/interface/node.tag/group/node.def new file mode 100644 index 0000000..215ee00 --- /dev/null +++ b/templates/reset/vrrp/master/interface/node.tag/group/node.def @@ -0,0 +1 @@ +help: clear VRRP master for specified interface and group diff --git a/templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def b/templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def new file mode 100644 index 0000000..6e35e22 --- /dev/null +++ b/templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def @@ -0,0 +1,3 @@ +help: Reset VRRP master for specified interface and group +allowed: /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action=list-vrrp-group --intf "${COMP_WORDS[COMP_CWORD-2]}" +run: sudo /opt/vyatta/bin/sudo-users/vyatta-clear-vrrp.pl --vrrp-action clear_master --intf "$5" --group "$7" diff --git a/templates/reset/vrrp/master/interface/node.tag/node.def b/templates/reset/vrrp/master/interface/node.tag/node.def new file mode 100644 index 0000000..b4482b9 --- /dev/null +++ b/templates/reset/vrrp/master/interface/node.tag/node.def @@ -0,0 +1,2 @@ +help: Reset VRRP master for a specified interface +allowed: /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action=list-vrrp-intf diff --git a/templates/reset/vrrp/master/node.def b/templates/reset/vrrp/master/node.def new file mode 100644 index 0000000..9b2d91d --- /dev/null +++ b/templates/reset/vrrp/master/node.def @@ -0,0 +1 @@ +help: Reset VRRP master diff --git a/templates/reset/vrrp/node.def b/templates/reset/vrrp/node.def new file mode 100644 index 0000000..0208f5f --- /dev/null +++ b/templates/reset/vrrp/node.def @@ -0,0 +1 @@ +help: Reset VRRP -- cgit v1.2.3