Use a single uuid parameter in api-ref

Currently, there is a node_uuid parameter that describes specifically
a node UUID in response body. Let's use just uuid.

Change-Id: I43ffe017188c1f15a0c6d8007d4bd463e867b774
This commit is contained in:
Vladyslav Drok 2016-05-30 21:36:42 +03:00
parent 8793830a32
commit 8ea1d8c7d6
2 changed files with 6 additions and 12 deletions

View File

@ -75,7 +75,7 @@ The list and example below are representative of the response as of API microver
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- uuid: node_uuid - uuid: uuid
- name: node_name - name: node_name
- power_state: power_state - power_state: power_state
- target_power_state: target_power_state - target_power_state: target_power_state
@ -202,7 +202,7 @@ Response
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- uuid: node_uuid - uuid: uuid
- name: node_name - name: node_name
- power_state: power_state - power_state: power_state
- target_power_state: target_power_state - target_power_state: target_power_state
@ -260,7 +260,7 @@ Response
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- uuid: node_uuid - uuid: uuid
- name: node_name - name: node_name
- power_state: power_state - power_state: power_state
- target_power_state: target_power_state - target_power_state: target_power_state
@ -325,7 +325,7 @@ Response
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- uuid: node_uuid - uuid: uuid
- name: node_name - name: node_name
- power_state: power_state - power_state: power_state
- target_power_state: target_power_state - target_power_state: target_power_state
@ -373,4 +373,4 @@ Request
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- node_ident: node_ident - node_ident: node_ident

View File

@ -380,12 +380,6 @@ node_name:
in: body in: body
required: false required: false
type: string type: string
node_uuid:
description: |
UUID of the Node resource.
in: body
required: true
type: string
nodes: nodes:
description: | description: |
Links to the collection of nodes contained in Links to the collection of nodes contained in
@ -573,4 +567,4 @@ versions:
Array of information about currently supported versions. Array of information about currently supported versions.
in: body in: body
required: true required: true
type: array type: array