qos-settings

QOS Settings.

GET /pools/{pool}/qos

Parameters

pool
string
path
-

Endpoint

curl -X GET http://mgmt-node:8080/api/pools/{pool}/qos
                

Response 200

setting
string
optional
[RBD_QOS_IOPS_LIMIT, RBD_QOS_BPS_LIMIT, RBD_QOS_READ_IOPS_LIMIT, RBD_QOS_WRITE_IOPS_LIMIT, RBD_QOS_READ_BPS_LIMIT, RBD_QOS_WRITE_BPS_LIMIT, RBD_QOS_BPS_BURST, RBD_QOS_IOPS_BURST, RBD_QOS_READ_BPS_BURST, RBD_QOS_READ_IOPS_BURST, RBD_QOS_WRITE_BPS_BURST, RBD_QOS_WRITE_IOPS_BURST]
value
integer
optional
The current limit.

Example response

[
  {
    "setting": "RBD_QOS_IOPS_LIMIT",
    "value": 0
  }
]
                  

POST /pools/{pool}/qos

Parameters

pool
string
path
-
body
object
optional
The Qos command to be executed.

Endpoint

curl -X POST http://mgmt-node:8080/api/pools/{pool}/qos
                

Example body

[
  {
    "command": "string",
    "limit": 0
  }
]
                

Response 200

command
string
optional
-
success
boolean
optional
-
errorMessage
string
optional
-

Example response

[
  {
    "command": "string",
    "success": true,
    "errorMessage": "string"
  }
]
                  

GET /pools/{pool}/rbds/{rbd}/qos

Parameters

pool
string
path
-
rbd
string
path
-
namespace
string
query
optional
The namespace to operate on, optional, default is the default namespace

Endpoint

curl -X GET http://mgmt-node:8080/api/pools/{pool}/rbds/{rbd}/qos?namespace=string
                

Response 200

setting
string
optional
[RBD_QOS_IOPS_LIMIT, RBD_QOS_BPS_LIMIT, RBD_QOS_READ_IOPS_LIMIT, RBD_QOS_WRITE_IOPS_LIMIT, RBD_QOS_READ_BPS_LIMIT, RBD_QOS_WRITE_BPS_LIMIT, RBD_QOS_BPS_BURST, RBD_QOS_IOPS_BURST, RBD_QOS_READ_BPS_BURST, RBD_QOS_READ_IOPS_BURST, RBD_QOS_WRITE_BPS_BURST, RBD_QOS_WRITE_IOPS_BURST]
value
integer
optional
The current limit.

Example response

[
  {
    "setting": "RBD_QOS_IOPS_LIMIT",
    "value": 0
  }
]
                  

POST /pools/{pool}/rbds/{rbd}/qos

Parameters

pool
string
path
-
rbd
string
path
-
namespace
string
query
optional
The namespace to operate on, optional, default is the default namespace
body
object
optional
The Qos command to be executed.

Endpoint

curl -X POST http://mgmt-node:8080/api/pools/{pool}/rbds/{rbd}/qos?namespace=string
                

Example body

[
  {
    "command": "string",
    "limit": 0
  }
]
                

Response 200

command
string
optional
-
success
boolean
optional
-
errorMessage
string
optional
-

Example response

[
  {
    "command": "string",
    "success": true,
    "errorMessage": "string"
  }
]