Added test to enable VMI SLAAC when DHCPv4 is enabled and verify
Changes:
- Added test
"Enable VMI SLAAC When DHCPv4 Is Enabled And Verify""
Tested:
- Ran successfully test_vmi.robot
Change-Id: If592f6daca80a0106cc4942a706e95d146ffb543
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 d701082..91d43b6 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -587,6 +587,21 @@
Should Be Equal ${vmi_ipv6addr["Address"]} ${default_ipv6addr}
+Enable VMI SLAAC When DHCPv4 Is Enabled And Verify
+ [Documentation] On VMI enable SLAAC when DHCPv4 is enabled and verify DHCPv4 settings are intact
+ ... and IPv6 origin is set to SLAAC & it gets assigned with SLAAC IPv6 address and this
+ ... works on the setup where router advertise network prefix.
+ [Tags] Enable_VMI_SLAAC_When_DHCPv4_Is_Enabled_And_Verify
+ [Setup] Set VMI IPv4 Origin ${True}
+
+ # Enable Autoconfig address and check whether IPv6 address origin is set to SLAAC.
+ Set VMI SLAACv6 Origin ${True}
+ Verify VMI IPv6 Address SLAAC
+
+ # 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