86a3dd56d6
- fence_brocade: Add support for 'list' action - fencing: Monitor is not working correctly without 'list' or 'status' - fence_apc_snmp: Add support for firmware 6.x - fence_zvm: Add support for "on" and "status" - fence_zvm: Add current XML metadata to test suite - [build] Fix automake files, so 'make distcheck' works - fencing: Add new options --ssl-secure and --ssl-insecure - [tests] Update XML metadata of fence agents - fence_cisco_ucs & fence_vmware_soap: Logout has to be performed even when fencing fails - fence_zvm: Fixes for better upstream inclusion - fence_zvm: Add support for 'on', improve documentation - Added patches: - 0001-fence_brocade-Add-support-for-list-action.patch - 0002-fencing-Monitor-is-not-working-correctly-without-lis.patch - 0003-fence_apc_snmp-Add-support-for-firmware-6.x.patch - 0004-fence_zvm-Add-support-for-on-and-status.patch - 0005-fence_zvm-Add-current-XML-metadata-to-test-suite.patch - 0006-build-Fix-automake-files-so-make-distcheck-works.patch - 0007-fencing-Add-new-options-ssl-secure-and-ssl-insecure.patch - 0008-tests-Update-XML-metadata-of-fence-agents.patch - 0009-fence_cisco_ucs-fence_vmware_soap-Logout-has-to-be-p.patch - 0010-fence_zvm-Fixes-for-better-upstream-inclusion.patch - 0011-fence_zvm-Add-support-for-on-improve-documentation.patch - Add dependency on python-requests OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=16
187 lines
7.8 KiB
Diff
187 lines
7.8 KiB
Diff
From 667bd9c6755e4211d42a7f03e3f28f035921cf76 Mon Sep 17 00:00:00 2001
|
|
From: Marek 'marx' Grac <mgrac@redhat.com>
|
|
Date: Mon, 1 Sep 2014 16:37:50 +0200
|
|
Subject: [PATCH 08/11] [tests] Update XML metadata of fence agents
|
|
|
|
added --ssl-secure, --ssl-insecure
|
|
---
|
|
tests/data/metadata/fence_cisco_ucs.xml | 10 ++++++++++
|
|
tests/data/metadata/fence_docker.xml | 10 ++++++++++
|
|
tests/data/metadata/fence_ilo.xml | 10 ++++++++++
|
|
tests/data/metadata/fence_ilo2.xml | 10 ++++++++++
|
|
tests/data/metadata/fence_rhevm.xml | 10 ++++++++++
|
|
tests/data/metadata/fence_vmware_soap.xml | 10 ++++++++++
|
|
6 files changed, 60 insertions(+)
|
|
|
|
diff --git a/tests/data/metadata/fence_cisco_ucs.xml b/tests/data/metadata/fence_cisco_ucs.xml
|
|
index 30a3cb4..75e45ce 100644
|
|
--- a/tests/data/metadata/fence_cisco_ucs.xml
|
|
+++ b/tests/data/metadata/fence_cisco_ucs.xml
|
|
@@ -13,6 +13,11 @@
|
|
<content type="boolean" />
|
|
<shortdesc lang="en">Disable TLS negotiation</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_secure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-secure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection with verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="port" unique="0" required="1">
|
|
<getopt mixed="-n, --plug=[id]" />
|
|
<content type="string" />
|
|
@@ -53,6 +58,11 @@
|
|
<content type="string" />
|
|
<shortdesc lang="en">Additional path needed to access suborganization</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_insecure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-insecure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection without verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="action" unique="0" required="1">
|
|
<getopt mixed="-o, --action=[action]" />
|
|
<content type="string" default="reboot" />
|
|
diff --git a/tests/data/metadata/fence_docker.xml b/tests/data/metadata/fence_docker.xml
|
|
index bda31d01..d100b8c 100644
|
|
--- a/tests/data/metadata/fence_docker.xml
|
|
+++ b/tests/data/metadata/fence_docker.xml
|
|
@@ -8,6 +8,11 @@
|
|
<content type="string" default="80" />
|
|
<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_secure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-secure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection with verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="port" unique="0" required="1">
|
|
<getopt mixed="-n, --plug=[id]" />
|
|
<content type="string" />
|
|
@@ -41,6 +46,11 @@
|
|
<content type="boolean" />
|
|
<shortdesc lang="en">SSL connection</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_insecure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-insecure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection without verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="action" unique="0" required="1">
|
|
<getopt mixed="-o, --action=[action]" />
|
|
<content type="string" default="reboot" />
|
|
diff --git a/tests/data/metadata/fence_ilo.xml b/tests/data/metadata/fence_ilo.xml
|
|
index eb8951c..25d9d54 100644
|
|
--- a/tests/data/metadata/fence_ilo.xml
|
|
+++ b/tests/data/metadata/fence_ilo.xml
|
|
@@ -19,6 +19,11 @@
|
|
<content type="string" />
|
|
<shortdesc lang="en">Force ribcl version to use</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_secure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-secure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection with verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="action" unique="0" required="1">
|
|
<getopt mixed="-o, --action=[action]" />
|
|
<content type="string" default="reboot" />
|
|
@@ -54,6 +59,11 @@
|
|
<content type="boolean" default="1" />
|
|
<shortdesc lang="en">SSL connection</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_insecure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-insecure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection without verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="login" unique="0" required="1">
|
|
<getopt mixed="-l, --username=[name]" />
|
|
<content type="string" />
|
|
diff --git a/tests/data/metadata/fence_ilo2.xml b/tests/data/metadata/fence_ilo2.xml
|
|
index 4d65808..47e8e28 100644
|
|
--- a/tests/data/metadata/fence_ilo2.xml
|
|
+++ b/tests/data/metadata/fence_ilo2.xml
|
|
@@ -19,6 +19,11 @@
|
|
<content type="string" />
|
|
<shortdesc lang="en">Force ribcl version to use</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_secure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-secure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection with verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="action" unique="0" required="1">
|
|
<getopt mixed="-o, --action=[action]" />
|
|
<content type="string" default="reboot" />
|
|
@@ -54,6 +59,11 @@
|
|
<content type="boolean" default="1" />
|
|
<shortdesc lang="en">SSL connection</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_insecure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-insecure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection without verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="login" unique="0" required="1">
|
|
<getopt mixed="-l, --username=[name]" />
|
|
<content type="string" />
|
|
diff --git a/tests/data/metadata/fence_rhevm.xml b/tests/data/metadata/fence_rhevm.xml
|
|
index a47f025..c9d6eeb 100644
|
|
--- a/tests/data/metadata/fence_rhevm.xml
|
|
+++ b/tests/data/metadata/fence_rhevm.xml
|
|
@@ -13,6 +13,11 @@
|
|
<content type="boolean" />
|
|
<shortdesc lang="en">Disable TLS negotiation</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_secure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-secure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection with verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="port" unique="0" required="1">
|
|
<getopt mixed="-n, --plug=[id]" />
|
|
<content type="string" />
|
|
@@ -48,6 +53,11 @@
|
|
<content type="boolean" />
|
|
<shortdesc lang="en">SSL connection</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_insecure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-insecure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection without verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="action" unique="0" required="1">
|
|
<getopt mixed="-o, --action=[action]" />
|
|
<content type="string" default="reboot" />
|
|
diff --git a/tests/data/metadata/fence_vmware_soap.xml b/tests/data/metadata/fence_vmware_soap.xml
|
|
index 97d8fc6..d0a465f 100644
|
|
--- a/tests/data/metadata/fence_vmware_soap.xml
|
|
+++ b/tests/data/metadata/fence_vmware_soap.xml
|
|
@@ -15,6 +15,11 @@ Name of virtual machine (-n / port) has to be used in inventory path format (e.g
|
|
<content type="boolean" />
|
|
<shortdesc lang="en">Disable TLS negotiation</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_secure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-secure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection with verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="port" unique="0" required="1">
|
|
<getopt mixed="-n, --plug=[id]" />
|
|
<content type="string" />
|
|
@@ -50,6 +55,11 @@ Name of virtual machine (-n / port) has to be used in inventory path format (e.g
|
|
<content type="boolean" />
|
|
<shortdesc lang="en">SSL connection</shortdesc>
|
|
</parameter>
|
|
+ <parameter name="ssl_insecure" unique="0" required="0">
|
|
+ <getopt mixed="--ssl-insecure" />
|
|
+ <content type="boolean" />
|
|
+ <shortdesc lang="en">SSL connection without verifying fence device's certificate</shortdesc>
|
|
+ </parameter>
|
|
<parameter name="action" unique="0" required="1">
|
|
<getopt mixed="-o, --action=[action]" />
|
|
<content type="string" default="reboot" />
|
|
--
|
|
1.8.4.5
|
|
|