summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorDavid Koo <david.koo@huawei.com>2014-02-11 11:06:02 +0800
committerChris Buccella <buccella@linux.vnet.ibm.com>2014-06-16 21:56:41 +0000
commit323d32cc6d28434ad57f3ddd5253b9a8950b4c8a (patch)
tree25087a9db5cded339f30b556205b4c2caacb47ba /.mailmap
parentdbefc1a3b11a44143a5bf5976eb118107658a134 (diff)
downloadpython-glanceclient-323d32cc6d28434ad57f3ddd5253b9a8950b4c8a.tar.gz
Add support for location parameters in v2 commands
Currently glanceclient's v2 commands don't support modification operations on an image's location attribute - the argparse specification for the location attribute of the image-update command causes the image id argument to be included in list of locations and so the command parsing fails (because it causes the image id to appear to be missing). Furthermore even if the 'locations' argument were to be accepted by argparse (e.g. by changing the argument specs and using --id to specify the image id) the command would still fail because the arguments are passed directly to the schema which expects the value of the 'locations' argument to be a valid dictionary (there is nobody to convert the argument string to a python dictionary that the schema expects). This commit adds the following location related commands to glanceclient: --location-add: Add a new location to the list of image locations. --location-delete: Remove an existing location from the list of image locations. --location-update: Update the metadata of existing location. The glanceclient.v2.images.Controller class has been agumented with three new methods to support the commands listed above: - add_location - delete_locations - update_location The server has not been modified, i.e. all location related API requests are passed to the server via HTTP PATCH requests and handled by the server's image update function. The v2 'image' and 'shell' related tests have also been supplemented. Note that in order to use these options the server must be first configured to expose location related info to the clients (i.e. 'show_multiple_locations' must be set to 'True"). I also added a mailmap entry for myself. DocImpact Closes-bug: #1271452 Co-Author: David Koo (koofoss) <david.koo@huawei.com> Change-Id: Id1f320af05d9344645836359758e4aa227aafc69
Diffstat (limited to '.mailmap')
-rw-r--r--.mailmap5
1 files changed, 2 insertions, 3 deletions
diff --git a/.mailmap b/.mailmap
index 04abdc4..1a348b9 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1,5 +1,4 @@
-# Format is:
-# <preferred e-mail> <other e-mail 1>
-# <preferred e-mail> <other e-mail 2>
+# "man git-shortlog" for reference
<mr.alex.meade@gmail.com> <hatboy112@yahoo.com>
<mr.alex.meade@gmail.com> <alex.meade@rackspace.com>
+David Koo <david.koo@huawei.com> <kpublicmail@gmail.com>