Code spell, alignment and spacing fixes
Change-Id: I69ae3447d4025dc024cbfe0a83a15595a76faf4c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish.py b/lib/bmc_redfish.py
index ae78e8c..2923b2e 100644
--- a/lib/bmc_redfish.py
+++ b/lib/bmc_redfish.py
@@ -124,7 +124,7 @@
Perform a DELETE request.
Description of argument(s):
- resource_path URI resource absoulute path
+ resource_path URI resource absolute path
(e.g. "/redfish/v1/SessionService/Sessions/8d1a9wiiNL").
"""
self._rest_response_ = self._robj_.delete(resource_path)
diff --git a/lib/bmc_redfish_resource.robot b/lib/bmc_redfish_resource.robot
index ba5d852..10b9e47 100644
--- a/lib/bmc_redfish_resource.robot
+++ b/lib/bmc_redfish_resource.robot
@@ -1,10 +1,11 @@
*** Settings ***
Documentation BMC redfish resource keyword.
+Resource resource.txt
+Resource rest_response_code.robot
Library bmc_redfish.py
... ${OPENBMC_HOST} ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
... WITH NAME redfish
-Resource rest_response_code.robot
Library disable_warning_urllib.py
*** Keywords ***
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index 9194739..8bb1d4a 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -2,9 +2,9 @@
Documentation Network interface configuration and verification
... tests.
-Resource ../../lib/bmc_redfish_resource.robot
-Resource ../../lib/bmc_network_utils.robot
-Resource ../../lib/openbmc_ffdc.robot
+Resource ../../lib/bmc_redfish_resource.robot
+Resource ../../lib/bmc_network_utils.robot
+Resource ../../lib/openbmc_ffdc.robot
Test Setup Test Setup Execution
Test Teardown Test Teardown Execution
@@ -13,14 +13,14 @@
Get IP Address And Verify
[Documentation] Get IP Address And Verify.
- [Tags] Get_IP_Address_And_Verify
+ [Tags] Get_IP_Address_And_Verify
: FOR ${network_configuration} IN @{network_configurations}
\ Validate IP On BMC ${network_configuration['Address']}
Get Netmask And Verify
[Documentation] Get Netmask And Verify.
- [Tags] Get_Netmask_And_Verify
+ [Tags] Get_Netmask_And_Verify
: FOR ${network_configuration} IN @{network_configurations}
\ Validate Netmask On BMC ${network_configuration['SubnetMask']}
@@ -75,6 +75,7 @@
@{network_configurations}= Get From Dictionary ${resp.dict} IPv4Addresses
[Return] @{network_configurations}
+
Validate IP On BMC
[Documentation] Validate IP on BMC.
[Arguments] ${ip}
@@ -87,6 +88,7 @@
Should Contain Match ${ip_data} ${ip}/*
... msg=IP address does not exist.
+
Validate Netmask On BMC
[Documentation] Validate netmask on BMC.
[Arguments] ${netmask}
@@ -96,6 +98,7 @@
# TBD- openbmc/openbmc-test-automation#1541
+
Test Teardown Execution
[Documentation] Test teardown execution.