Added new test for VMI menu
Changes:
- Added test
"Disable VMI DHCPv6 And Verify"
Tested:
- Ran successfully test_vmi.robot
Change-Id: Ie1082d782f578fe644f394655a4b9efd331830a4
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 7962a9e..9591706 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -574,6 +574,19 @@
Should Be Equal ${vmi_ipv6addr["PrefixLength"]} ${prefix_length}
+Disable VMI DHCPv6 Property And Verify
+ [Documentation] Disable VMI DHCPv6 property and verify IPv6 address origin is set to
+ ... static and DHCPv6 address is erased.
+ [Tags] Disable_VMI_DHCPv6_And_Verify
+ [Setup] Set VMI DHCPv6 Property Enabled
+
+ Set VMI DHCPv6 Property Disabled
+
+ # Verify IPv6 address origin is set to static and DHCPv6 address is erased.
+ ${vmi_ipv6addr}= Verify VMI IPv6 Address Static
+ Should Be Equal ${vmi_ipv6addr["Address"]} ${default_ipv6addr}
+
+
*** Keywords ***
Suite Setup Execution