Merge "api-ref: fix some issues in volumes interfaces"
This commit is contained in:
commit
906acbc8a0
@ -1322,21 +1322,21 @@ os-vol-host-attr:host:
|
||||
Current back-end of the volume.
|
||||
Host format is ``host@backend#pool``.
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
os-vol-mig-status-attr:migstat:
|
||||
description: |
|
||||
The status of this volume migration (None means
|
||||
that a migration is not currently in progress).
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
os-vol-mig-status-attr:name_id:
|
||||
description: |
|
||||
The volume ID that this volume name on the back-
|
||||
end is based on.
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
os-vol-tenant-attr:tenant_id:
|
||||
description: |
|
||||
|
@ -1142,6 +1142,12 @@ group_id:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
group_id_optional:
|
||||
description: |
|
||||
The ID of the group.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
group_name:
|
||||
description: |
|
||||
The group name.
|
||||
@ -2050,21 +2056,21 @@ os-vol-host-attr:host:
|
||||
Current back-end of the volume.
|
||||
Host format is ``host@backend#pool``.
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
os-vol-mig-status-attr:migstat:
|
||||
description: |
|
||||
The status of this volume migration (None means
|
||||
that a migration is not currently in progress).
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
os-vol-mig-status-attr:name_id:
|
||||
description: |
|
||||
The volume ID that this volume name on the back-
|
||||
end is based on.
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
os-vol-tenant-attr:tenant_id:
|
||||
description: |
|
||||
@ -2445,6 +2451,7 @@ service_uuid:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
min_version: 3.48
|
||||
services:
|
||||
description: |
|
||||
A list of service objects.
|
||||
@ -2458,6 +2465,7 @@ shared_targets:
|
||||
in: body
|
||||
required: true
|
||||
type: boolean
|
||||
min_version: 3.48
|
||||
size:
|
||||
description: |
|
||||
The size of the volume, in gibibytes (GiB).
|
||||
|
@ -45,7 +45,8 @@
|
||||
"name": "test-volume-attachments",
|
||||
"bootable": "false",
|
||||
"created_at": "2015-11-29T03:01:44.000000",
|
||||
"volume_type": "lvmdriver-1"
|
||||
"volume_type": "lvmdriver-1",
|
||||
"group_id": "8fbe5733-eb03-4c88-9ef9-f32b7d03a5e4"
|
||||
},
|
||||
{
|
||||
"migration_status": null,
|
||||
@ -92,7 +93,8 @@
|
||||
"name": "test-volume",
|
||||
"bootable": "true",
|
||||
"created_at": "2015-11-29T02:25:18.000000",
|
||||
"volume_type": "lvmdriver-1"
|
||||
"volume_type": "lvmdriver-1",
|
||||
"group_id": "8fbe5733-eb03-4c88-9ef9-f32b7d03a5e4"
|
||||
}
|
||||
],
|
||||
"volumes_links": [{
|
||||
|
@ -101,7 +101,7 @@ Response Parameters
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- migration_status: migration_status_req
|
||||
- migration_status: migration_status
|
||||
- attachments: attachments
|
||||
- links: links_vol
|
||||
- availability_zone: availability_zone
|
||||
@ -128,6 +128,7 @@ Response Parameters
|
||||
- created_at: created_at
|
||||
- volumes: volumes
|
||||
- volume_type: volume_type_vol
|
||||
- group_id: group_id_optional
|
||||
- volumes_links: links_vol_optional
|
||||
- count: count
|
||||
|
||||
@ -242,6 +243,7 @@ Response Parameters
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- volume_type: volume_type_vol
|
||||
- group_id: group_id_optional
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
Loading…
Reference in New Issue
Block a user