summaryrefslogtreecommitdiff
path: root/cinderclient/tests/functional/test_cli.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for --allow-multiattachSean McGinnis2019-09-111-6/+7
| | | | | | | | | | The ability to enable multiattach on the command line was deprecated in Queens with the full implementation of multiattach enabling it through volume type extra specs. This removes the command line arg and handling for specifying it with volume creation. Change-Id: Ifc0c874657f959266050cd1a7a40e6ecccc8c114 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Use api version 3 for functional testjunboli2018-06-191-3/+10
| | | | | | | | | switch to use OS_VOLUME_API_VERSION = 3 to run functional tests. Closes-bug: #1775354 Co-Authored-By: liuyamin <liuyamin@fiberhome.com> Change-Id: If6c4291aa7d8e85a4f8c1d5665a0e4a72aa1f1d1
* cinder show with attachments is a messJohn Griffith2017-07-031-1/+2
| | | | | | | | | | | | | | | | | | | The show command currently just dumps the entire attachments dictionary into the output which is a real mess and completely screws up the displayed output (shell command). There's really no reason to do this, we can just give the attachment ID's and then when you're on the newer versions you can do an attachment-show for all the crazy details if you want. Keep in mind that the list command already shows the server-id we're attached too, but that might also be nice from the show command rather than jumping through multiple commands. To try and accomodate various use cases we'll also add an "attached_servers" field to the show command, but you'll have to coorelate manually from there. Change-Id: I45ac49d8d9a185c52727c5bc24a6a1323be83689 Closes-Bug: #1494941
* Add functional tests: backup creation and deletionobutenko2015-11-231-0/+16
| | | | | | | This patch adds functional tests for cinder volume backup creation and deletion for python-cinderclient. Change-Id: I5aaa84c014d1147e9415392d52241ca4819589f6
* Remove duplicate code in functional testsYuriy Nesenenko2015-10-071-25/+37
| | | | | | | This patch allows to use a standard approach to volumes, snapshots and backups to avoid duplicating code. Change-Id: I0059fcb3bb8823105a7f960a30e70036bcbded8b
* Add functional tests for python-cinderclientYuriy Nesenenko2015-08-251-2/+12
| | | | | | | Add functional tests for cinder volume snapshot creation and deletion. Change-Id: I60f3a880102461f107a7f2d06c0b97f0bbe0c2e4 Partial-Implements: blueprint cinderclient-functional-tests
* Add tests for python-cinderclientYuriy Nesenenko2015-08-111-0/+57
Add tests for cinder volume creation and deletion by ID and by Name. Add test for cinder show volume output. Add method to wait for given volume status. Add method to check that volume deleted. Add method to check that volume is not deleted (for negative cases). Add method for volume deletion. Add method to get Volume properties from CLI output. Change-Id: I1e1f9bea2afc63e408a88e64fc1b6b6ee9f4e79b Implements: partial blueprint cinderclient-functional-tests Co-Authored-by: Kyrylo Romanenko <kromanenko@mirantis.com>