Fix api-ref doc for GET /infra-optim/v1/data_model
Some response parameters from GET /infra-optim/v1/data_model endpoint are missing from api-ref documentation. This patch updates the doc to include them. For more details see, LP #2117726 Closes-Bug: #2117726 Change-Id: Iaa775f56bb8167d9c6b458cd07f1ec3cefaf70fe Signed-off-by: Douglas Viroel <viroel@gmail.com>
This commit is contained in:
@@ -420,12 +420,24 @@ links:
|
||||
type: array
|
||||
|
||||
# Data Model Node
|
||||
node_disabled_reason:
|
||||
description: |
|
||||
The Disabled Reason of the node.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
node_disk:
|
||||
description: |
|
||||
The Disk of the node(in GiB).
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
node_disk_gb_reserved:
|
||||
description: |
|
||||
The Disk Reserved of the node (in GiB).
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
node_disk_ratio:
|
||||
description: |
|
||||
The Disk Ratio of the node.
|
||||
@@ -444,6 +456,12 @@ node_memory:
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
node_memory_mb_reserved:
|
||||
description: |
|
||||
The Memory Reserved of the node(in MiB).
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
node_memory_ratio:
|
||||
description: |
|
||||
The Memory Ratio of the node.
|
||||
@@ -456,6 +474,12 @@ node_state:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
node_status:
|
||||
description: |
|
||||
The Status of the node.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
node_uuid:
|
||||
description: |
|
||||
The Unique UUID of the node.
|
||||
@@ -468,13 +492,18 @@ node_vcpu_ratio:
|
||||
in: body
|
||||
required: true
|
||||
type: float
|
||||
node_vcpu_reserved:
|
||||
description: |
|
||||
The Vcpu Reserved of the node.
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
node_vcpus:
|
||||
description: |
|
||||
The Vcpu of the node.
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
|
||||
# Scoring Engine
|
||||
scoring_engine_description:
|
||||
description: |
|
||||
@@ -502,18 +531,36 @@ server_disk:
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
server_locked:
|
||||
description: |
|
||||
Whether the server is locked.
|
||||
in: body
|
||||
required: true
|
||||
type: boolean
|
||||
server_memory:
|
||||
description: |
|
||||
The Memory of server.
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
server_metadata:
|
||||
description: |
|
||||
The metadata associated with the server.
|
||||
in: body
|
||||
required: true
|
||||
type: JSON
|
||||
server_name:
|
||||
description: |
|
||||
The Name of the server.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
server_project_id:
|
||||
description: |
|
||||
The project ID of the server.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
server_state:
|
||||
description: |
|
||||
The State of the server.
|
||||
@@ -532,6 +579,12 @@ server_vcpus:
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
server_watcher_exclude:
|
||||
description: |
|
||||
Whether the server is excluded from the scope.
|
||||
in: body
|
||||
required: true
|
||||
type: boolean
|
||||
# Service
|
||||
service_host:
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user