From a09307e2723f4536c71fe9b3b650b1d6ab8e9b79 Mon Sep 17 00:00:00 2001 From: Marek 'marx' Grac Date: Wed, 25 Mar 2015 17:53:14 +0100 Subject: [PATCH 3/5] [tests] Add XML metadata for fence_ilo*_ssh --- tests/data/metadata/fence_ilo3_ssh.xml | 136 +++++++++++++++++++++++++++++++++ tests/data/metadata/fence_ilo4_ssh.xml | 136 +++++++++++++++++++++++++++++++++ tests/data/metadata/fence_ilo_ssh.xml | 136 +++++++++++++++++++++++++++++++++ 3 files changed, 408 insertions(+) create mode 100644 tests/data/metadata/fence_ilo3_ssh.xml create mode 100644 tests/data/metadata/fence_ilo4_ssh.xml create mode 100644 tests/data/metadata/fence_ilo_ssh.xml diff --git a/tests/data/metadata/fence_ilo3_ssh.xml b/tests/data/metadata/fence_ilo3_ssh.xml new file mode 100644 index 0000000..b3531b2 --- /dev/null +++ b/tests/data/metadata/fence_ilo3_ssh.xml @@ -0,0 +1,136 @@ + + + + +fence_ilo_ssh is a fence agent that connects to iLO device. It logs into device via ssh and reboot a specified outlet. +http://www.hp.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + + Method to fence (onoff|cycle) + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo4_ssh.xml b/tests/data/metadata/fence_ilo4_ssh.xml new file mode 100644 index 0000000..2266ee1 --- /dev/null +++ b/tests/data/metadata/fence_ilo4_ssh.xml @@ -0,0 +1,136 @@ + + + + +fence_ilo_ssh is a fence agent that connects to iLO device. It logs into device via ssh and reboot a specified outlet. +http://www.hp.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + + Method to fence (onoff|cycle) + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo_ssh.xml b/tests/data/metadata/fence_ilo_ssh.xml new file mode 100644 index 0000000..a9bd1d3 --- /dev/null +++ b/tests/data/metadata/fence_ilo_ssh.xml @@ -0,0 +1,136 @@ + + + + +fence_ilo_ssh is a fence agent that connects to iLO device. It logs into device via ssh and reboot a specified outlet. +http://www.hp.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + + Method to fence (onoff|cycle) + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + -- 1.9.3