summaryrefslogtreecommitdiff
path: root/tempest_lib/services
Commit message (Collapse)AuthorAgeFilesLines
* Retire tempest-lib in favor of tempest.libHEADmasterGhanshyam Mann2022-04-0554-3408/+0
| | | | | | | | | | | | | | | As of the 1.0.0 release tempest-lib as a separate repository and project is deprecated. We moved all the code to tempest.lib temepst version 10. Hoping everyone is moved to tempest.lib now, We can retire the tempest-lib. We discussed the same in PTG and agreed to proceed on retirement - https://etherpad.opendev.org/p/qa-zed-ptg Needed-By: https://review.opendev.org/c/openstack/governance/+/836704 Change-Id: I37ceb96e084f569ea59e4849ca8770742ce17846
* Merge "Add update attached volume function to servers_client"Jenkins2016-02-121-0/+9
|\
| * Add update attached volume function to servers_clientTakashi NATSUME2016-02-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix project domain problem in v3 token clientJohn Warren2016-02-101-4/+4
| | | | | | | | | | | | | | | | The project domain (name or ID) is omitted in auth requests when the project ID is specified. This change fixes the issue. Change-Id: I3d970acd9b5c61ee3436689f940a5e92b10ae299 Closes-Bug: #1542655
* | Merge "Add bulk methods to network service clients"0.14.0Jenkins2016-02-053-0/+27
|\ \ | |/ |/|
| * Add bulk methods to network service clientsKen'ichi Ohmichi2016-02-033-0/+27
| | | | | | | | | | | | | | | | | | | | | | The tempest network_client still contains some bulk methods, but they should be implemented on each resource client. This patch addes them into each client. After this patch and a new tempest-lib release, we can remove these bulk methods from Tempest. Partially implements blueprint consistent-service-method-names Change-Id: Iea34620ae8785cc593d9c68bf3c31840f3e79bd7
* | Merge "Migrated 2 network clients from tempest"Jenkins2016-02-042-0/+57
|\ \
| * | Migrated 2 network clients from tempestKen'ichi Ohmichi2016-02-022-0/+57
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * security_group_rules_client.py: I2cd6bef13a16672bf0dbf6aeab0c60f0221e1a49 * extensions_client.py : I49b30eac4d7db0b06a3b0946158e542801cf4e75 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I76b1d0b1c3ffb2c366c4e6d95105d9c8fde2a22b
* | Merge "Added __init__.py to tests/services/identity/"Jenkins2016-02-032-2/+2
|\ \ | |/ |/|
| * Added __init__.py to tests/services/identity/Adrien Cunin2016-01-252-2/+2
| | | | | | | | | | | | | | | | | | | | This is necessary for the tests to actually be run. Also use sort_keys=True for json.dumps() in both the auth() methods and the unit tests that compare the expected and actual request bodies. Otherwise the order of the keys is unpredictable and the tests fail randomly. Change-Id: Ieb27be22367b419326939c4261388286e6c996c4
* | Merge "Change attach_id to volume_id in show_volume_attachment"Jenkins2016-01-261-2/+2
|\ \
| * | Change attach_id to volume_id in show_volume_attachmentMatt Riedemann2016-01-261-2/+2
| |/ | | | | | | | | | | | | | | | | | | The id in the os-volume_attachments GET request is actually the volume id [1] so rename the variable so people like me aren't super confused when writing code with tempest-lib. [1] http://tinyurl.com/hl2mcwb Change-Id: Ie5454963ce931a7238e34737b638e171c69d0125
* | Merge "Raise IdentityError if auth_url doesn't exist"Jenkins2016-01-262-0/+6
|\ \
| * | Raise IdentityError if auth_url doesn't existAdrien Cunin2016-01-252-0/+6
| |/ | | | | | | | | | | | | | | | | | | Otherwise a TypeError, not understandable for the user, is raised. This happens for example when using tempest account-generator with no identity uri defined in the config file. Also added unit tests for this specific case. Change-Id: Ia8d523f973240300e0010b9b28f5ee63b2b84341
* | Migrated 2 network clients from tempestKen'ichi Ohmichi2016-01-262-0/+108
|/ | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * agents_client.py : I505fa196c574027692497848d235781d903cb9f6 * subnetpools_client.py: I405a896b4da0c5cb5bc87622d07498c06932f406 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I97b67e2385452db6ef59bc4b8c63c211ca119bc2
* Migrated quotas_client and security_groups_clientKen'ichi Ohmichi2016-01-062-0/+73
| | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * quotas_client.py : I8087a7bf5e130778df9629065a8bfda8018fdbe0 * security_groups_client.py: I88a43f44346671de5dfb759d07c4086cffa8d4d9 to see the commit history for these files refer to the above Change-Ids in the tempest repository. NOTE: reset_quotas() of quotas_client is different from the method naming rule, but is is the same as the api-site. So it is fine now. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I559c7ec29d6cc85060d59b8b7714a669a277f217
* Merge "Migrated 6 network clients from tempest"Jenkins2015-12-248-0/+289
|\
| * Migrated 6 network clients from tempestKen'ichi Ohmichi2015-12-178-0/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * base.py : Icf9f6fa4ea52a1fe72253391abf4880b1f8ed497 * floating_ips_client.py : Iaeabf6cb827e4153d72353dab6d1d66f0f246eb6 * metering_label_rules_client.py: Iddecde5f6f5c1ac88a18d71aab1fc26370b26ba8 * metering_labels_client.py : I3364fc9320640b875f5232c2ae5a4ae98121d821 * networks_client.py : Iff82c07bae2b1c82e5ff914ca90fcf5fc7de8daa * ports_client.py : I1248cc6132f4a2e40ad13f6177c7ecda834db57d * subnets_client.py : I52c9d099b97540440fa98343c736b894d130a07e to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: Ic840c3697f727612dfe754948e9a5890e7f2505d
* | Migrated servers_client.py from tempest0.12.0Ken'ichi Ohmichi2015-12-161-0/+561
|/ | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * servers_client.py : I7174723f907fd8962d9d12fe76bec2dc06883938 * servers.py : I10a8c32b53f15063dab087d67123598800b141a0 * test_servers_client.py: I7174723f907fd8962d9d12fe76bec2dc06883938 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I9234f063a72bd58100bfffd3db38718a257ce6ea
* Migrated floating_ips_client.py from tempestKen'ichi Ohmichi2015-12-081-0/+103
| | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * floating_ips_client.py: Ib7886438228f31142dd23d9ca3205e7d2b434c92 * test_floating_ips_client.py: Ibbb6439d31f5379bcb5e92e8bf49bcab9ad51a0f to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: Ide46dfbd437707c376bb44f86c99a87b739b9ef0
* Fix the links to api-site docKen'ichi Ohmichi2015-12-063-16/+4
| | | | | | | | | The api-site doc contained invalid links which were duplicated in the doc. We did put TODOs for fixing the links after the api-site changes. Now these links have been fixed on the api-site, so this patch fixes them in tempest-lib. Change-Id: I8bbfc2933d5400b8ae35331bc63f128421486d02
* Merge "Remove get_server_group()"Jenkins2015-12-031-7/+0
|\
| * Remove get_server_group()Ken'ichi Ohmichi2015-12-031-7/+0
| | | | | | | | | | | | | | | | server_groups_client is not released yet on the latest temepst-lib (v0.11.0), so we can remove get_server_group() because nobody uses this method. Change-Id: Ibc63c797fa72ac265ca72a0786071c458531b87d
* | Add docstring for create/update methods([h-q]*)Ken'ichi Ohmichi2015-12-037-17/+62
| | | | | | | | | | | | | | | | | | | | | | As we discussed on http://lists.openstack.org/pipermail/openstack-dev/2015-July/068864.html we need to write docstring for http POST/PUT methods. This patch adds docstring for create/update methods of compute client [h-q]*. In addition, this patch fixes some inconsistencies like "Creates" is changed to "Create". Change-Id: I7c96053f0389b31b6321f0290a210a132862c90e
* | Add docstring for create/update methods([a-f]*)Ken'ichi Ohmichi2015-12-026-25/+67
| | | | | | | | | | | | | | | | | | | | | | As we discussed on http://lists.openstack.org/pipermail/openstack-dev/2015-July/068864.html we need to write docstring for http POST/PUT methods. This patch adds docstring for create/update methods of compute client [a-f]*. In addition, this patch fixes some inconsistencies like "Creates" is changed to "Create". Change-Id: Ibb395364ee60c3a72daecb2b65d6525d19f28e7d
* | Add docstring for create/update methods([s-v]*)Ken'ichi Ohmichi2015-12-027-43/+40
|/ | | | | | | | | | | As we discussed on http://lists.openstack.org/pipermail/openstack-dev/2015-July/068864.html we need to write docstring for http POST/PUT methods. This patch adds docstring for create/update methods of compute client [s-v]*. In addition, this patch fixes some inconsistencies like "Creates" is changed to "Create". Change-Id: I48917b6ddd40f1b959f2a1e1f2c6306524aeec99
* Merge "Fix fixed_ip schema and service client"Jenkins2015-12-021-2/+2
|\
| * Fix fixed_ip schema and service clientghanshyam2015-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two issues in fixed_ip schema and client. 1. Schema expect string in response body- Nova had bug#1356058 for response of reserve/unreserve fixed ip APIs, where plain text ("202 Accepted The request is accepted for processing.") was returned in response body. It is fixed on Nova side - Ifca3081f573407808a2196e71ac1db87180db6ec 2. Return value of reserve_fixed_ip client method- In Fixed ip service client, reserve_fixed_ip method does not return the response body. As per consistency in service client interfaces, this method should return the response value even that is empty body. Those were fixed in Tempest but did not get sync in lib. -I098ee0d1fa3056f8cfb0654e2b8fd3bf75fb3e2c -I2cb1ef8dacd1994576656cfb108dd2eef2fbd988 Change-Id: I27b8d2165188ee069f5d8d22c0426f2c748f80c8
* | Rename get_server_group to show_server_groupKen'ichi Ohmichi2015-11-191-3/+10
|/ | | | | | | | | | | | | | | | [GET /resources] methods should be "list_<resource name>s" or "show_<resource name>", so this patch applies the rule to server_group client. This patch makes tempest-lib sync for the commit of Tempest I75307176c2f032301da6227249070c42af54dd6e, but get_server_group has been released in tempest-lib 1.0.0 already. So it is difficult to remove it directly for backwards compatibility and this patch adds warning message for clarifying deprecated method. Partially implements blueprint consistent-service-method-names Change-Id: I9e321aaf4791e8ff11e3aa114b41eb612db481ca
* Merge "Migrated server_groups_client.py"Jenkins2015-11-101-0/+57
|\
| * Migrated server_groups_client.pyJohn Fischer2015-09-291-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * server_groups_client.py : Icb38fd22c61545cfbe024108a06068ada01afc6b * test_server_groups_client.py: I3ad6761651cec5e66012d08e6b63322f53286a5c * servers.py : Ica929c402a3d042ae751302384e68853eb28b405 Partially implements blueprint migrate-service-clients-to-tempest-lib to see the commit history for these files refer to the above Change-Ids in the tempest repository Change-Id: Ie95fcbfad5352d272e8977c33f80ebb9769fe824
* | Merge "Migrated security_group_rules_client.py"Jenkins2015-11-101-0/+48
|\ \ | |/ |/|
| * Migrated security_group_rules_client.pyThao Nguyen2015-10-091-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * security_group_rules_client.py: If8c82c978d269f59f4606b65b25e1eace20e9b4a * test_security_group_rules_client.py: I2df27f5603a46eb8454556e410b2feea5ab22539 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I2be5d9983dd31a2af455fdb5c495227f22b3f575
* | Merge "Migrated quota_classes_client.py from tempest"Jenkins2015-10-151-0/+45
|\ \
| * | Migrated quota_classes_client.py from tempestTuan Nguyen2015-10-091-0/+45
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * quota_classes_client.py: Idd8afb1bcfc1b0165b1e967a991d4705ff182249 * test_quota_classes_client.py: I3ad6761651cec5e66012d08e6b63322f53286a5c * quota_classes.py: I2378e019353f551a3ac49666edd5ecb561b5b6ed to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I48ce2ddf21218eb02f6ae47cb0356c340ced06ae
* | Merge "Migrated services_client.py from tempest"Jenkins2015-10-151-0/+58
|\ \
| * | Migrated services_client.py from tempestKen'ichi Ohmichi2015-10-141-0/+58
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * services_client.py : Ib5617c3957cf60b2c1f11b78b7c3a136adf7ef9d * test_services_client.py: I3ad6761651cec5e66012d08e6b63322f53286a5c * services.py : Icd49783f19be4c30df9532e85b0cccf3410ad8fb to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I29684ec61023650bd2bb3a76b708bac24608f6c0
* | Merge "Migrated interfaces_client.py from tempest"Jenkins2015-10-151-0/+50
|\ \
| * | Migrated interfaces_client.py from tempestReedip Banerjee2015-10-141-0/+50
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * interfaces_client.py: Idacc612bfed3d5a4abd58c8a987f68675b948f86 * test_interfaces_client.py: I976fd1d91dc3db4006f32b30e859981120487b0b * interfaces.py: I64883306235dc3b90a3a878674532f77d825d5c4 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I758cf64ba1e6f760a60ed253cb9a8c9bc75ba73b
* | Merge "Migrated volumes_client.py from tempest"Jenkins2015-10-151-0/+78
|\ \
| * | Migrated volumes_client.py from tempestKen'ichi Ohmichi2015-10-141-0/+78
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * volumes_client.py : Ibd9b6c67c5b9790b6d6f1a76d334ee5d6c98ad5f * test_volumes_client.py: Ibd9b6c67c5b9790b6d6f1a76d334ee5d6c98ad5f * volumes.py : Ica929c402a3d042ae751302384e68853eb28b405 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I10913f82dc3d0bef53edd67144cb47580d3c574d
* | Migrated snapshots_client.py from tempestKenji Yasui2015-10-141-0/+71
|/ | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * snapshots_client.py : If7be1e24451b24fce03dcfc1394abb6260da460c * test_snapshots_client.py : Idc31ee38fd9d5fd4873de6ba29550bdd5ce35043 * snapshots.py : I9694e36a7d0a8e9bd6cd66c9dc46a4a715d2c25f to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I7854f7e080de9e819a1fae0d2de5d3aee111505a
* Merge "Migrated images_client.py from tempest"0.10.0Jenkins2015-10-091-0/+122
|\
| * Migrated images_client.py from tempestReedip Banerjee2015-10-071-0/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * images_client.py: I57818ccf8d0f6a631223a240b20829e5c40c3e6d * test_images_client.py: I2a33e98c6b6770ef6e67362a663847296e03fbc1 * images.py: Ica929c402a3d042ae751302384e68853eb28b405 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I495915a5a40f7d351cb69463c032281e02c907c7
* | Merge "Migrated versions_client.py from tempest"Jenkins2015-10-091-0/+55
|\ \
| * | Migrated versions_client.py from tempestThao Nguyen2015-09-301-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * versions.py: I70294329870de46b2c4c8775a1d7920bee403954 * versions_client.py: I70294329870de46b2c4c8775a1d7920bee403954 to see the commit history for these files refer to the above Change-Ids in the tempest repository Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: I41ec60e12a155ee80f3a1825405bdd6e1ec82425
* | | Merge "Migrated extensions_client.py from tempest"Jenkins2015-10-091-0/+34
|\ \ \
| * | | Migrated extensions_client.py from tempestKen'ichi Ohmichi2015-10-021-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the above files from tempest. This includes tempest commits: * extensions_client.py : I8dcb70ce6ba2af59c7636c5f83157dd058fb1df3 * test_extensions_client.py: I3ad6761651cec5e66012d08e6b63322f53286a5c * extensions.py : Ica929c402a3d042ae751302384e68853eb28b405 to see the commit history for these files refer to the above Change-Ids in the tempest repository. Partially implements blueprint migrate-service-clients-to-tempest-lib Change-Id: Ic658f09649ed9498fe6d3e7792a7c370772f165b
* | | | Merge "Add more debug info for token_client request"Jenkins2015-10-092-2/+4
|\ \ \ \
| * | | | Add more debug info for token_client requestRoxana Gherle2015-10-072-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the request headers and response body to the debug logs of the token_client request. Request body is omitted because of security reasons of not revealing passwords in the debug logs. Also, response body has sufficient information about the type of the token requested, therefore omitting request headers is ok. Closes-Bug: #1503751 Change-Id: I830364e1df0e34398039442dc003fe46ca1db3a1