Fixed coding issues in below keyword and test case
1.Suite Setup Execution.
2.Disable VLAN Via IPMI When Multiple VLAN Exist On BMC.
Change-Id: Id036ca213ac3af759c9fadc5216b1e6783be3cec
Signed-off-by: Anves Kumar rayankula <anvesr77@in.ibm.com>
diff --git a/ipmi/test_ipmi_network_configuration.robot b/ipmi/test_ipmi_network_configuration.robot
index c862ed4..52d6007 100644
--- a/ipmi/test_ipmi_network_configuration.robot
+++ b/ipmi/test_ipmi_network_configuration.robot
@@ -51,8 +51,8 @@
[Documentation] Disable VLAN Via IPMI When Multiple VLAN Exist On BMC.
[Tags] Disable_VLAN_Via_IPMI_When_LAN_And_VLAN_Exist_On_BMC
- FOR ${id} IN @{vlan_ids}
- Create VLAN ${vlan_id_for_rest}
+ FOR ${vlan_id} IN @{vlan_ids}
+ Create VLAN ${vlan_id}
END
Create VLAN Via IPMI off
@@ -189,6 +189,10 @@
[Documentation] Suite Setup Execution.
Redfish.Login
+
+ ${initial_lan_config}= Get LAN Print Dict ${CHANNEL_NUMBER} ipmi_cmd_type=inband
+ Set Suite Variable ${initial_lan_config}
+
Run Inband IPMI Standard Command
... lan set ${CHANNEL_NUMBER} ipsrc static login_host=${1}