Added new test to vmi menu

Changes:
    - Added test
    "Enable VMI DHCPv6 When IPv6 Origin Is Static And Verify"

Tested:
    - Ran successfully test_vmi.robot

Change-Id: I0c91ea4506d5efbf3d10ad8b75862327ee70bac0
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 b8da632..e6ca5f9 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -664,6 +664,24 @@
     Should Be Equal  ${vmi_ipv6addr["Address"]}  ${default_ipv6addr}
 
 
+Enable VMI DHCPv6 When IPv6 Origin Is Static And Verify
+    [Documentation]  Enable VMI DHCPv6 when IPv6 origin is in static and verify
+    ...  origin is set to DHCP and check if static IPv6 address is erased.
+    [Tags]  Enable_VMI_DHCPv6_When_IPv6_Origin_Is_Static_And_Verify
+
+    Set Static VMI IPv6 Address  ${test_vmi_ipv6addr}  ${prefix_length}
+    ${vmi_ipv6addr_static}=  Verify VMI IPv6 Address  Static
+
+    Sleep  5s
+
+    # Enable DHCPv6 property.
+    Set VMI DHCPv6 Property  Enabled
+
+    # Check origin is set to DHCP and static IPv6 address is erased.
+    ${vmi_dhcpv6addr}=  Verify VMI IPv6 Address  DHCPv6
+    Should Not Be Equal  ${vmi_dhcpv6addr["Address"]}  ${vmi_ipv6addr_static["Address"]}
+
+
 *** Keywords ***
 
 Suite Setup Execution