api-ref: ips.inc parameter verification
Part of bp:api-ref-in-rst Change-Id: I929c186c3681b15b7e4c488ce81685deffde7ef0
This commit is contained in:
+13
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user