Added new testcase to VMI
Changes:
- Added testcase "Enable VMI DHCPv6
When DHCPv4 Is Enabled And Verify"
Tested:
- Ran Successfully test_vmi.robot
Change-Id: Iab9fe4ac66d03d413cb9d2840e6a5e873b7c116a
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 706188a..a495f94 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -760,6 +760,22 @@
Should Be Equal ${vmi_ipv6addr["PrefixLength"]} ${prefix_length}
+Enable VMI DHCPv6 When DHCPv4 Is Enabled And Verify
+ [Documentation] Enable VMI DHCPv6 when DHCPv4 is enabled and verify
+ ... DHCPv4 settings are intact and verify IPv6 address origin is set to DHCP.
+ [Tags] Enable_VMI_DHCPv6_When_DHCPv4_Is_Enabled_And_Verify
+ [Setup] Set VMI IPv4 Origin ${True}
+
+ # Enable DHCPv6 property.
+ Set VMI DHCPv6 Property Enabled
+
+ # Check IPv6 origin is set to DHCP.
+ Verify VMI IPv6 Address DHCPv6
+
+ # Check there is no impact on IPv4 settings, IPv4 address origin should be DHCP.
+ Verify VMI Network Interface Details ${default} DHCP ${default} ${default}
+
+
*** Keywords ***
Suite Setup Execution