Fix network suite setup to take session before continuing
Changes:
- Added redfish login at the suite setup
Tested:
- Ran successfully redfish/managers/test_bmc_network_conf.robot
Change-Id: I9840435c7ddb912dde1a0bbddc0cd9b37a2fc0f1
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index ae59298..e9d21d1 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -781,6 +781,7 @@
# - Get DHCP IPv4 settings - ip address, gateway, subnetmask
# - And set the same as static IP address
+ Redfish.Login
${DHCPEnabled}= Get IPv4 DHCP Enabled Status
Set Suite Variable ${DHCPEnabled}
@@ -958,4 +959,4 @@
${gateway}= Set Variable ${resp['Gateway']}
${subnetmask}= Set Variable ${resp['SubnetMask']}
Return From Keyword ${ip_addr} ${gateway} ${subnetmask}
- END
\ No newline at end of file
+ END