deb-python-tempest-lib/tempest_lib/api_schema/response/compute/v2_1
Takashi NATSUME c9c3b55333 Add update attached volume function to servers_client
os-volume_attachments API for update:
PUT /v2.1/{tenant_id}/servers/{server_id}/os-volume_attachments/{attachment_id}

tenant_id: The project ID (tenant ID) that the target server belongs to
server_id: The server ID to update the volume attachment
attachment_id: The volume attachment ID to update

Request body sample:
{
    "volumeAttachment": {
        "volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f805"
    }
}

volumeId: The volume ID to attach instead of the volume
          that has already been attached

This API does not return a response body.

Reference:
- Request body sample
  https://github.com/openstack/nova/blob/master/doc/api_samples/os-volumes/update-volume-req.json

- Fuctional test
  test_volume_attachment_update method in
  VolumeAttachmentsSample class
  https://github.com/openstack/nova/blob/master/nova/tests/functional/api_sample_tests/test_volumes.py

Change-Id: Ic0258e5688be6ede3316ab4310e9ca6ac0f51659
Implements: blueprint add-nova-swap-volume-tests
2016-02-05 14:23:03 +09:00
..
__init__.py Migrated agents_client.py, test_agents_client.py, agents.py from tempest 2015-09-16 05:23:21 +09:00
agents.py Add missing schema for update agent API 2015-09-18 10:23:02 +09:00
aggregates.py Migrated aggregates_client.py from tempest 2015-09-17 11:28:33 +09:00
availability_zone.py Migrated availability_zone_client.py from tempest 2015-09-17 06:10:10 +09:00
baremetal_nodes.py Migrated baremetal_nodes_client.py from tempest 2015-09-17 11:29:49 +09:00
certificates.py Migrated certificates_client.py from tempest 2015-09-28 07:47:47 +00:00
extensions.py Migrated extensions_client.py from tempest 2015-10-02 07:40:53 +00:00
fixed_ips.py Fix fixed_ip schema and service client 2015-11-24 11:49:12 +09:00
flavors.py Migrated flavors_client.py from tempest 2015-10-02 07:45:12 +00:00
flavors_access.py Migrated flavors_client.py from tempest 2015-10-02 07:45:12 +00:00
flavors_extra_specs.py Migrated flavors_client.py from tempest 2015-10-02 07:45:12 +00:00
floating_ips.py Migrated floating_ip_pools_client.py from tempest 2015-09-28 07:50:58 +00:00
hosts.py Migrated hosts_client.py from tempest 2015-10-02 08:11:42 +05:30
hypervisors.py Migrated hypervisor_client.py 2015-09-25 15:33:04 -04:00
images.py Alter image json schema to allow for null name and size values 2016-01-26 10:07:44 -05:00
instance_usage_audit_logs.py Migrated instance_usage_audit_log_client.py from tempest 2015-10-06 08:44:56 -04:00
interfaces.py Migrated interfaces_client.py from tempest 2015-10-14 09:58:39 +05:30
keypairs.py Migrated keypairs_client.py from tempest 2015-09-28 07:46:36 +00:00
limits.py Migrated limits_client.py from tempest 2015-09-28 09:11:38 +00:00
migrations.py Migrated migrations_client.py from tempest 2015-09-28 09:10:27 +00:00
parameter_types.py Migrated fixed_ips_client.py from tempest 2015-09-28 08:55:29 +09:00
quota_classes.py Migrated quota_classes_client.py from tempest 2015-10-09 09:08:39 -04:00
quotas.py Migrated quotas_client.py from tempest 2015-10-02 08:59:08 -04:00
security_group_default_rule.py Migrated security_group_default_rules_client.py 2015-09-29 17:01:37 -04:00
security_groups.py Migrated security_groups_client.py 2015-09-26 13:45:21 -04:00
servers.py Add update attached volume function to servers_client 2016-02-05 14:23:03 +09:00
services.py Migrated services_client.py from tempest 2015-10-14 06:24:56 +00:00
snapshots.py Migrated snapshots_client.py from tempest 2015-10-14 02:35:09 +00:00
tenant_networks.py Migrated tenant_networks_client.py from tempest 2015-09-28 08:12:27 +00:00
tenant_usages.py Migrated tenant_usages_client.py from tempest 2015-09-28 07:45:01 +00:00
versions.py Migrated versions_client.py from tempest 2015-09-30 13:28:14 +00:00
volumes.py Migrated volumes_client.py from tempest 2015-10-14 04:10:18 +00:00