Added coexistence of static ipv6 and slaac verification test
Changes:
- Added the test case:
Verify Coexistence Of Static IPv6 And SLAAC On BMC
Tested:
Ran and Tested on BMC Environment.
Change-Id: I9efd074cd60cc0f25afe904aa934b78b10ed1892
Signed-off-by: Abhijith Naik <Abhijith.Naik@ibm.com>
diff --git a/redfish/managers/test_bmc_ipv6.robot b/redfish/managers/test_bmc_ipv6.robot
index f05a306..5ad4073 100644
--- a/redfish/managers/test_bmc_ipv6.robot
+++ b/redfish/managers/test_bmc_ipv6.robot
@@ -306,6 +306,18 @@
Configure Multiple IPv6 Address on BMC ${test_prefix_length}
+Verify Coexistence Of Static IPv6 And SLAAC On BMC
+ [Documentation] Verify static IPv6 And SLAAC both exist.
+ [Tags] Verify_Coexistence_Of_Static_IPv6_And_SLAAC_On_BMC
+ [Setup] Configure IPv6 Address On BMC ${test_ipv6_addr} ${test_prefix_length}
+ Set SLAAC Configuration State And Verify ${True}
+ [Teardown] Delete IPv6 Address ${test_ipv6_addr}
+
+ Sleep ${NETWORK_TIMEOUT}s
+
+ Check Coexistence Of Static IPv6 And SLAAC
+
+
*** Keywords ***
Suite Setup Execution
@@ -985,6 +997,17 @@
Should Contain ${ipv6_addressorigin_list} Static
+Check Coexistence Of Static IPv6 And SLAAC
+ [Documentation] Verify both static IPv6 and SLAAC exist.
+
+ # Verify the address origin contains static and slaac.
+ @{ipv6_addressorigin_list} ${ipv6_static_addr}=
+ ... Get Address Origin List And Address For Type Static
+
+ @{ipv6_addressorigin_list} ${ipv6_slaac_addr}=
+ ... Get Address Origin List And Address For Type SLAAC
+
+
Check If Linklocal Address Is In Correct Format
[Documentation] Linklocal address has network part fe80 and host part EUI64.