Added VMI network configuraton testcase
Testcase added:
- Delete VMI Static IP Address And Verify
Change-Id: I064ffe65d3435dfaf888eed18fe19b4dbfa21a2f
Signed-off-by: Anves Kumar rayankula <anvesr77@in.ibm.com>
diff --git a/openpower/ext_interfaces/test_vmi.robot b/openpower/ext_interfaces/test_vmi.robot
index ae40e9e..30b6f27 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -101,6 +101,19 @@
Verify VMI Network Interface Details ${VMI_IP} Static ${VMI_GATEWAY} ${VMI_NETMASK} ${True}
+Delete VMI Static IP Address And Verify
+ [Documentation] Delete VMI static IP address and verify.
+ [Tags] Delete_VMI_Static_IP_Address_And_Verify
+
+ Set Static IPv4 Address To VMI 10.10.20.30 0.0.0.0 255.255.252.0
+ Verify VMI Network Interface Details 10.10.20.30 Static 0.0.0.0 255.255.252.0 ${True}
+ Delete VMI IPv4 Address IPv4Addresses ${HTTP_ACCEPTED}
+ ${active_channel_config}= Get Active Channel Config
+ ${resp}= Redfish.Get
+ ... /redfish/v1/Systems/hypervisor/EthernetInterfaces/${active_channel_config['${CHANNEL_NUMBER}']['name']}
+ Should Be Empty ${resp.dict["IPv4Addresses"]}
+
+
*** Keywords ***
Get VMI Network Interface Details