summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-18 19:23:11 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:28 -0500
commitc425fce1762cffbf727b1d9bf8a40b08ddfdbb88 (patch)
tree062bfd6f55d9451d531d1f329f52710f6681a228
parent568f780c2fe6ed02fd97683caa154c37db8db74e (diff)
downloadvyatta-op-c425fce1762cffbf727b1d9bf8a40b08ddfdbb88.tar.gz
vyatta-op-c425fce1762cffbf727b1d9bf8a40b08ddfdbb88.zip
Move 'clear vrrp' to 'reset vrrp'
(cherry picked from commit ad977c6e06a54fedba9381a476514f694b67405d)
-rw-r--r--templates/clear/vrrp/master/node.def1
-rw-r--r--templates/clear/vrrp/node.def1
-rw-r--r--templates/reset/vrrp/master/interface/node.def (renamed from templates/clear/vrrp/master/interface/node.def)2
-rw-r--r--templates/reset/vrrp/master/interface/node.tag/group/node.def (renamed from templates/clear/vrrp/master/interface/node.tag/group/node.def)0
-rw-r--r--templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def (renamed from templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def)2
-rw-r--r--templates/reset/vrrp/master/interface/node.tag/node.def (renamed from templates/clear/vrrp/master/interface/node.tag/node.def)2
-rw-r--r--templates/reset/vrrp/master/node.def1
-rw-r--r--templates/reset/vrrp/node.def1
8 files changed, 5 insertions, 5 deletions
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/clear/vrrp/master/interface/node.def b/templates/reset/vrrp/master/interface/node.def
index b5e5fd3..3c5c639 100644
--- a/templates/clear/vrrp/master/interface/node.def
+++ b/templates/reset/vrrp/master/interface/node.def
@@ -1,2 +1,2 @@
-help: Clear VRRP master for a specific interface
+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/clear/vrrp/master/interface/node.tag/group/node.def b/templates/reset/vrrp/master/interface/node.tag/group/node.def
index 215ee00..215ee00 100644
--- a/templates/clear/vrrp/master/interface/node.tag/group/node.def
+++ b/templates/reset/vrrp/master/interface/node.tag/group/node.def
diff --git a/templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def b/templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def
index 92abf3c..6e35e22 100644
--- a/templates/clear/vrrp/master/interface/node.tag/group/node.tag/node.def
+++ b/templates/reset/vrrp/master/interface/node.tag/group/node.tag/node.def
@@ -1,3 +1,3 @@
-help: clear VRRP master for specified interface and group
+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/clear/vrrp/master/interface/node.tag/node.def b/templates/reset/vrrp/master/interface/node.tag/node.def
index cd68d89..b4482b9 100644
--- a/templates/clear/vrrp/master/interface/node.tag/node.def
+++ b/templates/reset/vrrp/master/interface/node.tag/node.def
@@ -1,2 +1,2 @@
-help: Show VRRP information for specified interface
+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