Configuring a BMC IP Address (IPv4)
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "wedgeBmc": { "attributes": { "ipAddr": "1.2.3.4", "ipEnabled": "yes" }}}]}}
Response
{ imdata:[] }
Copy
<System> <wedge-items> <ipAddr>1.2.3.4</ipAddr> <ipEnabled>yes</ipEnabled> </wedge-items> </System>