Replace resource.txt with resource.robot
Change-Id: I4d2afd35645880e33a31644cd717bbeae55666f0
Signed-off-by: Sandhya Somashekar <sansomas@in.ibm.com>
diff --git a/data/variables.py b/data/variables.py
index 872c4e9..3473d1d 100755
--- a/data/variables.py
+++ b/data/variables.py
@@ -165,7 +165,7 @@
'''
QEMU HTTPS variable:
- By default lib/resource.txt AUTH URI construct is as
+ By default lib/resource.robot AUTH URI construct is as
${AUTH_URI} https://${OPENBMC_HOST}${AUTH_SUFFIX}
${AUTH_SUFFIX} is populated here by default EMPTY else
the port from the OS environment
diff --git a/extended/test_watchdog.robot b/extended/test_watchdog.robot
index 1c05d9a..3050349 100644
--- a/extended/test_watchdog.robot
+++ b/extended/test_watchdog.robot
@@ -4,7 +4,7 @@
Resource ../lib/rest_client.robot
Resource ../lib/openbmc_ffdc.robot
Resource ../lib/utils.robot
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/boot_utils.robot
Resource ../lib/state_manager.robot
diff --git a/gui/lib/resource.robot b/gui/lib/resource.robot
index 00a410f..a9ed9ba 100644
--- a/gui/lib/resource.robot
+++ b/gui/lib/resource.robot
@@ -12,14 +12,14 @@
Library SSHLibrary 30 Seconds
Library Process
Library supporting_libs.py
-Library ../../lib/gen_print.py
-Library ../../lib/gen_robot_print.py
-Library ../../lib/gen_valid.py
-Library ../../lib/gen_robot_ssh.py
-Library ../../lib/bmc_ssh_utils.py
-Resource ../../lib/resource.txt
-Resource ../../lib/rest_client.robot
-Resource ../../lib/state_manager.robot
+Library ../../../lib/gen_print.py
+Library ../../../lib/gen_robot_print.py
+Library ../../../lib/gen_valid.py
+Library ../../../lib/gen_robot_ssh.py
+Library ../../../lib/bmc_ssh_utils.py
+Resource ../../../lib/resource.robot
+Resource ../../../lib/rest_client.robot
+Resource ../../../lib/state_manager.robot
Variables ../data/resource_variables.py
*** Variables ***
diff --git a/lib/certificate_utils.robot b/lib/certificate_utils.robot
index 6da2fb3..cb787b2 100755
--- a/lib/certificate_utils.robot
+++ b/lib/certificate_utils.robot
@@ -3,7 +3,7 @@
Library OperatingSystem
Resource rest_client.robot
-Resource resource.txt
+Resource resource.robot
*** Keywords ***
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index 594cdd3..fef4675 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -2,7 +2,7 @@
Documentation Utilities for Robot keywords that do not use REST.
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/connection_client.robot
Resource ../lib/boot_utils.robot
Library String
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index cedc9e5..cfdb6fe 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -2,7 +2,7 @@
Documentation This module is for IPMI client for copying ipmitool to
... openbmc box and execute ipmitool IPMI standard
... command. IPMI raw command will use dbus-send command
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/connection_client.robot
Resource ../lib/utils.robot
Resource ../lib/state_manager.robot
diff --git a/lib/openbmc_ffdc_utils.robot b/lib/openbmc_ffdc_utils.robot
index 182591d..2dca330 100644
--- a/lib/openbmc_ffdc_utils.robot
+++ b/lib/openbmc_ffdc_utils.robot
@@ -4,7 +4,7 @@
Library String
Library DateTime
Library openbmc_ffdc_list.py
-Resource resource.txt
+Resource resource.robot
Resource connection_client.robot
Resource utils.robot
diff --git a/lib/pdu/pdu.robot b/lib/pdu/pdu.robot
index 7ea280e..3bd2b56 100644
--- a/lib/pdu/pdu.robot
+++ b/lib/pdu/pdu.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation Generic Protocol Distribution Unit (PDU) library
-Resource ../../lib/resource.txt
+Resource ../../lib/resource.robot
*** Keywords ***
Validate Prereq
diff --git a/lib/remote_logging_utils.robot b/lib/remote_logging_utils.robot
index 3943236..f4c4fc8 100644
--- a/lib/remote_logging_utils.robot
+++ b/lib/remote_logging_utils.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation Remote syslog utilities keywords.
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/rest_client.robot
Resource ../lib/utils.robot
diff --git a/lib/resource.txt b/lib/resource.robot
similarity index 100%
rename from lib/resource.txt
rename to lib/resource.robot
diff --git a/lib/rest_client.robot b/lib/rest_client.robot
index 23aa7b2..7076ef8 100644
--- a/lib/rest_client.robot
+++ b/lib/rest_client.robot
@@ -3,7 +3,7 @@
Library String
Library RequestsLibrary.RequestsKeywords
Library OperatingSystem
-Resource resource.txt
+Resource resource.robot
Library disable_warning_urllib.py
Library utils.py
Library gen_misc.py
diff --git a/lib/snmp/resource.txt b/lib/snmp/resource.robot
similarity index 100%
rename from lib/snmp/resource.txt
rename to lib/snmp/resource.robot
diff --git a/lib/utils.robot b/lib/utils.robot
index fa977bd..92f2d98 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -2,7 +2,7 @@
Documentation Utilities for Robot keywords that use REST.
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/rest_client.robot
Resource ../lib/connection_client.robot
Resource ../lib/boot_utils.robot
diff --git a/lib/xcat/resource.txt b/lib/xcat/resource.robot
similarity index 100%
rename from lib/xcat/resource.txt
rename to lib/xcat/resource.robot
diff --git a/lib/xcat/xcat_utils.robot b/lib/xcat/xcat_utils.robot
index 7eaadfa..4e3fd3c 100644
--- a/lib/xcat/xcat_utils.robot
+++ b/lib/xcat/xcat_utils.robot
@@ -1,7 +1,7 @@
*** Settings ***
-Resource ../xcat/resource.txt
-Resource ../../lib/resource.txt
+Resource ../xcat/resource.robot
+Resource ../../lib/resource.robot
Library SSHLibrary
Library OperatingSystem
diff --git a/network/test_cable_pull_recover.robot b/network/test_cable_pull_recover.robot
index 5a39eb2..a039f64 100644
--- a/network/test_cable_pull_recover.robot
+++ b/network/test_cable_pull_recover.robot
@@ -16,7 +16,7 @@
# "enP5s1f0", "eth0").
Library ../lib/bmc_ssh_utils.py
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../syslib/utils_os.robot
Suite Setup Test Setup Execution
diff --git a/network/test_network_nping.robot b/network/test_network_nping.robot
index c5c7f20..1dcd064 100644
--- a/network/test_network_nping.robot
+++ b/network/test_network_nping.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation Network stack stress tests using "nping" tool.
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Library OperatingSystem
Library String
diff --git a/openpower/ras/test_host_ras.robot b/openpower/ras/test_host_ras.robot
index 1cd9447..0fa46cb 100755
--- a/openpower/ras/test_host_ras.robot
+++ b/openpower/ras/test_host_ras.robot
@@ -3,7 +3,7 @@
Resource ../../lib/utils.robot
Resource ../../lib/openbmc_ffdc.robot
Resource ../../lib/ras/host_utils.robot
-Resource ../../lib/resource.txt
+Resource ../../lib/resource.robot
Resource ../../lib/state_manager.robot
Resource ../../lib/openbmc_ffdc_methods.robot
Resource ../../lib/boot_utils.robot
diff --git a/openpower/test_inband_bmc_auth_reset.robot b/openpower/test_inband_bmc_auth_reset.robot
index 9f3dece..5b9f1fa 100644
--- a/openpower/test_inband_bmc_auth_reset.robot
+++ b/openpower/test_inband_bmc_auth_reset.robot
@@ -6,7 +6,7 @@
# - Delete the LDAP configuration if there was one.
# - Reset the root password back to the default one.
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/ipmi_client.robot
Resource ../lib/boot_utils.robot
Library ../lib/ipmi_utils.py
diff --git a/openpower/tests_openbmctool/test_openbmctool.robot b/openpower/tests_openbmctool/test_openbmctool.robot
index 5bd0fcd..260477a 100755
--- a/openpower/tests_openbmctool/test_openbmctool.robot
+++ b/openpower/tests_openbmctool/test_openbmctool.robot
@@ -38,7 +38,7 @@
Library ../../lib/gen_misc.py
Library ../../lib/gen_robot_valid.py
Resource ../../syslib/utils_os.robot
-Resource ../../lib/resource.txt
+Resource ../../lib/resource.robot
Suite Setup Suite Setup Execution
diff --git a/redfish/service_root/test_service_root.robot b/redfish/service_root/test_service_root.robot
index b9b9a26..e60793e 100644
--- a/redfish/service_root/test_service_root.robot
+++ b/redfish/service_root/test_service_root.robot
@@ -1,5 +1,5 @@
*** Settings ***
-Resource ../../lib/resource.txt
+Resource ../../lib/resource.robot
Resource ../../lib/bmc_redfish_resource.robot
Resource ../../lib/openbmc_ffdc.robot
diff --git a/snmp/test_bmc_snmp_config.robot b/snmp/test_bmc_snmp_config.robot
index 8d5ddd1..f70eddf 100644
--- a/snmp/test_bmc_snmp_config.robot
+++ b/snmp/test_bmc_snmp_config.robot
@@ -3,7 +3,7 @@
... configured and installed. For download, installation and
... configuration refer http://www.net-snmp.org/.
-Resource ../lib/snmp/resource.txt
+Resource ../lib/snmp/resource.robot
Resource ../lib/snmp/snmp_utils.robot
Resource ../lib/openbmc_ffdc.robot
diff --git a/syslib/utils_os.robot b/syslib/utils_os.robot
index 89a5d5e..9c060df 100755
--- a/syslib/utils_os.robot
+++ b/syslib/utils_os.robot
@@ -8,7 +8,7 @@
Resource ../lib/utils.robot
Resource ../lib/state_manager.robot
Resource ../lib/rest_client.robot
-Resource resource.txt
+Resource resource.robot
Library OperatingSystem
Library DateTime
diff --git a/systest/test_bmc_poll_errors.robot b/systest/test_bmc_poll_errors.robot
index ce5c0a2..6b999e1 100755
--- a/systest/test_bmc_poll_errors.robot
+++ b/systest/test_bmc_poll_errors.robot
@@ -3,7 +3,7 @@
Resource ../lib/rest_client.robot
Resource ../lib/openbmc_ffdc.robot
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/boot_utils.robot
Suite Setup Suite Setup Execution
diff --git a/systest/test_boot_acceptance.robot b/systest/test_boot_acceptance.robot
index 8210bd8..15e96a7 100644
--- a/systest/test_boot_acceptance.robot
+++ b/systest/test_boot_acceptance.robot
@@ -40,7 +40,7 @@
Library SSHLibrary
Library String
Library ../lib/bmc_ssh_utils.py
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../syslib/utils_os.robot
Resource ../lib/bmc_network_utils.robot
diff --git a/systest/test_io_eeh.robot b/systest/test_io_eeh.robot
index 03f9d5b..b5a18f7 100644
--- a/systest/test_io_eeh.robot
+++ b/systest/test_io_eeh.robot
@@ -60,7 +60,7 @@
Library SSHLibrary
Library String
Library ../lib/bmc_ssh_utils.py
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../syslib/utils_os.robot
Suite Setup Suite Setup Execution
diff --git a/systest/test_io_storage_eeh.robot b/systest/test_io_storage_eeh.robot
index 540cef3..c2086e7 100644
--- a/systest/test_io_storage_eeh.robot
+++ b/systest/test_io_storage_eeh.robot
@@ -3,7 +3,7 @@
Library SSHLibrary
Library String
Library ../lib/bmc_ssh_utils.py
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../syslib/utils_os.robot
# Test Parameters:
diff --git a/templates/test_openbmc_setup.robot b/templates/test_openbmc_setup.robot
index 527d702..4f83f9b 100644
--- a/templates/test_openbmc_setup.robot
+++ b/templates/test_openbmc_setup.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation Test suite to verify if the Robot setup is ready for use.
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/rest_client.robot
Resource ../lib/connection_client.robot
Resource ../lib/ipmi_client.robot
diff --git a/tests/ipmi/test_chassis.robot b/tests/ipmi/test_chassis.robot
index 1430c12..64cf8c3 100755
--- a/tests/ipmi/test_chassis.robot
+++ b/tests/ipmi/test_chassis.robot
@@ -6,7 +6,7 @@
Resource ../../lib/openbmc_ffdc.robot
Resource ../../lib/utils.robot
Resource ../../lib/boot_utils.robot
-Resource ../../lib/resource.txt
+Resource ../../lib/resource.robot
Resource ../../lib/state_manager.robot
Test Teardown Test Teardown Execution
diff --git a/tests/security/test_ssl.robot b/tests/security/test_ssl.robot
index bd13dec..0085f26 100644
--- a/tests/security/test_ssl.robot
+++ b/tests/security/test_ssl.robot
@@ -3,7 +3,7 @@
Suite Teardown Delete All Sessions
Resource ../../lib/rest_client.robot
-Resource ../../lib/resource.txt
+Resource ../../lib/resource.robot
Resource ../../lib/openbmc_ffdc.robot
Test Teardown FFDC On Test Case Fail
diff --git a/tests/test_certificate.robot b/tests/test_certificate.robot
index 7ade544..3469418 100755
--- a/tests/test_certificate.robot
+++ b/tests/test_certificate.robot
@@ -3,7 +3,7 @@
Documentation Test certificate in OpenBMC.
Resource ../lib/rest_client.robot
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/openbmc_ffdc.robot
Resource ../lib/certificate_utils.robot
diff --git a/tests/test_led.robot b/tests/test_led.robot
index 7e96d31..206c4c4 100644
--- a/tests/test_led.robot
+++ b/tests/test_led.robot
@@ -4,7 +4,7 @@
Resource ../lib/rest_client.robot
Resource ../lib/state_manager.robot
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/openbmc_ffdc.robot
Resource ../lib/utils.robot
diff --git a/tests/test_ledgroup.robot b/tests/test_ledgroup.robot
index f93f9d1..e166842 100644
--- a/tests/test_ledgroup.robot
+++ b/tests/test_ledgroup.robot
@@ -3,7 +3,7 @@
Documentation Test LED groups in OpenBMC.
Resource ../lib/rest_client.robot
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/openbmc_ffdc.robot
Suite Setup Setup The Suite
diff --git a/tests/test_rest_interfaces.robot b/tests/test_rest_interfaces.robot
index 856d23d..8e68695 100644
--- a/tests/test_rest_interfaces.robot
+++ b/tests/test_rest_interfaces.robot
@@ -3,7 +3,7 @@
Resource ../lib/rest_client.robot
Resource ../lib/openbmc_ffdc.robot
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/utils.robot
Library Collections
diff --git a/tests/test_service_restart_policy.robot b/tests/test_service_restart_policy.robot
index a094c39..db6947e 100644
--- a/tests/test_service_restart_policy.robot
+++ b/tests/test_service_restart_policy.robot
@@ -2,7 +2,7 @@
Documentation Verify Auto Restart policy for set of mission critical
... services needed for functioning on BMC.
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Resource ../lib/connection_client.robot
Resource ../lib/openbmc_ffdc.robot
Resource ../lib/utils.robot
diff --git a/tests/test_time.robot b/tests/test_time.robot
index 5ced93a..cf8b04b 100644
--- a/tests/test_time.robot
+++ b/tests/test_time.robot
@@ -5,7 +5,7 @@
Resource ../lib/ipmi_client.robot
Resource ../lib/openbmc_ffdc.robot
Resource ../lib/state_manager.robot
-Resource ../lib/resource.txt
+Resource ../lib/resource.robot
Library OperatingSystem
Library DateTime
diff --git a/tools/oem/ibm/factory_reset_bmc.robot b/tools/oem/ibm/factory_reset_bmc.robot
index b96ff35..1ed2b79 100644
--- a/tools/oem/ibm/factory_reset_bmc.robot
+++ b/tools/oem/ibm/factory_reset_bmc.robot
@@ -5,7 +5,7 @@
# -v OPENBMC_SERIAL_HOST:xx.xx.xx.152 -v OPENBMC_SERIAL_PORT:2002
# -v OPENBMC_MODEL:witherspoon factory_reset.robot
-Resource ../../../lib/resource.txt
+Resource ../../../lib/resource.robot
Resource ../../../lib/oem/ibm/serial_console_client.robot
Library ../../../lib/bmc_ssh_utils.py
diff --git a/xcat/test_power_operation.robot b/xcat/test_power_operation.robot
index 7ecca59..b2155d3 100644
--- a/xcat/test_power_operation.robot
+++ b/xcat/test_power_operation.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation Module for testing BMC via XCAT.
-Resource ../lib/xcat/resource.txt
+Resource ../lib/xcat/resource.robot
Resource ../lib/xcat/xcat_utils.robot
Resource ../lib/state_manager.robot
diff --git a/xcat/test_xcat_group.robot b/xcat/test_xcat_group.robot
index 57a19b0..36441e4 100644
--- a/xcat/test_xcat_group.robot
+++ b/xcat/test_xcat_group.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation Module for testing BMC via XCAT.
-Resource ../lib/xcat/resource.txt
+Resource ../lib/xcat/resource.robot
Resource ../lib/xcat/xcat_utils.robot
Library OperatingSystem
diff --git a/xcat/test_xcat_inventory.robot b/xcat/test_xcat_inventory.robot
index 65d3f74..c8a9f94 100644
--- a/xcat/test_xcat_inventory.robot
+++ b/xcat/test_xcat_inventory.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation Module for testing BMC inventory via XCAT.
-Resource ../lib/xcat/resource.txt
+Resource ../lib/xcat/resource.robot
Resource ../lib/xcat/xcat_utils.robot
Resource ../lib/state_manager.robot