diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-08-18 19:23:11 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-27 17:11:28 -0500 |
commit | c425fce1762cffbf727b1d9bf8a40b08ddfdbb88 (patch) | |
tree | 062bfd6f55d9451d531d1f329f52710f6681a228 /templates/reset | |
parent | 568f780c2fe6ed02fd97683caa154c37db8db74e (diff) | |
download | vyatta-op-c425fce1762cffbf727b1d9bf8a40b08ddfdbb88.tar.gz vyatta-op-c425fce1762cffbf727b1d9bf8a40b08ddfdbb88.zip |
Move 'clear vrrp' to 'reset vrrp'
(cherry picked from commit ad977c6e06a54fedba9381a476514f694b67405d)
Diffstat (limited to 'templates/reset')
6 files changed, 10 insertions, 0 deletions
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 |