fix: update status code
Changes :
Update the status code for static IP without gateway
Tested :
Ran and Tested on BMC-HMC Environment
Change-Id: I83b1d9f378e23abf4aefcde9a4471c9d2fe990c0
Signed-off-by: Anvesh Kumar Rayankula <anvesh.kumar.rayankula@ibm.com>
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index 8f1ccce..a3c5fef 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -653,7 +653,7 @@
${active_channel_config}= Get Active Channel Config
${ethernet_interface}= Set Variable ${active_channel_config['${CHANNEL_NUMBER}']['name']}
Redfish.patch ${REDFISH_NW_ETH_IFACE}${ethernet_interface}
- ... body=&{payload} valid_status_codes=[${HTTP_BAD_REQUEST}]
+ ... body=&{payload} valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
Test Network Response On Specified Host State