Fix bad metadata documentation

This commit is contained in:
Joshua Boniface 2019-12-29 20:58:02 -05:00
parent 4af95ecfcb
commit 6de65378ca
2 changed files with 57 additions and 72 deletions

View File

@ -345,8 +345,6 @@ class API_Status(Resource):
description: The cluster upstream IP address in CIDR format
example: 10.0.0.254/24
nodes:
type: array
items:
type: object
properties:
total:
@ -357,8 +355,6 @@ class API_Status(Resource):
type: integer
description: The total number of nodes in {state-combination} state, where {state-combination} is the node daemon and domain states in CSV format, e.g. "run,ready", "stop,flushed", etc.
vms:
type: array
items:
type: object
properties:
total:
@ -372,8 +368,6 @@ class API_Status(Resource):
type: integer
description: The total number of networks in the cluster
osds:
type: array
items:
type: object
properties:
total:

View File

@ -22,7 +22,6 @@
"type": "integer"
},
"nodes": {
"items": {
"properties": {
"state-combination": {
"description": "The total number of nodes in {state-combination} state, where {state-combination} is the node daemon and domain states in CSV format, e.g. \"run,ready\", \"stop,flushed\", etc.",
@ -36,10 +35,7 @@
},
"type": "object"
},
"type": "array"
},
"osds": {
"items": {
"properties": {
"state-combination": {
"description": "The total number of OSDs in {state-combination} state, where {state-combination} is the OSD up and in states in CSV format, e.g. \"up,in\", \"down,out\", etc.",
@ -53,8 +49,6 @@
},
"type": "object"
},
"type": "array"
},
"pools": {
"description": "The total number of pools in the storage cluster",
"type": "integer"
@ -74,7 +68,6 @@
"type": "string"
},
"vms": {
"items": {
"properties": {
"state": {
"description": "The total number of VMs in {state} state, e.g. \"start\", \"stop\", etc.",
@ -88,8 +81,6 @@
},
"type": "object"
},
"type": "array"
},
"volumes": {
"description": "The total number of volumes in the storage cluster",
"type": "integer"