Added new test for VMI menu
Changes:
- Added test
"Disable VMI DHCPv4 When SLAAC Is Enabled And Verify"
Tested:
- Ran successfully test_vmi.robot
Change-Id: Id400661806123317df984a9895eacc7e78e270d1
Signed-off-by: Megha G N <Megha.G.N@ibm.com>
diff --git a/openpower/ext_interfaces/test_vmi.robot b/openpower/ext_interfaces/test_vmi.robot
index c526603..afccf95 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -534,6 +534,22 @@
Should Be Equal ${vmi_ipv6addr["Address"]} ${default_ipv6addr}
+Disable VMI DHCPv4 When SLAAC Is Enabled And Verify
+ [Documentation] Disable VMI DHCPv4 parameter when SLAACv6 is enabled
+ ... and check whether the IPv4 address origin is set to static and
+ ... DHCPv4 address is getting erased.
+ [Tags] Disable_VMI_DHCPv4_When_SLAAC_Is_Enabled_And_Verify
+ [Setup] Set VMI IPv4 Origin ${True}
+
+ # Set IPv6 origin to SLAAC.
+ Set VMI SLAACv6 Origin ${True}
+ Verify VMI IPv6 Address SLAAC
+
+ # Disable VMI DHCPv4 and check IPv4 address origin is set to static.
+ Set VMI IPv4 Origin ${False}
+ Verify VMI Network Interface Details ${default} Static ${default} ${default}
+
+
*** Keywords ***
Suite Setup Execution