|
|
4822a5 |
diff -uNr a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
|
|
|
4822a5 |
--- a/fence/agents/lib/fencing.py.py 2017-07-25 13:09:37.611338735 +0200
|
|
|
4822a5 |
+++ b/fence/agents/lib/fencing.py.py 2017-07-25 14:45:55.177947410 +0200
|
|
|
4822a5 |
@@ -615,8 +615,10 @@
|
|
|
4822a5 |
|
|
|
4822a5 |
if avail_opt.count("no_status") == 0:
|
|
|
4822a5 |
print "\t<action name=\"status\" />"
|
|
|
4822a5 |
- print "\t<action name=\"list\" />"
|
|
|
4822a5 |
- print "\t<action name=\"list-status\" />"
|
|
|
4822a5 |
+
|
|
|
4822a5 |
+ if avail_opt.count("separator"):
|
|
|
4822a5 |
+ print "\t<action name=\"list\" />"
|
|
|
4822a5 |
+ print "\t<action name=\"list-status\" />"
|
|
|
4822a5 |
print "\t<action name=\"monitor\" />"
|
|
|
4822a5 |
print "\t<action name=\"metadata\" />"
|
|
|
4822a5 |
print "\t<action name=\"validate-all\" />"
|
|
|
4822a5 |
@@ -820,6 +822,10 @@
|
|
|
4822a5 |
if 1 == device_opt.count("no_status"):
|
|
|
4822a5 |
acceptable_actions.remove("status")
|
|
|
4822a5 |
|
|
|
4822a5 |
+ if not device_opt.count("separator"):
|
|
|
4822a5 |
+ acceptable_actions.remove("list")
|
|
|
4822a5 |
+ acceptable_actions.remove("list-status")
|
|
|
4822a5 |
+
|
|
|
4822a5 |
if 1 == device_opt.count("diag"):
|
|
|
4822a5 |
acceptable_actions.extend(["diag"])
|
|
|
4822a5 |
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_alom.xml b/tests/data/metadata/fence_alom.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_alom.xml 2017-07-25 13:09:37.611338735 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_alom.xml 2017-07-25 14:49:00.542377375 +0200
|
|
|
4822a5 |
@@ -169,8 +169,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_amt.xml b/tests/data/metadata/fence_amt.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_amt.xml 2017-07-25 13:09:37.611338735 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_amt.xml 2017-07-25 14:49:01.818359686 +0200
|
|
|
4822a5 |
@@ -162,8 +162,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_compute.xml b/tests/data/metadata/fence_compute.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_compute.xml 2017-07-25 13:09:37.620338610 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_compute.xml 2017-07-25 14:49:02.821345781 +0200
|
|
|
4822a5 |
@@ -3,10 +3,15 @@
|
|
|
4822a5 |
<longdesc>Used to tell Nova that compute nodes are down and to reschedule flagged instances</longdesc>
|
|
|
4822a5 |
<vendor-url></vendor-url>
|
|
|
4822a5 |
<parameters>
|
|
|
4822a5 |
- <parameter name="region-name" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
- <getopt mixed="--region-name=[region]" />
|
|
|
4822a5 |
- <content type="boolean" />
|
|
|
4822a5 |
- <shortdesc lang="en">Region Name</shortdesc>
|
|
|
4822a5 |
+ <parameter name="tenant_name" unique="0" required="0">
|
|
|
4822a5 |
+ <getopt mixed="-t, --tenant-name=[tenant]" />
|
|
|
4822a5 |
+ <content type="string" />
|
|
|
4822a5 |
+ <shortdesc lang="en">Keystone Admin Tenant</shortdesc>
|
|
|
4822a5 |
+ </parameter>
|
|
|
4822a5 |
+ <parameter name="auth_url" unique="0" required="0">
|
|
|
4822a5 |
+ <getopt mixed="-k, --auth-url=[url]" />
|
|
|
4822a5 |
+ <content type="string" />
|
|
|
4822a5 |
+ <shortdesc lang="en">Keystone Admin Auth URL</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
<parameter name="port" unique="0" required="1" deprecated="1">
|
|
|
4822a5 |
<getopt mixed="-n, --plug=[id]" />
|
|
|
4822a5 |
@@ -18,26 +23,21 @@
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
<shortdesc lang="en">Script to retrieve password</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="auth-url" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
- <getopt mixed="-k, --auth-url=[url]" />
|
|
|
4822a5 |
- <content type="string" />
|
|
|
4822a5 |
- <shortdesc lang="en">Keystone Admin Auth URL</shortdesc>
|
|
|
4822a5 |
+ <parameter name="region_name" unique="0" required="0">
|
|
|
4822a5 |
+ <getopt mixed="--region-name=[region]" />
|
|
|
4822a5 |
+ <content type="boolean" />
|
|
|
4822a5 |
+ <shortdesc lang="en">Region Name</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
<parameter name="passwd" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
<getopt mixed="-p, --password=[password]" />
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
<shortdesc lang="en">Login password or passphrase</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="endpoint-type" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
+ <parameter name="endpoint_type" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="-e, --endpoint-type=[endpoint]" />
|
|
|
4822a5 |
<content type="string" default="internalURL" />
|
|
|
4822a5 |
<shortdesc lang="en">Nova Endpoint type</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="tenant-name" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
- <getopt mixed="-t, --tenant-name=[tenant]" />
|
|
|
4822a5 |
- <content type="string" />
|
|
|
4822a5 |
- <shortdesc lang="en">Keystone Admin Tenant</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
<parameter name="action" unique="0" required="1">
|
|
|
4822a5 |
<getopt mixed="-o, --action=[action]" />
|
|
|
4822a5 |
<content type="string" default="off" />
|
|
|
4822a5 |
@@ -53,31 +53,11 @@
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
<shortdesc lang="en">Physical plug number, name of virtual machine or UUID</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="region_name" unique="0" required="0" obsoletes="region-name">
|
|
|
4822a5 |
- <getopt mixed="--region-name=[region]" />
|
|
|
4822a5 |
- <content type="boolean" />
|
|
|
4822a5 |
- <shortdesc lang="en">Region Name</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
- <parameter name="tenant_name" unique="0" required="0" obsoletes="tenant-name">
|
|
|
4822a5 |
- <getopt mixed="-t, --tenant-name=[tenant]" />
|
|
|
4822a5 |
- <content type="string" />
|
|
|
4822a5 |
- <shortdesc lang="en">Keystone Admin Tenant</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
<parameter name="username" unique="0" required="0" obsoletes="login">
|
|
|
4822a5 |
<getopt mixed="-l, --username=[name]" />
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
<shortdesc lang="en">Login Name</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="endpoint_type" unique="0" required="0" obsoletes="endpoint-type">
|
|
|
4822a5 |
- <getopt mixed="-e, --endpoint-type=[endpoint]" />
|
|
|
4822a5 |
- <content type="string" default="internalURL" />
|
|
|
4822a5 |
- <shortdesc lang="en">Nova Endpoint type</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
- <parameter name="auth_url" unique="0" required="0" obsoletes="auth-url">
|
|
|
4822a5 |
- <getopt mixed="-k, --auth-url=[url]" />
|
|
|
4822a5 |
- <content type="string" />
|
|
|
4822a5 |
- <shortdesc lang="en">Keystone Admin Auth URL</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
<parameter name="password" unique="0" required="0" obsoletes="passwd">
|
|
|
4822a5 |
<getopt mixed="-p, --password=[password]" />
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
@@ -98,36 +78,21 @@
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
<shortdesc lang="en">DNS domain in which hosts live</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="instance-filtering" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
+ <parameter name="instance_filtering" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="--instance-filtering" />
|
|
|
4822a5 |
<content type="boolean" default="True" />
|
|
|
4822a5 |
<shortdesc lang="en">Allow instances to be evacuated</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="no-shared-storage" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
+ <parameter name="no_shared_storage" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="--no-shared-storage" />
|
|
|
4822a5 |
<content type="boolean" default="False" />
|
|
|
4822a5 |
<shortdesc lang="en">Disable functionality for dealing with shared storage</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="record-only" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
- <getopt mixed="--record-only" />
|
|
|
4822a5 |
- <content type="string" default="False" />
|
|
|
4822a5 |
- <shortdesc lang="en">Only record the target as needing evacuation</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
- <parameter name="instance_filtering" unique="0" required="0" obsoletes="instance-filtering">
|
|
|
4822a5 |
- <getopt mixed="--instance-filtering" />
|
|
|
4822a5 |
- <content type="boolean" default="True" />
|
|
|
4822a5 |
- <shortdesc lang="en">Allow instances to be evacuated</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
- <parameter name="record_only" unique="0" required="0" obsoletes="record-only">
|
|
|
4822a5 |
+ <parameter name="record_only" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="--record-only" />
|
|
|
4822a5 |
<content type="string" default="False" />
|
|
|
4822a5 |
<shortdesc lang="en">Only record the target as needing evacuation</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="no_shared_storage" unique="0" required="0" obsoletes="no-shared-storage">
|
|
|
4822a5 |
- <getopt mixed="--no-shared-storage" />
|
|
|
4822a5 |
- <content type="boolean" default="False" />
|
|
|
4822a5 |
- <shortdesc lang="en">Disable functionality for dealing with shared storage</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
<parameter name="verbose" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="-v, --verbose" />
|
|
|
4822a5 |
<content type="boolean" />
|
|
|
4822a5 |
@@ -168,16 +133,16 @@
|
|
|
4822a5 |
<content type="second" default="5" />
|
|
|
4822a5 |
<shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="power_timeout" unique="0" required="0">
|
|
|
4822a5 |
- <getopt mixed="--power-timeout=[seconds]" />
|
|
|
4822a5 |
- <content type="second" default="20" />
|
|
|
4822a5 |
- <shortdesc lang="en">Test X seconds for status change after ON/OFF</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
<parameter name="delay" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="--delay=[seconds]" />
|
|
|
4822a5 |
<content type="second" default="0" />
|
|
|
4822a5 |
<shortdesc lang="en">Wait X seconds before fencing is started</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
+ <parameter name="power_timeout" unique="0" required="0">
|
|
|
4822a5 |
+ <getopt mixed="--power-timeout=[seconds]" />
|
|
|
4822a5 |
+ <content type="second" default="20" />
|
|
|
4822a5 |
+ <shortdesc lang="en">Test X seconds for status change after ON/OFF</shortdesc>
|
|
|
4822a5 |
+ </parameter>
|
|
|
4822a5 |
<parameter name="shell_timeout" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="--shell-timeout=[seconds]" />
|
|
|
4822a5 |
<content type="second" default="180" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_drac.xml b/tests/data/metadata/fence_drac.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_drac.xml 2017-07-25 13:09:37.612338721 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_drac.xml 2017-07-25 14:49:01.670361738 +0200
|
|
|
4822a5 |
@@ -149,8 +149,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_dummy.xml b/tests/data/metadata/fence_dummy.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_dummy.xml 2017-07-25 13:09:37.612338721 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_dummy.xml 2017-07-25 14:49:00.886372607 +0200
|
|
|
4822a5 |
@@ -84,8 +84,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_idrac.xml 2017-07-25 13:09:37.613338707 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_idrac.xml 2017-07-25 14:49:01.364365980 +0200
|
|
|
4822a5 |
@@ -204,8 +204,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo2.xml b/tests/data/metadata/fence_ilo2.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo2.xml 2017-07-25 13:09:37.613338707 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo2.xml 2017-07-25 14:49:01.520363817 +0200
|
|
|
4822a5 |
@@ -175,8 +175,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo3_ssh.xml b/tests/data/metadata/fence_ilo3_ssh.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo3_ssh.xml 2017-07-25 13:09:37.614338694 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo3_ssh.xml 2017-07-25 14:49:00.997371068 +0200
|
|
|
4822a5 |
@@ -179,8 +179,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo3.xml b/tests/data/metadata/fence_ilo3.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo3.xml 2017-07-25 13:09:37.613338707 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo3.xml 2017-07-25 14:49:01.260367421 +0200
|
|
|
4822a5 |
@@ -204,8 +204,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo4_ssh.xml b/tests/data/metadata/fence_ilo4_ssh.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo4_ssh.xml 2017-07-25 13:09:37.614338694 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo4_ssh.xml 2017-07-25 14:49:01.028370638 +0200
|
|
|
4822a5 |
@@ -179,8 +179,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo4.xml 2017-07-25 13:09:37.614338694 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo4.xml 2017-07-25 14:49:01.295366936 +0200
|
|
|
4822a5 |
@@ -204,8 +204,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo_mp.xml b/tests/data/metadata/fence_ilo_mp.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo_mp.xml 2017-07-25 13:09:37.614338694 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo_mp.xml 2017-07-25 14:49:02.048356497 +0200
|
|
|
4822a5 |
@@ -169,8 +169,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo_ssh.xml b/tests/data/metadata/fence_ilo_ssh.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo_ssh.xml 2017-07-25 13:09:37.614338694 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo_ssh.xml 2017-07-25 14:49:00.964371525 +0200
|
|
|
4822a5 |
@@ -179,8 +179,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ilo.xml b/tests/data/metadata/fence_ilo.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ilo.xml 2017-07-25 13:09:37.613338707 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ilo.xml 2017-07-25 14:49:01.482364344 +0200
|
|
|
4822a5 |
@@ -175,8 +175,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_imm.xml 2017-07-25 13:09:37.614338694 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_imm.xml 2017-07-25 14:49:01.329366465 +0200
|
|
|
4822a5 |
@@ -204,8 +204,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_ipmilan.xml 2017-07-25 13:09:37.615338680 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_ipmilan.xml 2017-07-25 14:49:01.226367893 +0200
|
|
|
4822a5 |
@@ -204,8 +204,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_mpath.xml b/tests/data/metadata/fence_mpath.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_mpath.xml 2017-07-25 13:09:37.615338680 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_mpath.xml 2017-07-25 14:49:02.420351340 +0200
|
|
|
4822a5 |
@@ -97,8 +97,6 @@
|
|
|
4822a5 |
<action name="on" on_target="1" automatic="1"/>
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_rsa.xml b/tests/data/metadata/fence_rsa.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_rsa.xml 2017-07-25 13:09:37.615338680 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_rsa.xml 2017-07-25 14:49:02.121355485 +0200
|
|
|
4822a5 |
@@ -169,8 +169,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_rsb.xml b/tests/data/metadata/fence_rsb.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_rsb.xml 2017-07-25 13:09:37.615338680 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_rsb.xml 2017-07-25 14:49:02.494350314 +0200
|
|
|
4822a5 |
@@ -169,8 +169,6 @@
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="reboot" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|
|
|
4822a5 |
diff -uNr a/tests/data/metadata/fence_scsi.xml b/tests/data/metadata/fence_scsi.xml
|
|
|
4822a5 |
--- a/tests/data/metadata/fence_scsi.xml 2017-07-25 13:09:37.616338666 +0200
|
|
|
4822a5 |
+++ b/tests/data/metadata/fence_scsi.xml 2017-07-25 14:49:01.104369584 +0200
|
|
|
4822a5 |
@@ -4,11 +4,6 @@
|
|
|
4822a5 |
The fence_scsi agent works by having each node in the cluster register a unique key with the SCSI device(s). Once registered, a single node will become the reservation holder by creating a "write exclusive, registrants only" reservation on the device(s). The result is that only registered nodes may write to the device(s). When a node failure occurs, the fence_scsi agent will remove the key belonging to the failed node from the device(s). The failed node will no longer be able to write to the device(s). A manual reboot is required.</longdesc>
|
|
|
4822a5 |
<vendor-url></vendor-url>
|
|
|
4822a5 |
<parameters>
|
|
|
4822a5 |
- <parameter name="aptpl" unique="0" required="0">
|
|
|
4822a5 |
- <getopt mixed="-a, --aptpl" />
|
|
|
4822a5 |
- <content type="boolean" />
|
|
|
4822a5 |
- <shortdesc lang="en">Use the APTPL flag for registrations. This option is only used for the 'on' action.</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
<parameter name="nodename" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="-n, --nodename=[nodename]" />
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
@@ -24,6 +19,11 @@
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
<shortdesc lang="en">Key to use for the current operation. This key should be unique to a node. For the "on" action, the key specifies the key use to register the local node. For the "off" action, this key specifies the key to be removed from the device(s).</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
+ <parameter name="aptpl" unique="0" required="0">
|
|
|
4822a5 |
+ <getopt mixed="-a, --aptpl" />
|
|
|
4822a5 |
+ <content type="boolean" />
|
|
|
4822a5 |
+ <shortdesc lang="en">Use the APTPL flag for registrations. This option is only used for the 'on' action.</shortdesc>
|
|
|
4822a5 |
+ </parameter>
|
|
|
4822a5 |
<parameter name="devices" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="-d, --devices=[devices]" />
|
|
|
4822a5 |
<content type="string" />
|
|
|
4822a5 |
@@ -96,11 +96,7 @@
|
|
|
4822a5 |
<getopt mixed="--sg_turs-path=[path]" />
|
|
|
4822a5 |
<shortdesc lang="en">Path to sg_turs binary</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
- <parameter name="corosync-cmap_path" unique="0" required="0" deprecated="1">
|
|
|
4822a5 |
- <getopt mixed="--corosync-cmap-path=[path]" />
|
|
|
4822a5 |
- <shortdesc lang="en">Path to corosync-cmapctl binary</shortdesc>
|
|
|
4822a5 |
- </parameter>
|
|
|
4822a5 |
- <parameter name="corosync_cmap_path" unique="0" required="0" obsoletes="corosync-cmap_path">
|
|
|
4822a5 |
+ <parameter name="corosync_cmap_path" unique="0" required="0">
|
|
|
4822a5 |
<getopt mixed="--corosync-cmap-path=[path]" />
|
|
|
4822a5 |
<shortdesc lang="en">Path to corosync-cmapctl binary</shortdesc>
|
|
|
4822a5 |
</parameter>
|
|
|
4822a5 |
@@ -114,8 +110,6 @@
|
|
|
4822a5 |
<action name="on" on_target="1" automatic="1"/>
|
|
|
4822a5 |
<action name="off" />
|
|
|
4822a5 |
<action name="status" />
|
|
|
4822a5 |
- <action name="list" />
|
|
|
4822a5 |
- <action name="list-status" />
|
|
|
4822a5 |
<action name="monitor" />
|
|
|
4822a5 |
<action name="metadata" />
|
|
|
4822a5 |
<action name="validate-all" />
|