PATCH – Update BMC network service configurations
Use the PATCH method to update properties in the network protocol resource in a BMC.
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/Managers/1/NetworkProtocol
Request body
Properties to be updated are shown as bellow, all of these properties can be changed individually.
Field | Type | Description | |||
---|---|---|---|---|---|
HTTPS | Object | Settings for this Manager's HTTPS protocol support. | |||
Port | Number | Indicates the protocol port. | |||
SSH | Object | Settings for this Manager's SSH (Secure Shell) protocol support | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. | |||
Port | Number | Indicates the protocol port. | |||
VirtualMedia | Object | Settings for this Manager's Virtual Media support | |||
Port | Number | Indicates the protocol port. | |||
IPMI | Object | Settings for this Manager's IPMI-over-LAN protocol support. | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. | |||
SSDP | Object | Settings for this Manager's SSDP support. | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. Fixed value “true”. | |||
NTP | Object | Settings for this Manager's NTP support | |||
NTPServers | Array | Items: string List of NTP servers IP | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. | |||
SNMP | Object | Settings for this Manager's SNMP support | |||
EnableSNMPv3 | Boolean | Indicates if access via SNMPv3 is enabled. | |||
Port | Number | Indicate the protocol port. | |||
DHCP | Object | Settings for this Manager's DHCP support | |||
ProtocolEnabled | Boolean | Indicate if the protocol is enabled or disabled. | |||
DHCPv6 | Object | Settings for this Manager’s DHCPv6 support | |||
ProtocolEnabled | Boolean | Indicate if the protocol is enabled or disabled. |
Response
The response returns same content as GET operation with updated properties.
Status code
HTTP STATUS Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example is PATCH body.
{
"HTTPS" : {
"Port" : 445
}
}
The following example JSON response is returned:
{
…
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol",
"HTTPS": {
"ProtocolEnabled": true,
"Port": 445,
"Certificates": {
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates"
}
},
…
}