Added coexistence of linklocalv6 and dhcpv6 verification test
Changes:
- Added the test case:
Verify Coexistence Of Linklocalv6 And DHCPv6 On BMC
Tested:
Ran and Tested on BMC Environment.
Change-Id: Idc2c09e726726df72a67dcba38a30c9a7573bc65
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 5ad4073..df431ad 100644
--- a/redfish/managers/test_bmc_ipv6.robot
+++ b/redfish/managers/test_bmc_ipv6.robot
@@ -318,6 +318,16 @@
Check Coexistence Of Static IPv6 And SLAAC
+Verify Coexistence Of Link Local And DHCPv6 On BMC
+ [Documentation] Verify link local And dhcpv6 both coexist.
+ [Tags] Verify_Coexistence_Of_Link_Local_And_DHCPv6_On_BMC
+ [Setup] Set DHCPv6 Property Enabled ${2}
+
+ Sleep ${NETWORK_TIMEOUT}s
+
+ Check Coexistence Of Link Local And DHCPv6
+
+
*** Keywords ***
Suite Setup Execution
@@ -1008,6 +1018,19 @@
... Get Address Origin List And Address For Type SLAAC
+Check Coexistence Of Link Local And DHCPv6
+ [Documentation] Verify both link local and dhcpv6 coexist.
+
+ # Verify the address origin contains dhcpv6 and link local.
+ @{ipv6_address_origin_list} ${ipv6_link_local_addr}=
+ ... Get Address Origin List And Address For Type LinkLocal
+
+ @{ipv6_address_origin_list} ${ipv6_dhcpv6_addr}=
+ ... Get Address Origin List And Address For Type DHCPv6
+
+ Should Match Regexp ${ipv6_link_local_addr} ${linklocal_addr_format}
+
+
Check If Linklocal Address Is In Correct Format
[Documentation] Linklocal address has network part fe80 and host part EUI64.