Enable DHCP On Eth1 and Check Persistency On Reboot
Changes:
- New Test Case to enable DHCP and check persistency on reboot
Tested:
- Ran and tested on BMC Environment
Change-Id: I0e75159286399207b8a1a1112acf2bfdc3c296eb
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/redfish/managers/test_multiple_interfaces_dhcp.robot b/redfish/managers/test_multiple_interfaces_dhcp.robot
index 8f818cd..2064dbd 100644
--- a/redfish/managers/test_multiple_interfaces_dhcp.robot
+++ b/redfish/managers/test_multiple_interfaces_dhcp.robot
@@ -96,6 +96,17 @@
# Before and after IP details must match.
Should Be Equal ${ip_data_before} ${ip_data_after}
+Enable DHCP On Eth1 And Check Persistency On Reboot
+ [Documentation] Enable DHCP on Eth1 and check persistency
+ ... on reboot and should not switch to static.
+ [Tags] Enable_DHCP_On_Eth1_And_Check_Persistency_On_Reboot
+ [Setup] Set DHCPEnabled To Enable Or Disable False eth1
+
+ Set DHCPEnabled To Enable Or Disable True eth1
+ Redfish OBMC Reboot (off) stack_mode=skip
+ ${DHCPEnabled}= Get IPv4 DHCP Enabled Status ${2}
+ Should Be Equal ${DHCPEnabled} ${True}
+
Switch Between DHCP And Static
[Documentation] Switch between DHCP and static.
[Tags] Switch_Between_DHCP_And_Static