From cd9c2ea3a720d8cdd06c7bb5c4253b66d414d0e2 Mon Sep 17 00:00:00 2001 From: zhufl Date: Thu, 4 Jun 2020 17:04:25 +0800 Subject: [PATCH] Add missing attachments schema in servers.py The following schemas are missing in servers.py in 2.71 and 2.73 * attach_volume * show_volume_attachment * list_volume_attachments This is to add them. Change-Id: Ic8375425c712992b09ebaea8f064ab03b95ff602 --- tempest/lib/api_schema/response/compute/v2_71/servers.py | 3 +++ tempest/lib/api_schema/response/compute/v2_73/servers.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tempest/lib/api_schema/response/compute/v2_71/servers.py b/tempest/lib/api_schema/response/compute/v2_71/servers.py index 5cf0f8aca0..f4c01eeb01 100644 --- a/tempest/lib/api_schema/response/compute/v2_71/servers.py +++ b/tempest/lib/api_schema/response/compute/v2_71/servers.py @@ -79,3 +79,6 @@ delete_all_tags = copy.deepcopy(servers270.delete_all_tags) check_tag_existence = copy.deepcopy(servers270.check_tag_existence) update_tag = copy.deepcopy(servers270.update_tag) delete_tag = copy.deepcopy(servers270.delete_tag) +attach_volume = copy.deepcopy(servers270.attach_volume) +show_volume_attachment = copy.deepcopy(servers270.show_volume_attachment) +list_volume_attachments = copy.deepcopy(servers270.list_volume_attachments) diff --git a/tempest/lib/api_schema/response/compute/v2_73/servers.py b/tempest/lib/api_schema/response/compute/v2_73/servers.py index 6e491e979d..ae7ebc4248 100644 --- a/tempest/lib/api_schema/response/compute/v2_73/servers.py +++ b/tempest/lib/api_schema/response/compute/v2_73/servers.py @@ -76,3 +76,6 @@ delete_all_tags = copy.deepcopy(servers271.delete_all_tags) check_tag_existence = copy.deepcopy(servers271.check_tag_existence) update_tag = copy.deepcopy(servers271.update_tag) delete_tag = copy.deepcopy(servers271.delete_tag) +attach_volume = copy.deepcopy(servers271.attach_volume) +show_volume_attachment = copy.deepcopy(servers271.show_volume_attachment) +list_volume_attachments = copy.deepcopy(servers271.list_volume_attachments)