Correct address, version parameter in ips.inc

'osapi_hide_server_address_states' does not hide the
address field in server/ips APIs so address paramater
for this API is wrong and this commit fis the same.

Also fixing the 'version' parameter.

Partially implements blueprint api-ref-in-rst

Change-Id: I22d6ab97d14779fe3a32c23a5148b4eb59f1034f
This commit is contained in:
ghanshyam 2016-09-13 13:48:17 +09:00 committed by Ghanshyam Mann
parent 5b207f9a13
commit b343e96fb4
2 changed files with 15 additions and 3 deletions

View File

@ -34,10 +34,10 @@ Response
.. rest_parameters:: parameters.yaml
- addresses: addresses
- addresses: addresses_obj
- network_label: network_label_body
- addr: ip_address
- version: version
- version: version_ip
**Example List Ips: JSON response**
@ -74,7 +74,7 @@ Response
- network_label: network_label_body
- addr: ip_address
- version: version
- version: version_ip
**Example Show Ip Details: JSON response**

View File

@ -821,6 +821,12 @@ addresses:
in: body
required: true
type: object
addresses_obj:
description: |
The addresses information for the server.
in: body
required: true
type: object
addSecurityGroup:
description: |
The action.
@ -4348,6 +4354,12 @@ version_id:
description: >
A common name for the version in question. Informative only, it
has no real semantic meaning.
version_ip:
description: |
The IP version of the address associated with server.
in: body
required: true
type: integer
version_max:
type: string
in: body