summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorJian Zhang <zhangjian.3032@bytedance.com>2022-12-13 08:50:35 +0300
committerEd Tanous <ed@tanous.net>2022-12-16 00:19:01 +0300
commit1e3f85e68076b6270ce3afcae71a88f5b71fbfb8 (patch)
treefbe4488a950ff3a2bc36f1d838cca6e065c11ab9 /subprojects
parent079360ae6e04d3f2245e00d70f83d15c5cad3630 (diff)
downloadbmcweb-1e3f85e68076b6270ce3afcae71a88f5b71fbfb8.tar.xz
Correct the dhcp object path
Due to the path of the dhcp has been changed from `/xyz/openbmc_project/network/config/dhcp` to `/xyz/openbmc_project/network/dhcp`. Cause cannot get/set the dhcp configuration. See: https: //gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/58725 Tested: ``` Without internal error. ~# curl -k -X PATCH -H "X-Auth-Token: $token" https://$bmc/redfish/v1/Managers/bmc/EthernetInterfaces/eth1 \ --data-raw '{"DHCPv4":{"DHCPEnabled":false}}' { "@Message.ExtendedInfo": [ { "@odata.type": "#Message.v1_1_1.Message", "Message": "The request completed successfully.", "MessageArgs": [], "MessageId": "Base.1.13.0.Success", "MessageSeverity": "OK", "Resolution": "None" } ] } ``` Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com> Change-Id: Ib455cbe69c47b3075321a8225a5a69bff136dbe8
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions