Example & Parameter verification of os-security-group-default-rules.inc
This patch verifies the example & parameters of os-security-group-default-rules.inc part of bp:api-ref-in-rst Change-Id: I1e94aad4c9f763c41d921d761c215cc2de03af5a
This commit is contained in:
parent
ed435f2680
commit
f5b7a333ff
@ -1,6 +1,5 @@
|
||||
.. -*- rst -*-
|
||||
.. needs:parameter_verification
|
||||
.. needs:example_verification
|
||||
|
||||
.. needs:body_verification
|
||||
|
||||
================================================================================
|
||||
@ -31,11 +30,12 @@ Response
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- security_group_default_rules: security_group_default_rules
|
||||
- from_port: from_port
|
||||
- id: id
|
||||
- id: secgroup_default_rule_id
|
||||
- ip_protocol: ip_protocol
|
||||
- ip_range: ip_range
|
||||
- cidr: cidr
|
||||
- ip_range: secgroup_rule_ip_range
|
||||
- ip_range.cidr: secgroup_rule_cidr
|
||||
- to_port: to_port
|
||||
|
||||
**Example List default security group rules: JSON response**
|
||||
@ -66,11 +66,12 @@ Response
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- security_group_default_rule: security_group_default_rule
|
||||
- from_port: from_port
|
||||
- id: id
|
||||
- id: secgroup_default_rule_id
|
||||
- ip_protocol: ip_protocol
|
||||
- ip_range: ip_range
|
||||
- cidr: cidr
|
||||
- ip_range: secgroup_rule_ip_range
|
||||
- ip_range.cidr: secgroup_rule_cidr
|
||||
- to_port: to_port
|
||||
|
||||
**Example Show default security group rule: JSON response**
|
||||
@ -97,11 +98,11 @@ Request
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- id: id
|
||||
- security_group_default_rule: security_group_default_rule
|
||||
- ip_protocol: ip_protocol
|
||||
- from_port: from_port
|
||||
- to_port: to_port
|
||||
- cidr: cidr
|
||||
- cidr: secgroup_rule_cidr
|
||||
|
||||
**Example Create default security group rule: JSON request**
|
||||
|
||||
@ -113,11 +114,12 @@ Response
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- security_group_default_rule: security_group_default_rule
|
||||
- from_port: from_port
|
||||
- id: id
|
||||
- id: secgroup_default_rule_id
|
||||
- ip_protocol: ip_protocol
|
||||
- ip_range: ip_range
|
||||
- cidr: cidr
|
||||
- ip_range: secgroup_rule_ip_range
|
||||
- ip_range.cidr: secgroup_rule_cidr
|
||||
- to_port: to_port
|
||||
|
||||
**Example Create default security group rule: JSON response**
|
||||
|
@ -3644,6 +3644,12 @@ running_vms_total:
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
secgroup_default_rule_id:
|
||||
description: |
|
||||
The security group default rule ID.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
secgroup_rule_cidr:
|
||||
description: |
|
||||
The CIDR for address range.
|
||||
@ -3680,6 +3686,18 @@ security_group_1:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
security_group_default_rule:
|
||||
description: |
|
||||
A ``security_group_default_rule`` object.
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
security_group_default_rules:
|
||||
description: |
|
||||
A list of the ``security_group_default_rule`` object.
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
security_group_rule:
|
||||
description: |
|
||||
A ``security_group_rule`` object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user