api-ref: ips.inc parameter verification

Part of bp:api-ref-in-rst

Change-Id: I929c186c3681b15b7e4c488ce81685deffde7ef0
This commit is contained in:
Augustina Ragwitz
2016-05-09 15:55:12 -07:00
parent b4db932936
commit f7e4018a96
2 changed files with 25 additions and 1 deletions
+13 -1
View File
@@ -1,5 +1,4 @@
.. -*- rst -*-
.. needs:parameter_verification
.. needs:example_verification
.. needs:body_verification
@@ -34,6 +33,13 @@ Request
Response
--------
.. rest_parameters:: parameters.yaml
- addresses: addresses
- network_label: network_label_body
- addr: ip_address
- version: version
**Example List Ips: JSON response**
.. literalinclude:: ../../doc/api_samples/server-ips/server-ips-resp.json
@@ -64,6 +70,12 @@ Request
Response
--------
.. rest_parameters:: parameters.yaml
- network_label: network_label_body
- addr: ip_address
- version: version
**Example Show Ip Details: JSON response**
.. literalinclude:: ../../doc/api_samples/server-ips/server-ips-network-resp.json
+12
View File
@@ -1215,6 +1215,12 @@ interfaceAttachment:
in: body
required: true
type: string
ip_address:
description: |
The IP address.
in: body
required: true
type: string
ip_protocol:
description: |
The IP protocol. A valid value is ICMP, TCP, or UDP.
@@ -1461,6 +1467,12 @@ net_id_1:
in: body
required: true
type: string
network_label_body:
description: |
The network label, such as ``public`` or ``private``.
in: body
required: true
type: string
networks:
description: |
A ``networks`` object. Required parameter when there are multiple networks defined