Added network octet validation test cases.
Resolves openbmc/openbmc-test-automation#1773
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
Change-Id: Ic3defe02898439de11cba0462e69c2bfbf5b78dd
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index 6480f3b..c660611 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -134,6 +134,62 @@
Verify IP On BMC ${test_ipv4_addr}
Delete IP Address ${test_ipv4_addr}
+Add Fourth Octet Threshold IP And Verify
+ [Documentation] Add fourth octet threshold IP and verify.
+ [Tags] Add_Fourth_Octet_Threshold_IP_And_Verify
+
+ Add IP Address 10.7.7.254 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 10.7.7.254
+
+Add Fourth Octet Lowest IP And Verify
+ [Documentation] Add fourth octet lowest IP and verify.
+ [Tags] Add_Fourth_Octet_Lowest_IP_And_Verify
+
+ Add IP Address 10.7.7.1 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 10.7.7.1
+
+Add Third Octet Threshold IP And Verify
+ [Documentation] Add third octet threshold IP and verify.
+ [Tags] Add_Third_Octet_Threshold_IP_And_Verify
+
+ Add IP Address 10.7.255.7 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 10.7.255.7
+
+Add Third Octet Lowest IP And Verify
+ [Documentation] Add third octet lowest IP and verify.
+ [Tags] Add_Third_Octet_Lowest_IP_And_Verify
+
+ Add IP Address 10.7.0.7 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 10.7.0.7
+
+Add Second Octet Threshold IP And Verify
+ [Documentation] Add second octet threshold IP and verify.
+ [Tags] Add_Second_Octet_Threshold_IP_And_Verify
+
+ Add IP Address 10.255.7.7 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 10.255.7.7
+
+Add Second Octet Lowest IP And Verify
+ [Documentation] Add second octet lowest IP and verify.
+ [Tags] Add_Second_Octet_Lowest_IP_And_Verify
+
+ Add IP Address 10.0.7.7 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 10.0.7.7
+
+Add First Octet Threshold IP And Verify
+ [Documentation] Add first octet threshold IP and verify.
+ [Tags] Add_First_Octet_Threshold_IP_And_Verify
+
+ Add IP Address 223.7.7.7 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 223.7.7.7
+
+Add First Octet Lowest IP And Verify
+ [Documentation] Add first octet lowest IP and verify.
+ [Tags] Add_First_Octet_Lowest_IP_And_Verify
+
+ Add IP Address 1.7.7.7 ${test_subnet_mask} ${test_gateway}
+ Delete IP Address 1.7.7.7
+
*** Keywords ***
Test Setup Execution