openstack-python-openstackc.../openstackclient
whoami-rajat 4710cbeca6 Add test for creating volume from source
This patch adds a test to create a new volume from source.
We also include code changes to pass the right size i.e. either
size passed by the user via --size argument or the source volume
size. This case is already handled at the API layer[1] but it
helps being consistent with passing the right size value as in case
of creating a volume from snapshot or backup.

[1] 7c1a5ce7b1/cinder/api/v3/volumes.py (L381-L382)

Change-Id: Idc71636dad6bb678fe24f19b0836d2e9bd92d7d2
2022-11-23 14:20:06 +05:30
..
api Remove usage of six 2020-10-07 02:15:25 +00:00
common Merge "quota: Deprecate "force" behavior for network quotas" 2022-11-05 09:24:51 +00:00
compute Merge "Moved hypervisor to the SDK" 2022-11-16 11:18:32 +00:00
identity Merge "Add authorization_ttl for identity providers" 2022-09-30 12:31:51 +00:00
image image: Add 'image stage' command 2022-11-09 16:51:54 +00:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Merge "Improve help text for network create --external" 2022-09-30 12:23:17 +00:00
object Add storage policy option to create container command 2020-02-19 10:08:48 +13:00
tests Add test for creating volume from source 2022-11-23 14:20:06 +05:30
volume Add test for creating volume from source 2022-11-23 14:20:06 +05:30
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Remove usage of six 2020-10-07 02:15:25 +00:00