Add additional field and info to Swagger
This commit is contained in:
parent
9100c63e99
commit
f22f291c8b
|
@ -3337,12 +3337,15 @@ class API_Storage_Ceph_Pool_Root(Resource):
|
|||
id:
|
||||
type: integer
|
||||
description: The Ceph pool ID
|
||||
stored_bytes:
|
||||
type: integer
|
||||
description: The stored data size (in bytes, post-replicas)
|
||||
free_bytes:
|
||||
type: integer
|
||||
description: The total free space (in bytes)
|
||||
description: The total free space (in bytes. post-replicas)
|
||||
used_bytes:
|
||||
type: integer
|
||||
description: The total used space (in bytes)
|
||||
description: The total used space (in bytes, pre-replicas)
|
||||
used_percent:
|
||||
type: number
|
||||
description: The ratio of used space to free space
|
||||
|
|
|
@ -621,7 +621,7 @@
|
|||
"stats": {
|
||||
"properties": {
|
||||
"free_bytes": {
|
||||
"description": "The total free space (in bytes)",
|
||||
"description": "The total free space (in bytes. post-replicas)",
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
|
@ -660,8 +660,12 @@
|
|||
"description": "The total read operations on the pool (pool-lifetime)",
|
||||
"type": "integer"
|
||||
},
|
||||
"stored_bytes": {
|
||||
"description": "The stored data size (in bytes, post-replicas)",
|
||||
"type": "integer"
|
||||
},
|
||||
"used_bytes": {
|
||||
"description": "The total used space (in bytes)",
|
||||
"description": "The total used space (in bytes, pre-replicas)",
|
||||
"type": "integer"
|
||||
},
|
||||
"used_percent": {
|
||||
|
|
Loading…
Reference in New Issue