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