Merge "Update DC api-ref documentation with new parameters"

This commit is contained in:
Zuul 2023-02-08 15:01:48 +00:00 committed by Gerrit Code Review
commit 2711aee437
2 changed files with 36 additions and 0 deletions

View File

@ -318,6 +318,14 @@ The attributes of a subcloud which are modifiable:
- group_id
- admin-subnet
- admin-gateway-ip
- admin-node-0-address
- admin-node-1-address
**Normal response codes**
200
@ -337,6 +345,10 @@ serviceUnavailable (503)
- location: subcloud_location
- management-state: subcloud_management_state
- group_id: subcloud_group_id
- admin-subnet: subcloud_admin_subnet
- admin-gateway-ip: subcloud_admin_gateway_ip
- admin-node-0-address: subcloud_admin_node_0_address
- admin-node-1-address: subcloud_admin_node_1_address
Request Example
----------------

View File

@ -379,6 +379,30 @@ strategy_steps:
in: body
required: false
type: array
subcloud_admin_gateway_ip:
description: |
The admin gateway ip of a subcloud.
in: body
required: false
type: string
subcloud_admin_node_0_address:
description: |
The admin node-0 address of a subcloud.
in: body
required: false
type: string
subcloud_admin_node_1_address:
description: |
The admin node-1 address of a subcloud.
in: body
required: false
type: string
subcloud_admin_subnet:
description: |
The admin subnet of a subcloud.
in: body
required: false
type: string
subcloud_apply_type:
description: |
The apply type for the update. `serial` or `parallel`.