compute.servers package

Submodules

compute.servers.test_attach_interfaces module

class AttachInterfacesTestBase(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

class AttachInterfacesTestJSON(*args, **kwargs)[source]

Bases: AttachInterfacesTestBase

Test attaching interfaces

test_create_list_show_delete_interfaces_by_fixed_ip()[source]

Test idempotent id: d290c06c-f5b3-11e7-8ec8-002293781009

Test create/list/show/delete interfaces by fixed ip

test_create_list_show_delete_interfaces_by_network_port()[source]

Test idempotent id: 73fe8f02-590d-4bf1-b184-e9ca81065051

Test create/list/show/delete interfaces by network port

test_reassign_port_between_servers()[source]

Test idempotent id: 2f3a0127-95c7-4977-92d2-bc5aec602fb4

Tests reassigning port between servers

  1. Create two servers in Nova.

  2. Create a port in Neutron.

  3. Attach the port to the first server.

  4. Detach the port from the first server.

  5. Attach the port to the second server.

  6. Detach the port from the second server.

class AttachInterfacesUnderV243Test(*args, **kwargs)[source]

Bases: AttachInterfacesTestBase

Test attaching interfaces with compute microversion less than 2.44

test_add_remove_fixed_ip()[source]

Test idempotent id: c7e0e60b-ee45-43d0-abeb-8596fd42a2f9

Test adding and removing fixed ip from server

class AttachInterfacesV270Test(*args, **kwargs)[source]

Bases: AttachInterfacesTestBase

Test interface API with microversion greater than 2.69

test_create_get_list_interfaces()[source]

Test idempotent id: 2853f095-8277-4067-92bd-9f10bd4f8e0c

Test interface API with microversion greater than 2.69

Checking create, get, list interface APIs response schema.

compute.servers.test_availability_zone module

class AZV2TestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Tests Availability Zone API List

test_get_availability_zone_list_with_non_admin_user()[source]

Test idempotent id: a8333aa2-205c-449f-a828-d38c2489bf25

List of availability zone with non-administrator user

compute.servers.test_create_server module

class ServersTestBootFromVolume(*args, **kwargs)[source]

Bases: ServersTestJSON

Test creating server and verifying the server attributes

This is to create server booted from volume and with disk_config ‘AUTO’

class ServersTestFqdnHostnames(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test creating server with FQDN hostname and verifying attributes

Starting Wallaby release, Nova sanitizes freeform characters in server hostname with dashes. This test verifies the same.

test_create_server_with_fqdn_name()[source]

Test idempotent id: 622066d2-39fc-4c09-9eeb-35903c114a0a

Test to create an instance with FQDN type name scheme

class ServersTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test creating server and verifying the server attributes

This is to create server booted from image and with disk_config ‘AUTO’

test_host_name_is_same_as_server_name()[source]

Test idempotent id: ac1ad47f-984b-4441-9274-c9079b7a0666

Verify the instance host name is the same as the server name

test_list_servers()[source]

Test idempotent id: 9a438d88-10c6-4bcd-8b5b-5b6e25e1346f

The created server should be in the list of all servers

test_list_servers_with_detail()[source]

Test idempotent id: 585e934c-448e-43c4-acbf-d06a9b899997

The created server should be in the detailed list of all servers

test_verify_created_server_vcpus()[source]

Test idempotent id: cbc0f52f-05aa-492b-bdc1-84b575ca294b

The created server should have the same specification as the flavor

Verify that the number of vcpus reported by the instance matches the amount stated by the flavor

test_verify_server_details()[source]

Test idempotent id: 5de47127-9977-400a-936f-abcfbec1218f

Verify the specified server attributes are set correctly

class ServersTestManualDisk(*args, **kwargs)[source]

Bases: ServersTestJSON

Test creating server and verifying the server attributes

This is to create server booted from image and with disk_config ‘MANUAL’

class ServersV294TestFqdnHostnames(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test creating server with FQDN hostname and verifying attributes

Starting Antelope release, Nova allows to set hostname as an FQDN type and allows free form characters in hostname using –hostname parameter with API above 2.94 .

This is to create server with –hostname having FQDN type value having more than 64 characters

test_verify_hostname_allows_fqdn()[source]

Test idempotent id: e7b05488-f9d5-4fce-91b3-e82216c52017

Test to verify –hostname allows FQDN type name scheme

Verify the hostname has FQDN value and Freeform characters in the hostname are allowed

compute.servers.test_create_server_multi_nic module

class ServersTestMultiNic(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test multiple networks in servers

test_verify_duplicate_network_nics()[source]

Test idempotent id: 1678d144-ed74-43f8-8e57-ab10dbf9b3c2

Test multiple duplicate networks can be used to create server

Creating server with networks [net1, net2, net1], the server can be created successfully and all three networks are in the server addresses.

test_verify_multiple_nics_order()[source]

Test idempotent id: 0578d144-ed74-43f8-8e57-ab10dbf9b3c2

Test verifying multiple networks order in server

The networks order given at the server creation is preserved within the server.

get_subnets(count=2)[source]

Returns a list of requested subnets from project_network_cidr block.

Args:

count (int): Number of blocks required.

Returns:
CIDRs as a list of strings

e.g. [‘19.80.0.0/24’, ‘19.86.0.0/24’]

compute.servers.test_delete_server module

class DeleteServersTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test deleting servers in various states

test_delete_active_server()[source]

Test idempotent id: 925fdfb4-5b13-47ea-ac8a-c36ae6fddb05

Test deleting a server while it’s VM state is Active

test_delete_server_while_in_attached_volume()[source]

Test idempotent id: d0f3f0d6-d9b6-4a32-8da4-23015dcab23c

Test deleting a server while a volume is attached to it

test_delete_server_while_in_building_state()[source]

Test idempotent id: 9e6e0c87-3352-42f7-9faf-5d6210dbd159

Test deleting a server while it’s VM state is Building

test_delete_server_while_in_pause_state()[source]

Test idempotent id: 943bd6e8-4d7a-4904-be83-7a6cc2d4213b

Test deleting a server while it’s VM state is Pause

test_delete_server_while_in_shelved_state()[source]

Test idempotent id: bb0cb402-09dd-4947-b6e5-5e7e1cfa61ad

Test deleting a server while it’s VM state is Shelved

test_delete_server_while_in_shutoff_state()[source]

Test idempotent id: 546d368c-bb6c-4645-979a-83ed16f3a6be

Test deleting a server while it’s VM state is Shutoff

test_delete_server_while_in_suspended_state()[source]

Test idempotent id: 1f82ebd3-8253-4f4e-b93f-de9b7df56d8b

Test deleting a server while it’s VM state is Suspended

test_delete_server_while_in_verify_resize_state()[source]

Test idempotent id: ab0c38b4-cdd8-49d3-9b92-0cb898723c01

Test deleting a server while it’s VM state is VERIFY_RESIZE

compute.servers.test_device_tagging module

class DeviceTaggingBase(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

class TaggedAttachmentsTest(*args, **kwargs)[source]

Bases: DeviceTaggingBase

Test tagged attachments with compute microversion greater than 2.48

test_tagged_attachment()[source]

Test idempotent id: 3e41c782-2a89-4922-a9d2-9a188c4e7c7c

Test tagged attachment

  1. Create network

  2. Create subnet

  3. Create volume

  4. Create server

  5. Attach tagged networks and volume

  6. Verify tagged devices are in server via metadata service

  7. Detach tagged networks and volume

class TaggedBootDevicesTest(*args, **kwargs)[source]

Bases: DeviceTaggingBase

Test tagged boot device with compute microversion equals 2.32

test_tagged_boot_devices()[source]

Test idempotent id: a2e65a6c-66f1-4442-aaa8-498c31778d96

Test tagged boot devices

  1. Create volumes

  2. Create networks

  3. Create subnets

  4. Create ports

  5. Create server, specifying tags for items in networks and block_device_mapping_v2,

  6. Verify tagged devices are in server via metadata service

class TaggedBootDevicesTest_v242(*args, **kwargs)[source]

Bases: TaggedBootDevicesTest

Test tagged boot devices with compute microversion greater than 2.41

compute.servers.test_disk_config module

class ServerDiskConfigTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test disk config option of server

test_rebuild_server_with_auto_disk_config()[source]

Test idempotent id: 9c9fae77-4feb-402f-8450-bf1c8b609713

A server should be rebuilt using the auto disk config option

test_rebuild_server_with_manual_disk_config()[source]

Test idempotent id: bef56b09-2e8c-4883-a370-4950812f430e

A server should be rebuilt using the manual disk config option

test_resize_server_from_auto_to_manual()[source]

Test idempotent id: 693d16f3-556c-489a-8bac-3d0ca2490bad

A server should be resized from auto to manual disk config

test_resize_server_from_manual_to_auto()[source]

Test idempotent id: 414e7e93-45b5-44bc-8e03-55159c6bfc97

A server should be resized from manual to auto disk config

test_update_server_from_auto_to_manual()[source]

Test idempotent id: 5ef18867-358d-4de9-b3c9-94d4ba35742f

A server should be updated from auto to manual disk config

compute.servers.test_instance_actions module

class InstanceActionsTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test instance actions API

test_get_instance_action()[source]

Test idempotent id: aacc71ca-1d70-4aa5-bbf6-0ff71470e43c

Test getting the action details of the provided server

test_list_instance_actions()[source]

Test idempotent id: 77ca5cc5-9990-45e0-ab98-1de8fead201a

Test listing actions of the provided server

class InstanceActionsV221TestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test instance actions with compute microversion greater than 2.20

test_get_list_deleted_instance_actions()[source]

Test idempotent id: 0a0f85d4-10fa-41f6-bf80-a54fb4aa2ae1

Test listing actions for deleted instance

Listing actions for deleted instance should succeed and the returned actions should contain ‘create’ and ‘delete’.

compute.servers.test_instance_actions_negative module

class InstanceActionsNegativeTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of instance actions

test_get_instance_action_invalid_request()[source]

Test idempotent id: 0269f40a-6f18-456c-b336-c03623c897f1

Test getting instance action with invalid request_id should fail

test_list_instance_actions_non_existent_server()[source]

Test idempotent id: 67e1fce6-7ec2-45c6-92d4-0a8f1a632910

Test listing actions for non existent instance should fail

compute.servers.test_list_server_filters module

class ListServerFiltersTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test listing servers filtered by specified attribute

test_list_servers_detailed_filter_by_flavor()[source]

Test idempotent id: 80c574cc-0925-44ba-8602-299028357dd9

Filter the detailed list of servers by flavor

test_list_servers_detailed_filter_by_image()[source]

Test idempotent id: b3304c3b-97df-46d2-8cd3-e2b6659724e7

“Filter the detailed list of servers by image

test_list_servers_detailed_filter_by_server_name()[source]

Test idempotent id: f9eb2b70-735f-416c-b260-9914ac6181e4

Filter the detailed list of servers by server name

test_list_servers_detailed_filter_by_server_status()[source]

Test idempotent id: de2612ab-b7dd-4044-b0b1-d2539601911f

Filter the detailed list of servers by server status

test_list_servers_detailed_limit_results()[source]

Test idempotent id: 67aec2d0-35fe-4503-9f92-f13272b867ed

Filter the detailed list of servers by limit 1

Verify only the expected number of servers are returned (one server)

test_list_servers_filter_by_active_status()[source]

Test idempotent id: ca78e20e-fddb-4ce6-b7f7-bcbf8605e66e

Filter the list of servers by server active status

test_list_servers_filter_by_exceed_limit()[source]

Test idempotent id: 37791bbd-90c0-4de0-831e-5f38cba9c6b3

Filter the list of servers by exceeded limit

Verify only the expected number of servers are returned (all servers)

test_list_servers_filter_by_flavor()[source]

Test idempotent id: 573637f5-7325-47bb-9144-3476d0416908

Filter the list of servers by flavor

test_list_servers_filter_by_image()[source]

Test idempotent id: 05e8a8e7-9659-459a-989d-92c2f501f4ba

Filter the list of servers by image

test_list_servers_filter_by_limit()[source]

Test idempotent id: 614cdfc1-d557-4bac-915b-3e67b48eee76

Filter the list of servers by limit 1

Verify only the expected number of servers are returned (one server)

test_list_servers_filter_by_server_name()[source]

Test idempotent id: 9b067a7b-7fee-4f6a-b29c-be43fe18fc5a

Filter the list of servers by server name

test_list_servers_filter_by_shutoff_status()[source]

Test idempotent id: 451dbbb2-f330-4a9f-b0e1-5f5d2cb0f34c

Filter the list of servers by server shutoff status

test_list_servers_filter_by_zero_limit()[source]

Test idempotent id: b1495414-2d93-414c-8019-849afe8d319e

Filter the list of servers by limit 0

Verify only the expected number of servers are returned (no server)

test_list_servers_filtered_by_ip()[source]

Test idempotent id: 43a1242e-7b31-48d1-88f2-3f72aa9f2077

Filter the list of servers by server ip address

test_list_servers_filtered_by_ip_regex()[source]

Test idempotent id: a905e287-c35e-42f2-b132-d02b09f3654a

Filter the list of servers by part of server ip address

test_list_servers_filtered_by_name_regex()[source]

Test idempotent id: 24a89b0c-0d55-4a28-847f-45075f19b27b

Filter the list of servers by server name regular expression

test_list_servers_filtered_by_name_wildcard()[source]

Test idempotent id: e9f624ee-92af-4562-8bec-437945a18dcb

Filter the list of servers by part of server name

compute.servers.test_list_servers_negative module

class ListServersNegativeTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of listing servers

test_list_servers_by_changes_since_future_date()[source]

Test idempotent id: 74745ad8-b346-45b5-b9b8-509d7447fc1f

Test listing servers by a future changes-since date

Return an empty list when a date in the future is passed as changes-since value.

test_list_servers_by_changes_since_invalid_date()[source]

Test idempotent id: 87d12517-e20a-4c9c-97b6-dd1628d6d6c9

Test listing servers by invalid changes-since format should fail

test_list_servers_by_limits_greater_than_actual_count()[source]

Test idempotent id: d47c17fb-eebd-4287-8e95-f20a7e627b18

Test listing servers by limit greater than actual count

Listing servers by limit greater than actual count should return all servers.

test_list_servers_by_limits_pass_negative_value()[source]

Test idempotent id: 62610dd9-4713-4ee0-8beb-fd2c1aa7f950

Test listing servers by negative limit should fail

test_list_servers_by_limits_pass_string()[source]

Test idempotent id: 679bc053-5e70-4514-9800-3dfab1a380a6

Test listing servers by non-integer limit should fail

test_list_servers_by_non_existing_flavor()[source]

Test idempotent id: 5913660b-223b-44d4-a651-a0fbfd44ca75

Test listing servers by non existing flavor returns empty list

test_list_servers_by_non_existing_image()[source]

Test idempotent id: ff01387d-c7ad-47b4-ae9e-64fa214638fe

Test listing servers for a non existing image returns empty list

test_list_servers_by_non_existing_server_name()[source]

Test idempotent id: e2c77c4a-000a-4af3-a0bd-629a328bde7c

Test listing servers for a non existent server name

Listing servers for a non existent server name should return empty list.

test_list_servers_detail_server_is_deleted()[source]

Test idempotent id: 93055106-2d34-46fe-af68-d9ddbf7ee570

Test listing servers detail should not contain deleted server

test_list_servers_status_non_existing()[source]

Test idempotent id: fcdf192d-0f74-4d89-911f-1ec002b822c4

Test listing servers with non existing status

When invalid status is specified, up to microversion 2.37, an empty list is returned, and starting from microversion 2.38, a 400 error is returned in that case.

test_list_servers_with_a_deleted_server()[source]

Test idempotent id: 24a26f1a-1ddc-4eea-b0d7-a90cc874ad8f

Test that deleted servers do not show by default in list servers

compute.servers.test_multiple_create module

class MultipleCreateTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test creating multiple servers in one request

test_multiple_create()[source]

Test idempotent id: 61e03386-89c3-449c-9bb1-a06f423fd9d1

Test creating multiple servers in one request

Creating server with min_count=2, 2 servers will be created.

test_multiple_create_with_reservation_return()[source]

Test idempotent id: 864777fb-2f1e-44e3-b5b9-3eb6fa84f2f7

Test creating multiple servers with return_reservation_id=True

Creating multiple servers with return_reservation_id=True, reservation_id will be returned.

compute.servers.test_multiple_create_negative module

class MultipleCreateNegativeTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of creating multiple servers in one request

test_max_count_less_than_min_count()[source]

Test idempotent id: 476da616-f1ef-4271-a9b1-b9fc87727cdf

Test creating server with max_count < min_count should fail

test_max_count_less_than_one()[source]

Test idempotent id: a6f9c2ab-e060-4b82-b23c-4532cb9390ff

Test creating server with max_count < 1 should fail

test_max_count_non_integer()[source]

Test idempotent id: 9c5698d1-d7af-4c80-b971-9d403135eea2

Test creating server with non-integer max_count should fail

test_min_count_less_than_one()[source]

Test idempotent id: daf29d8d-e928-4a01-9a8c-b129603f3fc0

Test creating server with min_count=0 should fail

test_min_count_non_integer()[source]

Test idempotent id: 999aa722-d624-4423-b813-0d1ac9884d7a

Test creating server with non-integer min_count should fail

compute.servers.test_novnc module

class NoVNCConsoleTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test novnc console

test_novnc()[source]

Test idempotent id: c640fdff-8ab4-45a4-a5d8-7e6146cbd0dc

Test accessing novnc console of server

test_novnc_bad_token()[source]

Test idempotent id: f9c79937-addc-4aaa-9e0e-841eef02aeb7

Test accessing novnc console with bad token

Do the WebSockify HTTP Request to novnc proxy with a bad token, the novnc proxy should reject the connection and closed it.

compute.servers.test_server_actions module

class ServerActionsBase(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test server actions

class ServerActionsTestJSON(*args, **kwargs)[source]

Bases: ServerActionsBase

test_change_server_password()[source]

Test idempotent id: 6158df09-4b82-4ab3-af6d-29cf36af858d

Test changing server’s password

The server’s password should be set to the provided password and the user can authenticate with the new password.

test_get_console_output()[source]

Test idempotent id: 4b8867e6-fffa-4d54-b1d1-6fdda57be2f3

Test getting console output for a server

Should be able to GET the console output for a given server_id and number of lines.

test_lock_unlock_server()[source]

Test idempotent id: 80a8094c-211e-440a-ab88-9e59d556c7ee

Test locking and unlocking server

Lock the server, and trying to stop it will fail because locked server is not allowed to be stopped by non-admin user. Then unlock the server, now the server can be stopped and started.

test_pause_unpause_server()[source]

Test idempotent id: bd61a9fd-062f-4670-972b-2d6c3e3b9e73

Test pausing and unpausing server

test_reboot_server_hard()[source]

Test idempotent id: 2cb1baf6-ac8d-4429-bf0d-ba8a0ba53e32

Test hard rebooting server

The server should be power cycled.

test_rebuild_server()[source]

Test idempotent id: aaa6cdf3-55a7-461a-add9-1c8596b9a07c

Test rebuilding server

The server should be rebuilt using the provided image and data.

test_resize_server_confirm()[source]

Test idempotent id: 1499262a-9328-4eda-9068-db1ac57498d2

Test resizing server and then confirming

test_resize_server_revert()[source]

Test idempotent id: c03aab19-adb1-44f5-917d-c419577e9e68

Test resizing server and then reverting

The server’s RAM and disk space should return to its original values after a resize is reverted.

test_stop_start_server()[source]

Test idempotent id: af8eafd4-38a7-4a4b-bdbc-75145a580560

Test stopping and starting server

test_suspend_resume_server()[source]

Test idempotent id: 0d8ee21e-b749-462d-83da-b85b41c86c7f

Test suspending and resuming server

class ServerActionsTestOtherA(*args, **kwargs)[source]

Bases: ServerActionsBase

test_rebuild_server_in_stop_state()[source]

Test idempotent id: 30449a88-5aff-4f9b-9866-6ee9b17f906d

Test rebuilding server in stop state

The server in stop state should be rebuilt using the provided image and remain in SHUTOFF state.

test_rebuild_server_with_volume_attached()[source]

Test idempotent id: b68bd8d6-855d-4212-b59b-2e704044dace

Test rebuilding server with volume attached

The volume should be attached to the instance after rebuild.

test_remove_server_all_security_groups()[source]

Test idempotent id: 1d1c9104-1b0a-11e7-a3d4-fa163e65f5ce

Test removing all security groups from server

test_resize_volume_backed_server_confirm()[source]

Test idempotent id: e6c28180-7454-4b59-b188-0257af08a63b

Test resizing a volume backed server and then confirming

class ServerActionsTestOtherB(*args, **kwargs)[source]

Bases: ServerActionsBase

test_create_backup()[source]

Test idempotent id: b963d4f1-94b3-4c40-9e97-7b583f46e470

Test creating server backup

  1. create server backup1 with rotation=2, there are 1 backup.

  2. create server backup2 with rotation=2, there are 2 backups.

  3. create server backup3, due to the rotation is 2, the first one (backup1) will be deleted, so now there are still 2 backups.

test_get_console_output_server_id_in_shutoff_status()[source]

Test idempotent id: 5b65d4e7-4ecd-437c-83c0-d6b79d927568

Test getting console output for a server in SHUTOFF status

Should be able to GET the console output for a given server_id in SHUTOFF status.

test_get_console_output_with_unlimited_size()[source]

Test idempotent id: 89104062-69d8-4b19-a71b-f47b7af093d7

Test getting server’s console output with unlimited size

The console output lines length should be bigger than the one of test_get_console_output.

test_get_vnc_console()[source]

Test idempotent id: c6bc11bf-592e-4015-9319-1c98dc64daf5

Test getting vnc console from a server

The returned vnc console url should be in valid format.

test_resize_server_confirm_from_stopped()[source]

Test idempotent id: 138b131d-66df-48c9-a171-64f45eb92962

Test resizing a stopped server and then confirming

test_resize_server_revert_with_volume_attached()[source]

Test idempotent id: fbbf075f-a812-4022-bc5c-ccb8047eef12

Test resizing a volume attached server and then reverting

Tests attaching a volume to a server instance and then resizing the instance. Once the instance is resized, revert the resize which should move the instance and volume attachment back to the original compute host.

test_shelve_paused_server()[source]

Test idempotent id: 8cf9f450-a871-42cf-9bef-77eba189c0b0

Test shelving a paused server

test_shelve_unshelve_server()[source]

Test idempotent id: 77eba8e0-036e-4635-944b-f7a8f3b78dc9

Test shelving and unshelving server

class ServerActionsV293TestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

test_rebuild_volume_backed_server()[source]

Test idempotent id: 6652dab9-ea24-4c93-ab5a-93d79c3041cf

Test rebuilding a volume backed server

class ServersAaction247Test(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test compute server with microversion greater than 2.47

# NOTE(gmann): This test tests the Server create backup APIs # response schema for 2.47 microversion. No specific assert # or behaviour verification is needed.

test_create_backup()[source]

Test idempotent id: 252a4bdd-6366-4dae-9994-8c30aa660f23

compute.servers.test_server_addresses module

class ServerAddressesTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test server addresses

test_list_server_addresses()[source]

Test idempotent id: 6eb718c0-02d9-4d5e-acd1-4e0c269cef39

Test listing server address

All public and private addresses for a server should be returned.

test_list_server_addresses_by_network()[source]

Test idempotent id: 87bbc374-5538-4f64-b673-2b0e4443cc30

Test listing server addresses filtered by network addresses

Providing a network address should filter the addresses same with the specified one.

compute.servers.test_server_addresses_negative module

class ServerAddressesNegativeTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of listing server addresses

test_list_server_addresses_by_network_neg()[source]

Test idempotent id: a2ab5144-78c0-4942-a0ed-cc8edccfd9ba

List addresses by network should fail if network name not valid

test_list_server_addresses_invalid_server_id()[source]

Test idempotent id: 02c3f645-2d2e-4417-8525-68c0407d001b

List addresses request should fail if server id not in system

compute.servers.test_server_group module

class ServerGroup264TestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

These tests check for the server-group APIs 2.64 microversion.

This tests is only to verify the POST, GET server-groups APIs response schema with 2.64 microversion

test_create_get_server_group()[source]

Test idempotent id: b52f09dd-2133-4037-9a5d-bdb260096a88

class ServerGroupTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

These tests check for the server-group APIs.

They create/delete server-groups with different policies. policies = affinity/anti-affinity It also adds the tests for list and get details of server-groups

test_create_delete_multiple_server_groups_with_same_name_policy()[source]

Test idempotent id: 154dc5a4-a2fe-44b5-b99e-f15806a4a113

Test Create/Delete the server-groups with same name and policy

test_create_delete_server_group_with_affinity_policy()[source]

Test idempotent id: 5dc57eda-35b7-4af7-9e5f-3c2be3d2d68b

Test Create/Delete the server-group with affinity policy

test_create_delete_server_group_with_anti_affinity_policy()[source]

Test idempotent id: 3645a102-372f-4140-afad-13698d850d23

Test Create/Delete the server-group with anti-affinity policy

test_create_server_with_scheduler_hint_group()[source]

Test idempotent id: ed20d3fb-9d1f-4329-b160-543fbd5d9811

Test creating a server with the scheduler hint ‘group’

test_list_server_groups()[source]

Test idempotent id: d4874179-27b4-4d7d-80e4-6c560cdfe321

Test listing the server-groups

test_show_server_group()[source]

Test idempotent id: b3545034-dd78-48f0-bdc2-a4adfa6d0ead

Test getting the server-group detail

compute.servers.test_server_metadata module

class ServerMetadataTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test server metadata

test_delete_server_metadata_item()[source]

Test idempotent id: 127642d6-4c7b-4486-b7cd-07265a378658

Test deleting server metadata item

The metadata value/key pair should be deleted from the server.

test_get_server_metadata_item()[source]

Test idempotent id: 3043c57d-7e0e-49a6-9a96-ad569c265e6a

Test getting specific server metadata item

test_list_server_metadata()[source]

Test idempotent id: 479da087-92b3-4dcf-aeb3-fd293b2d14ce

Test listing server metadata

All metadata key/value pairs for a server should be returned.

test_set_server_metadata()[source]

Test idempotent id: 211021f6-21de-4657-a68f-908878cfe251

Test setting server metadata

The server’s metadata should be replaced with the provided values

test_set_server_metadata_item()[source]

Test idempotent id: 58c02d4f-5c67-40be-8744-d3fa5982eb1c

Test updating specific server metadata item

The metadata item’s value should be updated to the provided value.

test_update_metadata_empty_body()[source]

Test idempotent id: 0f58d402-e34a-481d-8af8-b392b17426d9

Test updating server metadata to empty values

The original server metadata should not be lost if empty metadata body is passed.

test_update_server_metadata()[source]

Test idempotent id: 344d981e-0c33-4997-8a5d-6c1d803e4134

Test updating server metadata

The server’s metadata values should be updated to the provided values.

compute.servers.test_server_metadata_negative module

class ServerMetadataNegativeTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of server metadata

test_create_server_metadata_blank_key()[source]

Test idempotent id: 92431555-4d8b-467c-b95b-b17daa5e57ff

Test creating server with blank metadata key should fail

test_delete_metadata_non_existent_server()[source]

Test idempotent id: 6bbd88e1-f8b3-424d-ba10-ae21c45ada8d

Test deleting metadata item from a non existent server

Should not be able to delete metadata item from a non-existent server.

test_list_server_metadata_non_existent_server()[source]

Test idempotent id: f408e78e-3066-4097-9299-3b0182da812e

Test listing metadata for a non existent server should fail

test_metadata_items_limit()[source]

Test idempotent id: d8c0a210-a5c3-4664-be04-69d96746b547

Test set/update server metadata over limit should fail

A 403 Forbidden or 413 Overlimit (old behaviour) exception will be raised while exceeding metadata items limit for project.

test_server_create_metadata_key_too_long()[source]

Test idempotent id: fe114a8f-3a57-4eff-9ee2-4e14628df049

Test creating server with too long metadata key should fail

test_server_metadata_non_existent_server()[source]

Test idempotent id: 4d9cd7a3-2010-4b41-b8fe-3bbf0b169466

Test getting metadata item for a non existent server should fail

test_set_metadata_invalid_key()[source]

Test idempotent id: 0025fbd6-a4ba-4cde-b8c2-96805dcfdabc

Test setting server metadata item with wrong key in body

Raise BadRequest if key in uri does not match the key passed in body.

test_set_metadata_non_existent_server()[source]

Test idempotent id: 0df38c2a-3d4e-4db5-98d8-d4d9fa843a12

Test setting metadata for a non existent server should fail

test_set_server_metadata_blank_key()[source]

Test idempotent id: 96100343-7fa9-40d8-80fa-d29ef588ce1c

Test setting server metadata with blank key should fail

test_set_server_metadata_missing_metadata()[source]

Test idempotent id: 64a91aee-9723-4863-be44-4c9d9f1e7d0e

Test setting server metadata without metadata field should fail

test_update_metadata_non_existent_server()[source]

Test idempotent id: 904b13dc-0ef2-4e4c-91cd-3b4a0f2f49d8

Test updating metadata for a non existent server should fail

test_update_metadata_with_blank_key()[source]

Test idempotent id: a452f38c-05c2-4b47-bd44-a4f0bf5a5e48

Test updating server metadata to blank key should fail

compute.servers.test_server_password module

class ServerPasswordTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test server password

test_delete_server_password()[source]

Test idempotent id: f8229e8b-b625-4493-800a-bde86ac611ea

Test deleting password from a server

test_get_server_password()[source]

Test idempotent id: f83b582f-62a8-4f22-85b0-0dee50ff783a

Test getting password of a server

compute.servers.test_server_personality module

class ServerPersonalityTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test servers with injected files

test_can_create_server_with_max_number_personality_files()[source]

Test idempotent id: 52f12ee8-5180-40cc-b417-31572ea3d555

Test creating server with maximum allowed number of injected files

Server should be created successfully if maximum allowed number of files is injected into the server during creation.

test_create_server_with_personality()[source]

Test idempotent id: 3cfe87fd-115b-4a02-b942-7dc36a337fdf

Test creating server with file injection

test_personality_files_exceed_limit()[source]

Test idempotent id: 176cd8c9-b9e8-48ee-a480-180beab292bf

Test creating server with injected files over limitation

Server creation should fail if greater than the maximum allowed number of files are injected into the server.

test_rebuild_server_with_personality()[source]

Test idempotent id: 128966d8-71fc-443c-8cab-08e24114ecc9

Test injecting file when rebuilding server

compute.servers.test_server_rescue module

class BaseServerStableDeviceRescueTest(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

class ServerBootFromVolumeStableRescueTest(*args, **kwargs)[source]

Bases: BaseServerStableDeviceRescueTest

Test rescuing server specifying type of device for the rescue disk

Test rescuing server specifying type of device for the rescue disk with compute microversion greater than 2.86.

test_stable_device_rescue_bfv_blank_volume()[source]

Test idempotent id: 48f123cb-922a-4065-8db6-b9a9074a556b

Test rescuing server with blank volume as block_device_mapping_v2

Create a server with block_device_mapping_v2 with blank volume, then rescue the server with disk and virtio as the rescue disk.

test_stable_device_rescue_bfv_image_volume()[source]

Test idempotent id: e4636333-c928-40fc-98b7-70a23eef4224

Test rescuing server with blank volume as block_device_mapping_v2

Create a server with block_device_mapping_v2 with image volume, then rescue the server with disk and virtio as the rescue disk.

class ServerRescueTestBase(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

class ServerRescueTestJSON(*args, **kwargs)[source]

Bases: ServerRescueTestBase

Test server rescue

test_rescue_unrescue_instance()[source]

Test idempotent id: fd032140-714c-42e4-a8fd-adcd8df06be6

Test rescue/unrescue server

class ServerRescueTestJSONUnderV235(*args, **kwargs)[source]

Bases: ServerRescueTestBase

Test server rescue with compute microversion less than 2.36

test_rescued_vm_add_remove_security_group()[source]

Test idempotent id: affca41f-7195-492d-8065-e09eee245404

Test add/remove security group to for rescued server

test_rescued_vm_associate_dissociate_floating_ip()[source]

Test idempotent id: 4842e0cf-e87d-4d9d-b61f-f4791da3cacc

Test associate/dissociate floating ip for rescued server

class ServerStableDeviceRescueTest(*args, **kwargs)[source]

Bases: BaseServerStableDeviceRescueTest

Test rescuing server specifying type of device for the rescue disk

test_stable_device_rescue_disk_scsi()[source]

Test idempotent id: 12340157-6306-4745-bdda-cfa019908b48

Test rescuing server with disk and scsi as the rescue disk

test_stable_device_rescue_disk_usb()[source]

Test idempotent id: 647d04cf-ad35-4956-89ab-b05c5c16f30c

Test rescuing server with disk and usb as the rescue disk

test_stable_device_rescue_disk_virtio()[source]

Test idempotent id: 16865750-1417-4854-bcf7-496e6753c01e

Test rescuing server with disk and virtio as the rescue disk

test_stable_device_rescue_disk_virtio_with_volume_attached()[source]

Test idempotent id: a3772b42-00bf-4310-a90b-1cc6fd3e7eab

Test rescuing server with volume attached

Attach a volume to the server and then rescue the server with disk and virtio as the rescue disk.

class ServerStableDeviceRescueTestIDE(*args, **kwargs)[source]

Bases: BaseServerStableDeviceRescueTest

Test rescuing server using an IDE device for the rescue disk

test_stable_device_rescue_cdrom_ide()[source]

Test idempotent id: 947004c3-e8ef-47d9-9f00-97b74f9eaf96

Test rescuing server with cdrom and ide as the rescue disk

compute.servers.test_server_rescue_negative module

class ServerRescueNegativeTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of server rescue

test_rescue_non_existent_server()[source]

Test idempotent id: 6dfc0a55-3a77-4564-a144-1587b7971dde

Test rescuing a non-existing server should fail

test_rescue_paused_instance()[source]

Test idempotent id: cc3a883f-43c0-4fb6-a9bb-5579d64984ed

Test rescuing a paused server should fail

test_rescued_vm_attach_volume()[source]

Test idempotent id: d0ccac79-0091-4cf4-a1ce-26162d0cc55f

Test attaching volume to a rescued server should fail

test_rescued_vm_detach_volume()[source]

Test idempotent id: f56e465b-fe10-48bf-b75d-646cda3a8bc9

Test detaching volume from a rescued server should fail

test_rescued_vm_reboot()[source]

Test idempotent id: db22b618-f157-4566-a317-1b6d467a8094

Test rebooing a rescued server should fail

test_rescued_vm_rebuild()[source]

Test idempotent id: 70cdb8a1-89f8-437d-9448-8844fd82bf46

Test rebuilding a rescued server should fail

compute.servers.test_server_tags module

class ServerTagsTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test server tags with compute microversion greater than 2.25

test_check_tag_existence()[source]

Test idempotent id: 81279a66-61c3-4759-b830-a2dbe64cbe08

Test checking server tag existence

test_create_delete_tag()[source]

Test idempotent id: 8d95abe2-c658-4c42-9a44-c0258500306b

Test creating and deleting server tag

test_delete_all_tags()[source]

Test idempotent id: a63b2a74-e918-4b7c-bcab-10c855f3a57e

Test deleting all server tags

test_update_all_tags()[source]

Test idempotent id: a2c1af8c-127d-417d-974b-8115f7e3d831

Test updating all server tags

compute.servers.test_servers module

class ServerShowV247Test(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test servers API with compute microversion greater than 2.46

test_show_server()[source]

Test idempotent id: 88b0bdb2-494c-11e7-a919-92ebcb67fe33

Test getting server detail

test_update_rebuild_list_server()[source]

Test idempotent id: 8de397c2-57d0-4b90-aa30-e5d668f21a8b

Test update/rebuild/list server

class ServerShowV263Test(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test servers API with compute microversion greater than 2.62

test_show_update_rebuild_list_server()[source]

Test idempotent id: 71b8e3d5-11d2-494f-b917-b094a4afed3c

Test show/update/rebuild/list server

class ServersListShow296Test(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test compute server with microversion >= than 2.96

This test tests the Server APIs response schema for 2.96 microversion. No specific assert or behaviour verification is needed.

test_list_show_server_296()[source]

Test idempotent id: 4eee1ffe-9e00-4c99-a431-0d3e0f323a8f

class ServersTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test servers API

test_create_server_specify_multibyte_character_name()[source]

Test idempotent id: defbaca5-d611-49f5-ae21-56ee25d2db49

Test creating server with multi character name

prefix character is: http://unicode.org/cldr/utility/character.jsp?a=20A1

We use a string with 3 byte utf-8 character due to nova will return 400(Bad Request) if we attempt to send a name which has 4 byte utf-8 character.

test_create_server_with_admin_password()[source]

Test idempotent id: b92d5ec7-b1dd-44a2-87e4-45e888c46ef0

Test creating server with admin password

If an admin password is provided on server creation, the server’s root password should be set to that password.

test_create_server_with_ipv6_addr_only()[source]

Test idempotent id: 38fb1d02-c3c5-41de-91d3-9bc2025a75eb

Test creating server with ipv6 address only(no ipv4 address)

test_create_specify_keypair()[source]

Test idempotent id: f9e15296-d7f9-4e62-b53f-a04e89160833

Test creating server with keypair

test_create_with_existing_server_name()[source]

Test idempotent id: 8fea6be7-065e-47cf-89b8-496e6f96c699

Test creating a server with already existing name is allowed

test_update_access_server_address()[source]

Test idempotent id: 89b90870-bc13-4b73-96af-f9d4f2b70077

Test updating server’s access addresses to the provided value

test_update_server_name()[source]

Test idempotent id: 5e6ccff8-349d-4852-a8b3-055df7988dd2

Test updating server name to the provided value

compute.servers.test_servers_microversions module

class ServerShowV254Test(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test servers API schema for compute microversion greater than 2.53

test_rebuild_server()[source]

Test idempotent id: 09170a98-4940-4637-add7-1a35121f1a5a

Test rebuilding server with microversion greater than 2.53

class ServerShowV257Test(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Test servers API schema for compute microversion greater than 2.56

test_rebuild_server()[source]

Test idempotent id: 803df848-080a-4261-8f11-b020cd9b6f60

Test rebuilding server with microversion greater than 2.56

compute.servers.test_servers_negative module

class ServersNegativeTestJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of servers

test_create_numeric_server_name()[source]

Test idempotent id: fd57f159-68d6-4c2a-902b-03070828a87e

Creating a server with numeric server name should fail

test_create_server_from_non_bootable_volume()[source]

Test idempotent id: 74085be3-a370-4ca2-bc51-2d0e10e0f573

Creating a server from a non bootable volume should fail

test_create_server_invalid_bdm_in_2nd_dict()[source]

Test idempotent id: 12146ac1-d7df-4928-ad25-b1f99e5286cd

Creating a server with invalid block_device_mapping_v2 should fail

Create a server with invalid block_device_mapping_v2, an error is returned.

test_create_server_metadata_exceeds_length_limit()[source]

Test idempotent id: 7fc74810-0bd2-4cd7-8244-4f33a9db865a

Creating a server with metadata longer than limit should fail

test_create_server_name_length_exceeds_256()[source]

Test idempotent id: c3e0fb12-07fc-4d76-a22e-37409887afe8

Creating a server with name length exceeding limit should fail

Create a server with name length exceeding 255 characters, an error is returned.

test_create_with_invalid_flavor()[source]

Test idempotent id: 18f5227f-d155-4429-807c-ccb103887537

Creating a server with an unknown flavor should fail

test_create_with_invalid_image()[source]

Test idempotent id: fcba1052-0a50-4cf3-b1ac-fae241edf02f

Creating a server with an unknown image should fail

test_create_with_invalid_network_uuid()[source]

Test idempotent id: 4e72dc2d-44c5-4336-9667-f7972e95c402

Creating a server with invalid network uuid should fail

test_create_with_non_existent_keypair()[source]

Test idempotent id: 7a2efc39-530c-47de-b875-2dd01c8d39bd

Creating a server with non-existent keypair should fail

test_create_with_nonexistent_security_group()[source]

Test idempotent id: c5fa6041-80cd-483b-aa6d-4e45f19d093c

Creating a server with a nonexistent security group should fail

test_delete_non_existent_server()[source]

Test idempotent id: 1041b4e6-514b-4855-96a5-e974b60870a3

Deleting a non existent server should fail

test_delete_server_pass_id_exceeding_length_limit()[source]

Test idempotent id: f4d7279b-5fd2-4bf2-9ba4-ae35df0d18c5

Deleting server with a server ID exceeding length limit should fail

Pass a server ID that exceeds length limit to delete server, an error is returned.

test_delete_server_pass_negative_id()[source]

Test idempotent id: 75f79124-277c-45e6-a373-a1d6803f4cc4

Passing an invalid string parameter to delete server should fail

test_force_delete_nonexistent_server_id()[source]

Test idempotent id: 6f47992b-5144-4250-9f8b-f00aa33950f3

Force-deleting a non existent server should fail

test_get_console_output_of_non_existent_server()[source]

Test idempotent id: 7dd919e7-413f-4198-bebb-35e2a01b13e9

Getting the console output for a non existent server should fail

test_get_non_existent_server()[source]

Test idempotent id: 3436b02f-1b1e-4f03-881e-c6a602327439

Getting a non existent server details should fail

test_invalid_access_ip_v4_address()[source]

Test idempotent id: 7f70a4d1-608f-4794-9e56-cb182765972c

Creating a server with invalid ipv4 ip address should fail

An access IPv4 address must match a valid address pattern

test_invalid_ip_v6_address()[source]

Test idempotent id: 5226dd80-1e9c-4d8a-b5f9-b26ca4763fd0

Creating a server with invalid ipv6 ip address should fail

An access IPv6 address must match a valid address pattern

test_pause_non_existent_server()[source]

Test idempotent id: 6a8dc0c6-6cd4-4c0a-9f32-413881828091

Pausing a non existent server should fail

test_pause_paused_server()[source]

Test idempotent id: d1417e7f-a509-41b5-a102-d5eed8613369

Pausing a paused server should fail

test_personality_file_contents_not_encoded()[source]

Test idempotent id: b8a7235e-5246-4a8f-a08e-b34877c6586f

Using an unencoded injected file to create server should fail

test_reboot_deleted_server()[source]

Test idempotent id: 581a397d-5eab-486f-9cf9-1014bbd4c984

Rebooting a deleted server should fail

test_reboot_non_existent_server()[source]

Test idempotent id: d4c023a0-9c55-4747-9dd5-413b820143c7

Rebooting a non existent server should fail

test_rebuild_deleted_server()[source]

Test idempotent id: 98fa0458-1485-440f-873b-fe7f0d714930

Rebuilding a deleted server should fail

test_rebuild_non_existent_server()[source]

Test idempotent id: d86141a7-906e-4731-b187-d64a2ea61422

Rebuilding a non existent server should fail

test_resize_nonexistent_server()[source]

Test idempotent id: 7ea45b3e-e770-46fa-bfcc-9daaf6d987c0

Resizing a non-existent server should fail

test_resize_server_with_non_existent_flavor()[source]

Test idempotent id: ced1a1d7-2ab6-45c9-b90f-b27d87b30efd

Resizing a server with non existent flavor should fail

test_resize_server_with_null_flavor()[source]

Test idempotent id: 45436a7d-a388-4a35-a9d8-3adc5d0d940b

Resizing a server with null flavor should fail

test_restore_nonexistent_server_id()[source]

Test idempotent id: 9c6d38cc-fcfb-437a-85b9-7b788af8bf01

Restore-deleting a non existent server should fail

We can restore a soft deleted server, but can’t restore a non existent server.

test_restore_server_invalid_state()[source]

Test idempotent id: 7fcadfab-bd6a-4753-8db7-4a51e51aade9

Restore-deleting a server not in ‘soft-delete’ state should fail

We can restore a soft deleted server, but can’t restore a server that is not in ‘soft-delete’ state.

test_resume_non_existent_server()[source]

Test idempotent id: 221cd282-bddb-4837-a683-89c2487389b6

Resuming a non existent server should fail

test_resume_server_invalid_state()[source]

Test idempotent id: ccb6294d-c4c9-498f-8a43-554c098bfadb

Resuming an active server should fail

test_server_name_blank()[source]

Test idempotent id: dbbfd247-c40c-449e-8f6c-d2aa7c7da7cf

Creating a server with name parameter empty should fail

test_shelve_non_existent_server()[source]

Test idempotent id: abca56e2-a892-48ea-b5e5-e07e69774816

Shelving a non existent server should fail

test_shelve_shelved_server()[source]

Test idempotent id: 443e4f9b-e6bf-4389-b601-3a710f15fddd

Shelving a shelved server should fail

test_stop_non_existent_server()[source]

Test idempotent id: a31460a9-49e1-42aa-82ee-06e0bb7c2d03

Stopping a non existent server should fail

test_suspend_non_existent_server()[source]

Test idempotent id: d1f032d5-7b6e-48aa-b252-d5f16dd994ca

Suspending a non existent server should fail

test_suspend_server_invalid_state()[source]

Test idempotent id: 7f323206-05a9-4bf8-996b-dd5b2036501b

Suspending a suspended server should fail

test_unpause_non_existent_server()[source]

Test idempotent id: 705b8e3a-e8a7-477c-a19b-6868fc24ac75

Unpausing a non existent server should fail

test_unpause_server_invalid_state()[source]

Test idempotent id: c8e639a7-ece8-42dd-a2e0-49615917ba4f

Unpausing an active server should fail

test_unshelve_non_existent_server()[source]

Test idempotent id: 23d23b37-afaf-40d7-aa5d-5726f82d8821

Unshelving a non existent server should fail

test_unshelve_server_invalid_state()[source]

Test idempotent id: 8f198ded-1cca-4228-9e65-c6b449c54880

Unshelving an active server should fail

test_update_name_of_non_existent_server()[source]

Test idempotent id: aa8eed43-e2cb-4ebf-930b-da14f6a21d81

Updating name of a non-existent server should fail

test_update_server_name_length_exceeds_256()[source]

Test idempotent id: 5c8e244c-dada-4590-9944-749c455b431f

Updating name of server exceeding the name length limit should fail

Update name of server exceeding the name length limit, an error is returned.

test_update_server_set_empty_name()[source]

Test idempotent id: 38204696-17c6-44da-9590-40f87fb5a899

Updating name of the server to an empty string should fail

class ServersNegativeTestMultiTenantJSON(*args, **kwargs)[source]

Bases: BaseV2ComputeTest

Negative tests of servers for multiple projects

test_delete_a_server_of_another_tenant()[source]

Test idempotent id: 5c75009d-3eea-423e-bea3-61b09fd25f9c

Deleting a server that belongs to another project should fail

test_update_server_of_another_tenant()[source]

Test idempotent id: 543d84c1-dd2e-4c6d-8cb2-b9da0efaa384

Updating server that belongs to another project should fail

Update name of a server that belongs to another project, an error is returned.

Module contents