summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2015-09-19 13:04:13 -0400
committerSteve Martinelli <stevemar@ca.ibm.com>2015-09-21 14:51:03 -0400
commitf5b50df8ea6de7e763f1c2e7079429d9c783f963 (patch)
tree49cb051a5de9c6d4144d58a4f5ea8f893ef9643f /setup.cfg
parentb288fbfb35a00fac7e2646592a7cabeff09026b3 (diff)
downloadpython-openstackclient-f5b50df8ea6de7e763f1c2e7079429d9c783f963.tar.gz
Add image create support for image v2
We have it for v1, but v2 is the future. There are two differences, things in v2 do not go into a properties dict, and the actual image data needs to get uploaded as a second step. Closes-Bug: 1405562 Co-Authored-By: Niall Bunting <niall.bunting@hp.com> Co-Authored-By: Sean Perry <sean.perry@hp.com> Change-Id: If7b81c4a6746c8a1eb0302c96e045fb0f457d67b
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index f2f4833b..0b936825 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -316,6 +316,7 @@ openstack.image.v1 =
openstack.image.v2 =
image_add_project = openstackclient.image.v2.image:AddProjectToImage
+ image_create = openstackclient.image.v2.image:CreateImage
image_delete = openstackclient.image.v2.image:DeleteImage
image_list = openstackclient.image.v2.image:ListImage
image_remove_project = openstackclient.image.v2.image:RemoveProjectImage