From ba136b80c495bf867eb71afbf295f84f36132d46 Mon Sep 17 00:00:00 2001 From: Marek 'marx' Grac Date: Wed, 22 Mar 2017 17:32:38 +0100 Subject: [PATCH] fencing: Parameters from command-line can be used also on STDIN Resolves: rhbz#1403028 --- fence/agents/lib/fence2man.xsl | 6 +++ fence/agents/lib/fencing.py.py | 56 ++++++++++++++------ fence/agents/lib/metadata.rng | 3 +- tests/data/metadata/fence_alom.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_amt.xml | 42 ++++++++++++--- tests/data/metadata/fence_amt_ws.xml | 35 +++++++++++-- tests/data/metadata/fence_apc.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_apc_snmp.xml | 42 ++++++++++++--- tests/data/metadata/fence_bladecenter.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_brocade.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_cisco_mds.xml | 42 ++++++++++++--- tests/data/metadata/fence_cisco_ucs.xml | 42 ++++++++++++--- tests/data/metadata/fence_compute.xml | 84 +++++++++++++++++++++++++----- tests/data/metadata/fence_docker.xml | 21 ++++++-- tests/data/metadata/fence_drac.xml | 49 ++++++++++++++--- tests/data/metadata/fence_drac5.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_dummy.xml | 7 ++- tests/data/metadata/fence_eaton_snmp.xml | 42 ++++++++++++--- tests/data/metadata/fence_emerson.xml | 42 ++++++++++++--- tests/data/metadata/fence_eps.xml | 49 ++++++++++++++--- tests/data/metadata/fence_hds_cb.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_hpblade.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_ibmblade.xml | 42 ++++++++++++--- tests/data/metadata/fence_idrac.xml | 49 ++++++++++++++--- tests/data/metadata/fence_ifmib.xml | 42 ++++++++++++--- tests/data/metadata/fence_ilo.xml | 49 ++++++++++++++--- tests/data/metadata/fence_ilo2.xml | 49 ++++++++++++++--- tests/data/metadata/fence_ilo3.xml | 49 ++++++++++++++--- tests/data/metadata/fence_ilo3_ssh.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_ilo4.xml | 49 ++++++++++++++--- tests/data/metadata/fence_ilo4_ssh.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_ilo_moonshot.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_ilo_mp.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_ilo_ssh.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_imm.xml | 49 ++++++++++++++--- tests/data/metadata/fence_intelmodular.xml | 42 ++++++++++++--- tests/data/metadata/fence_ipdu.xml | 42 ++++++++++++--- tests/data/metadata/fence_ipmilan.xml | 49 ++++++++++++++--- tests/data/metadata/fence_ldom.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_lpar.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_mpath.xml | 14 ++++- tests/data/metadata/fence_netio.xml | 42 ++++++++++++--- tests/data/metadata/fence_ovh.xml | 35 +++++++++++-- tests/data/metadata/fence_pve.xml | 49 ++++++++++++++--- tests/data/metadata/fence_raritan.xml | 42 ++++++++++++--- tests/data/metadata/fence_rhevm.xml | 42 ++++++++++++--- tests/data/metadata/fence_rsa.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_rsb.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_sanbox2.xml | 49 ++++++++++++++--- tests/data/metadata/fence_sbd.xml | 14 ++++- tests/data/metadata/fence_scsi.xml | 13 ++++- tests/data/metadata/fence_virsh.xml | 63 ++++++++++++++++++---- tests/data/metadata/fence_vmware_soap.xml | 42 ++++++++++++--- tests/data/metadata/fence_wti.xml | 56 +++++++++++++++++--- tests/data/metadata/fence_xenapi.xml | 35 +++++++++++-- tests/data/metadata/fence_zvmip.xml | 42 ++++++++++++--- 56 files changed, 2140 insertions(+), 367 deletions(-) diff --git a/fence/agents/lib/fence2man.xsl b/fence/agents/lib/fence2man.xsl index b31d33e..06fb7ab 100644 --- a/fence/agents/lib/fence2man.xsl +++ b/fence/agents/lib/fence2man.xsl @@ -2,6 +2,7 @@ + .TP .B .B @@ -9,6 +10,11 @@ This parameter is always required. (Default Value: ) + + Obsoletes: + + + diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py index 3646d60..399dbf2 100644 --- a/fence/agents/lib/fencing.py.py +++ b/fence/agents/lib/fencing.py.py @@ -521,7 +521,12 @@ def usage(avail_opt): def metadata(avail_opt, options, docs): # avail_opt has to be unique, if there are duplicities then they should be removed - sorted_list = [(key, all_opt[key]) for key in list(set(avail_opt))] + sorted_list = [(key, all_opt[key]) for key in list(set(avail_opt)) if "longopt" in all_opt[key]] + # Find keys that are going to replace inconsistent names + mapping = dict([(opt["longopt"].replace("-", "_"), key) for (key, opt) in sorted_list if (key != opt["longopt"].replace("-", "_"))]) + new_options = [(key, all_opt[mapping[key]]) for key in mapping] + sorted_list.extend(new_options) + sorted_list.sort(lambda x, y: cmp(x[1]["order"], y[1]["order"])) print "" @@ -534,22 +539,32 @@ def metadata(avail_opt, options, docs): if docs.has_key("vendorurl"): print "" + docs["vendorurl"] + "" print "" - for option, _ in sorted_list: - if all_opt[option].has_key("shortdesc"): - print "\t" + + for (key, opt) in sorted_list: + info = "" + if key in all_opt: + if key != all_opt[key].get('longopt', key).replace("-", "_"): + info = "deprecated=\"1\"" + else: + info = "obsoletes=\"%s\"" % (mapping.get(key)) + + if opt.has_key("shortdesc"): + if info != "": + info = " " + info + print "\t" default = "" - if all_opt[option].has_key("default"): - default = str(all_opt[option]["default"]) - elif options.has_key("--" + all_opt[option]["longopt"]) and all_opt[option]["getopt"].endswith(":"): - if options["--" + all_opt[option]["longopt"]]: + if opt.has_key("default"): + default = str(opt["default"]) + elif options.has_key("--" + opt["longopt"]) and opt["getopt"].endswith(":"): + if options["--" + opt["longopt"]]: try: - default = options["--" + all_opt[option]["longopt"]] + default = options["--" + opt["longopt"]] except TypeError: ## @todo/@note: Currently there is no clean way how to handle lists ## we can create a string from it but we can't set it on command line - default = str(options["--" + all_opt[option]["longopt"]]) - elif options.has_key("--" + all_opt[option]["longopt"]): + default = str(options["--" + opt["longopt"]]) + elif options.has_key("--" + opt["longopt"]): default = "true" if default: @@ -560,7 +575,7 @@ def metadata(avail_opt, options, docs): default = default.replace("'", "'") default = "default=\"" + default + "\" " - mixed = all_opt[option]["help"] + mixed = opt["help"] ## split it between option and help text res = re.compile(r"^(.*?--\S+)\s+", re.IGNORECASE | re.S).search(mixed) if None != res: @@ -568,18 +583,18 @@ def metadata(avail_opt, options, docs): mixed = mixed.replace("<", "<").replace(">", ">") print "\t\t" - if all_opt[option].has_key("choices"): + if opt.has_key("choices"): print "\t\t" - for choice in all_opt[option]["choices"]: + for choice in opt["choices"]: print "\t\t\t" - elif all_opt[option]["getopt"].count(":") > 0: - t = all_opt[option].get("type", "string") + elif opt["getopt"].count(":") > 0: + t = opt.get("type", "string") print("\t\t") else: print "\t\t" - print "\t\t" + all_opt[option]["shortdesc"] + "" + print "\t\t" + opt["shortdesc"] + "" print "\t" print "" print "" @@ -678,14 +693,21 @@ def process_input(avail_opt): else: opt = {} name = "" + + mapping_longopt_names = dict([(all_opt[o].get("longopt"), o) for o in avail_opt]) + for line in sys.stdin.readlines(): line = line.strip() if (line.startswith("#")) or (len(line) == 0): continue (name, value) = (line + "=").split("=", 1) + name = name.replace("-", "_"); value = value[:-1] + if name in mapping_longopt_names: + name = mapping_longopt_names[name] + if avail_opt.count(name) == 0 and name in ["nodename"]: continue elif avail_opt.count(name) == 0: diff --git a/fence/agents/lib/metadata.rng b/fence/agents/lib/metadata.rng index 2185cbf..e0cd441 100644 --- a/fence/agents/lib/metadata.rng +++ b/fence/agents/lib/metadata.rng @@ -19,7 +19,8 @@ - + + diff --git a/tests/data/metadata/fence_alom.xml b/tests/data/metadata/fence_alom.xml index f266e84..bcad280 100644 --- a/tests/data/metadata/fence_alom.xml +++ b/tests/data/metadata/fence_alom.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_amt.xml b/tests/data/metadata/fence_amt.xml index 6c0dacb..5fad57f 100644 --- a/tests/data/metadata/fence_amt.xml +++ b/tests/data/metadata/fence_amt.xml @@ -8,7 +8,7 @@ TCP/UDP port to use for connection with device - + IP address or hostname of fencing device (together with --port-as-ip) @@ -18,7 +18,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -36,12 +36,12 @@ Method to fence (onoff|cycle) - + Script to retrieve password - + Login password or passphrase @@ -62,12 +62,37 @@ Fencing Action + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -121,7 +146,12 @@ Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_apc.xml b/tests/data/metadata/fence_apc.xml index bd99eb2..eeb830c 100644 --- a/tests/data/metadata/fence_apc.xml +++ b/tests/data/metadata/fence_apc.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -68,17 +68,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_apc_snmp.xml b/tests/data/metadata/fence_apc_snmp.xml index d7f6e1b..9bf7322 100644 --- a/tests/data/metadata/fence_apc_snmp.xml +++ b/tests/data/metadata/fence_apc_snmp.xml @@ -30,7 +30,7 @@ Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -40,7 +40,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -68,7 +68,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -82,7 +82,7 @@ Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -92,17 +92,47 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_bladecenter.xml b/tests/data/metadata/fence_bladecenter.xml index 70c76b7..26f2d00 100644 --- a/tests/data/metadata/fence_bladecenter.xml +++ b/tests/data/metadata/fence_bladecenter.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_brocade.xml b/tests/data/metadata/fence_brocade.xml index fd0c399..38d2ac1 100644 --- a/tests/data/metadata/fence_brocade.xml +++ b/tests/data/metadata/fence_brocade.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_cisco_mds.xml b/tests/data/metadata/fence_cisco_mds.xml index 305ac51..8a18ecb 100644 --- a/tests/data/metadata/fence_cisco_mds.xml +++ b/tests/data/metadata/fence_cisco_mds.xml @@ -30,7 +30,7 @@ Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -40,7 +40,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -68,7 +68,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -82,7 +82,7 @@ Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -92,17 +92,47 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_cisco_ucs.xml b/tests/data/metadata/fence_cisco_ucs.xml index 34b280a..b2ab55d 100644 --- a/tests/data/metadata/fence_cisco_ucs.xml +++ b/tests/data/metadata/fence_cisco_ucs.xml @@ -23,7 +23,7 @@ SSL connection with verifying fence device's certificate - + Physical plug number, name of virtual machine or UUID @@ -33,7 +33,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -68,17 +68,47 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_compute.xml b/tests/data/metadata/fence_compute.xml index d90f167..0da03af 100644 --- a/tests/data/metadata/fence_compute.xml +++ b/tests/data/metadata/fence_compute.xml @@ -3,37 +3,37 @@ Used to tell Nova that compute nodes are down and to reschedule flagged instances - + Region Name - + Physical plug number, name of virtual machine or UUID - + Script to retrieve password - + Keystone Admin Auth URL - + Login password or passphrase - + Nova Endpoint type - + Keystone Admin Tenant @@ -43,11 +43,51 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Region Name + + + + + Keystone Admin Tenant + + + + + Login Name + + + + + Nova Endpoint type + + + + + Keystone Admin Auth URL + + + + + Login password or passphrase + + + + + Script to retrieve password + @@ -58,27 +98,47 @@ DNS domain in which hosts live - + Allow instances to be evacuated - + Disable functionality for dealing with shared storage - + + + + Only record the target as needing evacuation + + Only record the target as needing evacuation + + + + Allow instances to be evacuated + + + + + Disable functionality for dealing with shared storage + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_docker.xml b/tests/data/metadata/fence_docker.xml index 4842fa3..a56bd39 100644 --- a/tests/data/metadata/fence_docker.xml +++ b/tests/data/metadata/fence_docker.xml @@ -13,7 +13,7 @@ SSL connection with verifying fence device's certificate - + Physical plug number, name of virtual machine or UUID @@ -23,7 +23,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -56,6 +56,16 @@ Fencing Action + + + + Physical plug number, name of virtual machine or UUID + + + + + IP Address or Hostname + @@ -76,7 +86,12 @@ Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_drac.xml b/tests/data/metadata/fence_drac.xml index 18ca08c..00665a0 100644 --- a/tests/data/metadata/fence_drac.xml +++ b/tests/data/metadata/fence_drac.xml @@ -8,12 +8,12 @@ TCP/UDP port to use for connection with device - + IP address or hostname of fencing device (together with --port-as-ip) - + Force Python regex for command prompt @@ -23,7 +23,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -33,12 +33,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -48,17 +48,52 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_drac5.xml b/tests/data/metadata/fence_drac5.xml index 221c630..2990d7f 100644 --- a/tests/data/metadata/fence_drac5.xml +++ b/tests/data/metadata/fence_drac5.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -72,17 +72,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_dummy.xml b/tests/data/metadata/fence_dummy.xml index a7f4cb2..e54bc10 100644 --- a/tests/data/metadata/fence_dummy.xml +++ b/tests/data/metadata/fence_dummy.xml @@ -28,7 +28,12 @@ Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_eaton_snmp.xml b/tests/data/metadata/fence_eaton_snmp.xml index 5a566a1..45eae2f 100644 --- a/tests/data/metadata/fence_eaton_snmp.xml +++ b/tests/data/metadata/fence_eaton_snmp.xml @@ -30,7 +30,7 @@ Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -40,7 +40,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -68,7 +68,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -82,7 +82,7 @@ Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -92,17 +92,47 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_emerson.xml b/tests/data/metadata/fence_emerson.xml index 5c7c08d..29dd4de 100644 --- a/tests/data/metadata/fence_emerson.xml +++ b/tests/data/metadata/fence_emerson.xml @@ -30,7 +30,7 @@ Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -40,7 +40,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -68,7 +68,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -82,7 +82,7 @@ Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -92,17 +92,47 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_eps.xml b/tests/data/metadata/fence_eps.xml index acfd5f8..916cff4 100644 --- a/tests/data/metadata/fence_eps.xml +++ b/tests/data/metadata/fence_eps.xml @@ -10,7 +10,7 @@ Agent basically works by connecting to hidden page and pass appropriate argument TCP/UDP port to use for connection with device - + Physical plug number, name of virtual machine or UUID @@ -20,7 +20,7 @@ Agent basically works by connecting to hidden page and pass appropriate argument Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -30,17 +30,17 @@ Agent basically works by connecting to hidden page and pass appropriate argument Forces agent to use IPv4 addresses only - + Name of hidden page - + Script to retrieve password - + Login password or passphrase @@ -50,17 +50,52 @@ Agent basically works by connecting to hidden page and pass appropriate argument Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Name of hidden page + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_hds_cb.xml b/tests/data/metadata/fence_hds_cb.xml index 282a575..3addcde 100644 --- a/tests/data/metadata/fence_hds_cb.xml +++ b/tests/data/metadata/fence_hds_cb.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_hpblade.xml b/tests/data/metadata/fence_hpblade.xml index f77d928..d822658 100644 --- a/tests/data/metadata/fence_hpblade.xml +++ b/tests/data/metadata/fence_hpblade.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ibmblade.xml b/tests/data/metadata/fence_ibmblade.xml index 7b04732..0884401 100644 --- a/tests/data/metadata/fence_ibmblade.xml +++ b/tests/data/metadata/fence_ibmblade.xml @@ -30,7 +30,7 @@ Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -40,7 +40,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -68,7 +68,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -82,7 +82,7 @@ Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -92,17 +92,47 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml index c1604a4..b768421 100644 --- a/tests/data/metadata/fence_idrac.xml +++ b/tests/data/metadata/fence_idrac.xml @@ -12,7 +12,7 @@ TCP/UDP port to use for connection with device - + IP address or hostname of fencing device (together with --port-as-ip) @@ -22,12 +22,12 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname - + Script to retrieve password @@ -45,7 +45,7 @@ Forces agent to use IPv4 addresses only - + Login password or passphrase @@ -94,17 +94,47 @@ Timeout (sec) for IPMI operation - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -158,7 +188,12 @@ Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_ifmib.xml b/tests/data/metadata/fence_ifmib.xml index 8e347b5..56b3c24 100644 --- a/tests/data/metadata/fence_ifmib.xml +++ b/tests/data/metadata/fence_ifmib.xml @@ -32,7 +32,7 @@ It was written with managed ethernet switches in mind, in order to fence iSCSI S Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -42,7 +42,7 @@ It was written with managed ethernet switches in mind, in order to fence iSCSI S Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -70,7 +70,7 @@ It was written with managed ethernet switches in mind, in order to fence iSCSI S Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -84,7 +84,7 @@ It was written with managed ethernet switches in mind, in order to fence iSCSI S Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -94,17 +94,47 @@ It was written with managed ethernet switches in mind, in order to fence iSCSI S Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ilo.xml b/tests/data/metadata/fence_ilo.xml index 93bcb59..5966a42 100644 --- a/tests/data/metadata/fence_ilo.xml +++ b/tests/data/metadata/fence_ilo.xml @@ -14,7 +14,7 @@ Disable TLS negotiation, force SSL 3.0 - + Force ribcl version to use @@ -34,12 +34,12 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) @@ -49,7 +49,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -59,7 +59,7 @@ Disable TLS negotiaton, force TLS 1.0 - + Login password or passphrase @@ -74,17 +74,52 @@ SSL connection without verifying fence device's certificate - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force ribcl version to use + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ilo2.xml b/tests/data/metadata/fence_ilo2.xml index b607aea..c07f7a3 100644 --- a/tests/data/metadata/fence_ilo2.xml +++ b/tests/data/metadata/fence_ilo2.xml @@ -14,7 +14,7 @@ Disable TLS negotiation, force SSL 3.0 - + Force ribcl version to use @@ -34,12 +34,12 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) @@ -49,7 +49,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -59,7 +59,7 @@ Disable TLS negotiaton, force TLS 1.0 - + Login password or passphrase @@ -74,17 +74,52 @@ SSL connection without verifying fence device's certificate - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force ribcl version to use + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ilo3.xml b/tests/data/metadata/fence_ilo3.xml index 6623070..875d19e 100644 --- a/tests/data/metadata/fence_ilo3.xml +++ b/tests/data/metadata/fence_ilo3.xml @@ -12,7 +12,7 @@ TCP/UDP port to use for connection with device - + IP address or hostname of fencing device (together with --port-as-ip) @@ -22,12 +22,12 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname - + Script to retrieve password @@ -45,7 +45,7 @@ Forces agent to use IPv4 addresses only - + Login password or passphrase @@ -94,17 +94,47 @@ Timeout (sec) for IPMI operation - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -158,7 +188,12 @@ Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_ilo3_ssh.xml b/tests/data/metadata/fence_ilo3_ssh.xml index 5c1eec4..ee43daa 100644 --- a/tests/data/metadata/fence_ilo3_ssh.xml +++ b/tests/data/metadata/fence_ilo3_ssh.xml @@ -10,22 +10,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) - + SSH connection - + Force Python regex for command prompt @@ -53,12 +53,12 @@ Method to fence (onoff|cycle) - + Script to retrieve password - + Login password or passphrase @@ -73,17 +73,57 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml index 4562c86..18ce056 100644 --- a/tests/data/metadata/fence_ilo4.xml +++ b/tests/data/metadata/fence_ilo4.xml @@ -12,7 +12,7 @@ TCP/UDP port to use for connection with device - + IP address or hostname of fencing device (together with --port-as-ip) @@ -22,12 +22,12 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname - + Script to retrieve password @@ -45,7 +45,7 @@ Forces agent to use IPv4 addresses only - + Login password or passphrase @@ -94,17 +94,47 @@ Timeout (sec) for IPMI operation - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -158,7 +188,12 @@ Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_ilo4_ssh.xml b/tests/data/metadata/fence_ilo4_ssh.xml index 6c01add..9e37ebb 100644 --- a/tests/data/metadata/fence_ilo4_ssh.xml +++ b/tests/data/metadata/fence_ilo4_ssh.xml @@ -10,22 +10,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) - + SSH connection - + Force Python regex for command prompt @@ -53,12 +53,12 @@ Method to fence (onoff|cycle) - + Script to retrieve password - + Login password or passphrase @@ -73,17 +73,57 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ilo_moonshot.xml b/tests/data/metadata/fence_ilo_moonshot.xml index 8a5bd21..a162daf 100644 --- a/tests/data/metadata/fence_ilo_moonshot.xml +++ b/tests/data/metadata/fence_ilo_moonshot.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ilo_mp.xml b/tests/data/metadata/fence_ilo_mp.xml index d1cbf04..59205ce 100644 --- a/tests/data/metadata/fence_ilo_mp.xml +++ b/tests/data/metadata/fence_ilo_mp.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ilo_ssh.xml b/tests/data/metadata/fence_ilo_ssh.xml index 0c62fba..4489f01 100644 --- a/tests/data/metadata/fence_ilo_ssh.xml +++ b/tests/data/metadata/fence_ilo_ssh.xml @@ -10,22 +10,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) - + SSH connection - + Force Python regex for command prompt @@ -53,12 +53,12 @@ Method to fence (onoff|cycle) - + Script to retrieve password - + Login password or passphrase @@ -73,17 +73,57 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml index 7966384..0b1a3f7 100644 --- a/tests/data/metadata/fence_imm.xml +++ b/tests/data/metadata/fence_imm.xml @@ -12,7 +12,7 @@ TCP/UDP port to use for connection with device - + IP address or hostname of fencing device (together with --port-as-ip) @@ -22,12 +22,12 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname - + Script to retrieve password @@ -45,7 +45,7 @@ Forces agent to use IPv4 addresses only - + Login password or passphrase @@ -94,17 +94,47 @@ Timeout (sec) for IPMI operation - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -158,7 +188,12 @@ Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_intelmodular.xml b/tests/data/metadata/fence_intelmodular.xml index 5d7b7ed..5cb1759 100644 --- a/tests/data/metadata/fence_intelmodular.xml +++ b/tests/data/metadata/fence_intelmodular.xml @@ -32,7 +32,7 @@ Note: Since firmware update version 2.7, SNMP v2 write support is removed, and r Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -42,7 +42,7 @@ Note: Since firmware update version 2.7, SNMP v2 write support is removed, and r Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -70,7 +70,7 @@ Note: Since firmware update version 2.7, SNMP v2 write support is removed, and r Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -84,7 +84,7 @@ Note: Since firmware update version 2.7, SNMP v2 write support is removed, and r Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -94,17 +94,47 @@ Note: Since firmware update version 2.7, SNMP v2 write support is removed, and r Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ipdu.xml b/tests/data/metadata/fence_ipdu.xml index 5c613bf..0f4797a 100644 --- a/tests/data/metadata/fence_ipdu.xml +++ b/tests/data/metadata/fence_ipdu.xml @@ -30,7 +30,7 @@ Set privacy protocol (DES|AES) - + Physical plug number, name of virtual machine or UUID @@ -40,7 +40,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -68,7 +68,7 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password @@ -82,7 +82,7 @@ Set security level (noAuthNoPriv|authNoPriv|authPriv) - + Login password or passphrase @@ -92,17 +92,47 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml index a8efcfa..25079dd 100644 --- a/tests/data/metadata/fence_ipmilan.xml +++ b/tests/data/metadata/fence_ipmilan.xml @@ -12,7 +12,7 @@ TCP/UDP port to use for connection with device - + IP address or hostname of fencing device (together with --port-as-ip) @@ -22,12 +22,12 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname - + Script to retrieve password @@ -45,7 +45,7 @@ Forces agent to use IPv4 addresses only - + Login password or passphrase @@ -94,17 +94,47 @@ Timeout (sec) for IPMI operation - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -158,7 +188,12 @@ Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_ldom.xml b/tests/data/metadata/fence_ldom.xml index dc0147a..d697d0a 100644 --- a/tests/data/metadata/fence_ldom.xml +++ b/tests/data/metadata/fence_ldom.xml @@ -10,22 +10,22 @@ Very useful parameter is -c (or cmd_prompt in stdin mode). This must be set to s TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -45,12 +45,12 @@ Very useful parameter is -c (or cmd_prompt in stdin mode). This must be set to s Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -65,17 +65,57 @@ Very useful parameter is -c (or cmd_prompt in stdin mode). This must be set to s Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_lpar.xml b/tests/data/metadata/fence_lpar.xml index 77d61a1..f42ca1e 100644 --- a/tests/data/metadata/fence_lpar.xml +++ b/tests/data/metadata/fence_lpar.xml @@ -13,17 +13,17 @@ Managed system name - + SSH connection - + Physical plug number, name of virtual machine or UUID - + Force Python regex for command prompt @@ -33,7 +33,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -57,12 +57,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -77,17 +77,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_mpath.xml b/tests/data/metadata/fence_mpath.xml index b29d526..6e02a14 100644 --- a/tests/data/metadata/fence_mpath.xml +++ b/tests/data/metadata/fence_mpath.xml @@ -24,7 +24,12 @@ The fence_mpath agent works by having an unique key for each pair of node and de Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -77,7 +82,12 @@ The fence_mpath agent works by having an unique key for each pair of node and de Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_netio.xml b/tests/data/metadata/fence_netio.xml index 9b051db..ae0c918 100644 --- a/tests/data/metadata/fence_netio.xml +++ b/tests/data/metadata/fence_netio.xml @@ -13,12 +13,12 @@ Forces agent to use IPv6 addresses only - + Login password or passphrase - + IP Address or Hostname @@ -33,17 +33,42 @@ Forces agent to use IPv4 addresses only - + Login Name - + Physical plug number, name of virtual machine or UUID - + + + + Script to retrieve password + + + + + Login Name + + + + + Physical plug number, name of virtual machine or UUID + + + + + IP Address or Hostname + + + + + Login password or passphrase + + Script to retrieve password @@ -53,7 +78,12 @@ Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_ovh.xml b/tests/data/metadata/fence_ovh.xml index bdf2676..b0e6434 100644 --- a/tests/data/metadata/fence_ovh.xml +++ b/tests/data/metadata/fence_ovh.xml @@ -3,7 +3,7 @@ fence_ovh is an Power Fencing agent which can be used within OVH datecentre. Poweroff is simulated with a reboot into rescue-pro mode. http://www.ovh.net - + Login password or passphrase @@ -18,17 +18,37 @@ Fencing Action - + Script to retrieve password - + Login Name - + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + Login password or passphrase + + + + + Script to retrieve password + + Physical plug number, name of virtual machine or UUID @@ -38,7 +58,12 @@ Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_pve.xml b/tests/data/metadata/fence_pve.xml index 03a1124..42b8cbb 100644 --- a/tests/data/metadata/fence_pve.xml +++ b/tests/data/metadata/fence_pve.xml @@ -8,7 +8,7 @@ TCP/UDP port to use for connection with device - + Id of the virtual machine. @@ -18,7 +18,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname of a node within the Proxmox cluster. @@ -28,12 +28,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -43,12 +43,42 @@ Fencing Action - + Login Name - + + + + Id of the virtual machine. + + + + + Login Name + + + + + IP Address or Hostname of a node within the Proxmox cluster. + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Node on which machine is located. (Optional, will be automatically determined) + + Node on which machine is located. (Optional, will be automatically determined) @@ -58,7 +88,12 @@ Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_raritan.xml b/tests/data/metadata/fence_raritan.xml index f1910bb..697972b 100644 --- a/tests/data/metadata/fence_raritan.xml +++ b/tests/data/metadata/fence_raritan.xml @@ -13,12 +13,12 @@ Forces agent to use IPv6 addresses only - + Login password or passphrase - + IP Address or Hostname @@ -33,17 +33,42 @@ Forces agent to use IPv4 addresses only - + Login Name - + Physical plug number, name of virtual machine or UUID - + + + + Script to retrieve password + + + + + Login Name + + + + + Physical plug number, name of virtual machine or UUID + + + + + IP Address or Hostname + + + + + Login password or passphrase + + Script to retrieve password @@ -53,7 +78,12 @@ Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_rsa.xml b/tests/data/metadata/fence_rsa.xml index 16f9184..df6aacf 100644 --- a/tests/data/metadata/fence_rsa.xml +++ b/tests/data/metadata/fence_rsa.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_rsb.xml b/tests/data/metadata/fence_rsb.xml index 554fd18..220926a 100644 --- a/tests/data/metadata/fence_rsb.xml +++ b/tests/data/metadata/fence_rsb.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + IP address or hostname of fencing device (together with --port-as-ip) - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + IP address or hostname of fencing device (together with --port-as-ip) + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_sanbox2.xml b/tests/data/metadata/fence_sanbox2.xml index 3d42e6e..57ad2a7 100644 --- a/tests/data/metadata/fence_sanbox2.xml +++ b/tests/data/metadata/fence_sanbox2.xml @@ -8,12 +8,12 @@ TCP/UDP port to use for connection with device - + Physical plug number, name of virtual machine or UUID - + Force Python regex for command prompt @@ -23,7 +23,7 @@ Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -33,12 +33,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -48,17 +48,52 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_sbd.xml b/tests/data/metadata/fence_sbd.xml index e5de1f6..b1820d5 100644 --- a/tests/data/metadata/fence_sbd.xml +++ b/tests/data/metadata/fence_sbd.xml @@ -21,7 +21,12 @@ Fencing Action - + + + + Physical plug number, name of virtual machine or UUID + + Physical plug number, name of virtual machine or UUID @@ -31,7 +36,12 @@ Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_scsi.xml b/tests/data/metadata/fence_scsi.xml index 2b7d9d7..f947259 100644 --- a/tests/data/metadata/fence_scsi.xml +++ b/tests/data/metadata/fence_scsi.xml @@ -39,7 +39,12 @@ The fence_scsi agent works by having each node in the cluster register a unique Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -91,7 +96,11 @@ The fence_scsi agent works by having each node in the cluster register a unique Path to sg_turs binary - + + + Path to corosync-cmapctl binary + + Path to corosync-cmapctl binary diff --git a/tests/data/metadata/fence_virsh.xml b/tests/data/metadata/fence_virsh.xml index b381345..bae3cdc 100644 --- a/tests/data/metadata/fence_virsh.xml +++ b/tests/data/metadata/fence_virsh.xml @@ -10,22 +10,22 @@ By default, virsh needs root account to do properly work. So you must allow ssh TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -45,12 +45,12 @@ By default, virsh needs root account to do properly work. So you must allow ssh Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -65,17 +65,57 @@ By default, virsh needs root account to do properly work. So you must allow ssh Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file @@ -130,7 +170,12 @@ By default, virsh needs root account to do properly work. So you must allow ssh Count of attempts to retry power on - + + + + Use sudo (without password) when calling 3rd party sotfware. + + Use sudo (without password) when calling 3rd party sotfware. diff --git a/tests/data/metadata/fence_vmware_soap.xml b/tests/data/metadata/fence_vmware_soap.xml index f5d6d76..b174406 100644 --- a/tests/data/metadata/fence_vmware_soap.xml +++ b/tests/data/metadata/fence_vmware_soap.xml @@ -20,7 +20,7 @@ Name of virtual machine (-n / port) has to be used in inventory path format (e.g SSL connection with verifying fence device's certificate - + Physical plug number, name of virtual machine or UUID @@ -30,7 +30,7 @@ Name of virtual machine (-n / port) has to be used in inventory path format (e.g Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -40,12 +40,12 @@ Name of virtual machine (-n / port) has to be used in inventory path format (e.g Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -65,17 +65,47 @@ Name of virtual machine (-n / port) has to be used in inventory path format (e.g Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_wti.xml b/tests/data/metadata/fence_wti.xml index bfbcb35..e1485ad 100644 --- a/tests/data/metadata/fence_wti.xml +++ b/tests/data/metadata/fence_wti.xml @@ -8,22 +8,22 @@ TCP/UDP port to use for connection with device - + IP Address or Hostname - + Physical plug number, name of virtual machine or UUID - + SSH connection - + Force Python regex for command prompt @@ -43,12 +43,12 @@ Forces agent to use IPv4 addresses only - + Script to retrieve password - + Login password or passphrase @@ -63,17 +63,57 @@ Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Force Python regex for command prompt + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_xenapi.xml b/tests/data/metadata/fence_xenapi.xml index 156ed53..4d74033 100644 --- a/tests/data/metadata/fence_xenapi.xml +++ b/tests/data/metadata/fence_xenapi.xml @@ -3,7 +3,7 @@ fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. It uses the XenAPI, supplied by Citrix, to establish an XML-RPC sesssion to a XenServer host. Once the session is established, further XML-RPC commands are issued in order to switch on, switch off, restart and query the status of virtual machines running on the host. http://www.xenproject.org - + Login password or passphrase @@ -18,27 +18,52 @@ Fencing Action - + Login Name - + Physical plug number, name of virtual machine or UUID - + Script to retrieve password + + + + Login Name + + + + + Login password or passphrase + + + + + Script to retrieve password + + + + + Physical plug number, name of virtual machine or UUID + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file diff --git a/tests/data/metadata/fence_zvmip.xml b/tests/data/metadata/fence_zvmip.xml index 5222a22..41393c2 100644 --- a/tests/data/metadata/fence_zvmip.xml +++ b/tests/data/metadata/fence_zvmip.xml @@ -22,7 +22,7 @@ Where XXXXXXX is the name of the virtual machine used in the authuser field of t TCP/UDP port to use for connection with device - + Physical plug number, name of virtual machine or UUID @@ -32,7 +32,7 @@ Where XXXXXXX is the name of the virtual machine used in the authuser field of t Forces agent to use IPv6 addresses only - + IP Address or Hostname @@ -50,12 +50,12 @@ Where XXXXXXX is the name of the virtual machine used in the authuser field of t Method to fence (onoff|cycle) - + Script to retrieve password - + Login password or passphrase @@ -65,17 +65,47 @@ Where XXXXXXX is the name of the virtual machine used in the authuser field of t Fencing Action - + Login Name + + + + Physical plug number, name of virtual machine or UUID + + + + + Login Name + + + + + IP Address or Hostname + + + + + Login password or passphrase + + + + + Script to retrieve password + Verbose mode - + + + + Write debug information to given file + + Write debug information to given file -- 2.4.11