qos-settings

QOS Settings.
get /pools/{pool}/qos

List the current qos limits of a pool.

Parameters
pool string path Required
Responses
200 successful operation
QosCommandsResponse array
QosCommandsResponse object
The Qos setting as defined in the doc.
[
  {
    "value": 0,
    "setting": "RBD_QOS_IOPS_LIMIT",
    "inherited": 0
  }
]
post /pools/{pool}/qos

Set qos limits of a pool.

Parameters
pool string path Required
body array
QosCommandLimit object
The Qos command to be executed.
[
  {
    "limit": 0,
    "command": "string"
  }
]
Responses
200 successful operation
QosCommandAppliedResponse array
QosCommandAppliedResponse object
[
  {
    "command": "string",
    "success": true,
    "errorMessage": "string"
  }
]
delete /pools/{pool}/qos

Delete qos limits of a pool.

Parameters
pool string path Required
body object
The Qos command to be executed.
{
  "limit": 0,
  "command": "string"
}
Responses
200 successful operation
QosCommandAppliedResponse object
{
  "command": "string",
  "success": true,
  "errorMessage": "string"
}
get /pools/{pool}/rbds/{rbd}/qos

List the current qos limits of an image.

Parameters
pool string path Required
rbd string path Required
namespace string query
The namespace to operate on, optional, default is the default namespace
Responses
200 successful operation
QosCommandsResponse array
QosCommandsResponse object
The Qos setting as defined in the doc.
[
  {
    "value": 0,
    "setting": "RBD_QOS_IOPS_LIMIT",
    "inherited": 0
  }
]
post /pools/{pool}/rbds/{rbd}/qos

Set qos limits of an image.

Parameters
pool string path Required
rbd string path Required
namespace string query
The namespace to operate on, optional, default is the default namespace
body array
QosCommandLimit object
The Qos command to be executed.
[
  {
    "limit": 0,
    "command": "string"
  }
]
Responses
200 successful operation
QosCommandAppliedResponse array
QosCommandAppliedResponse object
[
  {
    "command": "string",
    "success": true,
    "errorMessage": "string"
  }
]
delete /pools/{pool}/rbds/{rbd}/qos

Delete qos limit of an image.

Parameters
pool string path Required
rbd string path Required
namespace string query
The namespace to operate on, optional, default is the default namespace
body object
The Qos command to be executed.
{
  "limit": 0,
  "command": "string"
}
Responses
200 successful operation
QosCommandAppliedResponse object
{
  "command": "string",
  "success": true,
  "errorMessage": "string"
}