Configure invalid IPv6 Addresses and verify
Changes:
- Added invalid ipv6 multi short notation and
hexadecimal ipv6 address test case.
Tested:
Ran and Tested on BMC Environment.
Change-Id: I48d299e62c0a7dee7a2ef45556cb31d0405d3ccb
Signed-off-by: Vishal Kurkarni <kvishal@in.ibm.com>
diff --git a/redfish/managers/test_bmc_ipv6.robot b/redfish/managers/test_bmc_ipv6.robot
index 5eb19b0..42083b0 100644
--- a/redfish/managers/test_bmc_ipv6.robot
+++ b/redfish/managers/test_bmc_ipv6.robot
@@ -21,7 +21,8 @@
${test_ipv6_addr} 2001:db8:3333:4444:5555:6666:7777:8888
${test_ipv6_invalid_addr} 2001:db8:3333:4444:5555:6666:7777:JJKK
${test_ipv6_addr1} 2001:db8:3333:4444:5555:6666:7777:9999
-
+${invalid_hexadec_ipv6} x:x:x:x:x:x:10.5.5.6
+${ipv6_multi_short} 2001::33::111
# Valid prefix length is a integer ranges from 1 to 128.
${test_prefix_length} 64
${ipv6_gw_addr} 2002:903:15F:32:9:3:32:1
@@ -149,8 +150,11 @@
[Tags] Configure_Invalid_Static_IPv6_And_Verify
[Template] Configure IPv6 Address On BMC
- #invalid_ipv6 prefix length valid_status_code
- ${ipv4_hexword_addr} ${test_prefix_length} ${HTTP_BAD_REQUEST}
+ #invalid_ipv6 prefix length valid_status_code
+ ${ipv4_hexword_addr} ${test_prefix_length} ${HTTP_BAD_REQUEST}
+ ${invalid_hexadec_ipv6} ${test_prefix_length} ${HTTP_BAD_REQUEST}
+ ${ipv6_multi_short} ${test_prefix_length} ${HTTP_BAD_REQUEST}
+
Configure IPv6 Static Default Gateway And Verify