summaryrefslogtreecommitdiff
path: root/glanceclient/common/https.py
diff options
context:
space:
mode:
authorErno Kuvaja <jokke@hp.com>2014-10-14 16:23:45 +0000
committerErno Kuvaja <jokke@hp.com>2014-11-26 09:34:48 +0000
commit8e02b2a64145719dd2bcd870983be53dc4330e30 (patch)
treee06cd030fad155485b579ab57451fe2102fa5b0c /glanceclient/common/https.py
parent3b6754a8cc8932cd9645d54acc8d02826993a546 (diff)
downloadpython-glanceclient-8e02b2a64145719dd2bcd870983be53dc4330e30.tar.gz
Allow --file in image-create with v2 Image API
Allows passing --file and --progress to glance image-create with Image API v2. if --file is present the image-create effectively calls image-upload with the newly created image's id and the '--file' + '--progress' paramaters. The image metadata will be printed after the upload call instead of after creation. In a case argumented file does not exist the image will not be created and error will be printed instead. DocImpact Closes-Bug: #1324067 Change-Id: I5d41fb2bbeb4e56213ae8696b84bf96b749414f8
Diffstat (limited to 'glanceclient/common/https.py')
0 files changed, 0 insertions, 0 deletions