Added test cases for MAC address validation scenarios.

Added Test Cases:
    - Configure out of range MAC address.
    - Configure less byte MAC address.
    - Configure more byte MAC address.

Resolves openbmc/openbmc-test-automation#1680

Change-Id: I1eaf1dabff054c1f054b3fddb74eff7f6751eb70
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
diff --git a/redfish/managers/test_bmc_network_mac.robot b/redfish/managers/test_bmc_network_mac.robot
index 8f42071..50585d5 100644
--- a/redfish/managers/test_bmc_network_mac.robot
+++ b/redfish/managers/test_bmc_network_mac.robot
@@ -16,6 +16,13 @@
 ${valid_mac}         AA:E2:84:14:28:79
 ${zero_mac}          00:00:00:00:00:00
 ${broadcast_mac}     FF:FF:FF:FF:FF:FF
+${out_of_range_mac}  AA:FF:FF:FF:FF:100
+
+# There will be 6 bytes in MAC address (e.g. xx.xx.xx.xx.xx.xx).
+# Here trying to configure xx.xx.xx.xx.xx
+${less_byte_mac}     AA:AA:AA:AA:BB
+# Here trying to configure xx.xx.xx.xx.xx.xx.xx
+${more_byte_mac}     AA:AA:AA:AA:AA:AA:BB
 
 # MAC address with special characters.
 ${special_char_mac}  &A:$A:AA:AA:AA:^^
@@ -70,6 +77,30 @@
     OBMC Reboot (off)
     Validate MAC On BMC  ${valid_mac}
 
+Configure Out Of Range MAC And Verify
+    [Documentation]  Configure out of range MAC via Redfish and verify.
+    [Tags]  Configure_Out_Of_Range_MAC_And_Verify
+
+    [Template]  Configure MAC Settings
+    # MAC address        scenario
+    ${out_of_range_mac}  error
+
+Configure Less Byte MAC And Verify
+    [Documentation]  Configure less byte MAC via Redfish and verify.
+    [Tags]  Configure_Less_Byte_MAC_And_Verify
+
+    [Template]  Configure MAC Settings
+    # MAC address     scenario
+    ${less_byte_mac}  error
+
+Configure More Byte MAC And Verify
+    [Documentation]  Configure more byte MAC via Redfish and verify.
+    [Tags]  Configure_Less_Byte_MAC_And_Verify
+
+    [Template]  Configure MAC Settings
+    # MAC address     scenario
+    ${more_byte_mac}  error
+
 *** Keywords ***
 
 Test Teardown Execution