Host
Modify host details
put/v1beta/{tenantId}/host/hosts/{hostId}
Request body
Example request
{
"hostName": "opensds-node1",
"ip": "8.8.8.8",
"port": 22,
"username": "root",
"password": "password",
"initiators": [
{
"portName": "20000024ff5bb888",
"protocol": "iscsi"
}
]
}Response
OK
Example response
{
"id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
"createdAt": "2017-07-10T14:36:58.014Z",
"updatedAt": "2017-07-10T14:36:58.014Z",
"initiators": [
{
"portName": "20000024ff5bb888",
"protocol": "iscsi"
}
]
}