)]}'
{"id":"openstack%2Fpython-novaclient~18340","triplet_id":"openstack%2Fpython-novaclient~master~Ic7f6ce76608a448dea3c151bc349391fbf3fa456","project":"openstack/python-novaclient","branch":"master","topic":"bug/1091814","hashtags":[],"change_id":"Ic7f6ce76608a448dea3c151bc349391fbf3fa456","subject":"Specify some arguments by name.","status":"MERGED","created":"2012-12-18 19:43:10.000000000","updated":"2012-12-20 18:08:30.000000000","submitted":"2012-12-20 18:08:29.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"f43ab91ee7b6b27f02fdabbbe7f491ab07690ed0","_number":18340,"virtual_id_number":18340,"owner":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"value":2,"date":"2012-12-20 18:08:29.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},"all":[{"value":2,"date":"2012-12-20 17:16:20.000000000","_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2012-12-18 20:11:45.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},"all":[{"value":1,"date":"2012-12-20 17:16:20.000000000","_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"date":"2012-12-18 20:11:45.000000000","permitted_voting_range":{"min":0,"max":1},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2012-12-18 20:11:45.000000000","updated_by":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"reviewer":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"state":"REVIEWER"},{"updated":"2012-12-20 17:16:20.000000000","updated_by":{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},"reviewer":{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},"state":"REVIEWER"},{"updated":"2012-12-20 18:08:29.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"d6fd1bdb00d44760210710245f8e9a90d1c7a0ba","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2012-12-18 20:11:45.000000000","message":"Patch Set 1: Looks good to me (core reviewer)\n\n(1 inline comment)\n\n","accounts_in_message":[],"_revision_number":1},{"id":"3c3897ecff9142041f07a1e4647ff23cb0160ff3","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2012-12-18 20:15:12.000000000","message":"Patch Set 1: Works for me\n\nBuild successful\n\n- http://logs.openstack.org/18340/1/check/gate-python-novaclient-docs/449 : SUCCESS\n- http://logs.openstack.org/18340/1/check/gate-python-novaclient-pep8/757 : SUCCESS\n- http://logs.openstack.org/18340/1/check/gate-python-novaclient-python26/555 : SUCCESS\n- http://logs.openstack.org/18340/1/check/gate-python-novaclient-python27/769 : SUCCESS\n- http://logs.openstack.org/18340/1/check/gate-tempest-devstack-vm/22875 : SUCCESS\n","accounts_in_message":[],"_revision_number":1},{"id":"dfd379c65efb586f698706275c0b8d296eaf9cd6","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2012-12-20 17:16:20.000000000","message":"Patch Set 1: No score\n\nStarting gate jobs.\nhttp://zuul.openstack.org/","accounts_in_message":[],"_revision_number":1},{"id":"2e913a400eebb2712f2005657a2592bf40b034b2","author":{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},"date":"2012-12-20 17:16:20.000000000","message":"Patch Set 1: Looks good to me (core reviewer); Approved\n\n","accounts_in_message":[],"_revision_number":1},{"id":"d33b0a90a17afe884439814aff5a6a2dfeb66878","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2012-12-20 18:08:29.000000000","message":"Patch Set 1: Verified\n\nBuild successful\n\n- http://logs.openstack.org/18340/1/gate/gate-python-novaclient-docs/460 : SUCCESS\n- http://logs.openstack.org/18340/1/gate/gate-python-novaclient-pep8/768 : SUCCESS\n- http://logs.openstack.org/18340/1/gate/gate-python-novaclient-python26/566 : SUCCESS\n- http://logs.openstack.org/18340/1/gate/gate-python-novaclient-python27/780 : SUCCESS\n- http://logs.openstack.org/18340/1/gate/gate-tempest-devstack-vm/23223 : SUCCESS\n","accounts_in_message":[],"_revision_number":1},{"id":"672ee9e1a44fc57bb443b10691c07f8645fa9910","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2012-12-20 18:08:30.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"eaf3c366c34c64f2e0a6ce0ada2b2db7ff09fc5b","revisions":{"eaf3c366c34c64f2e0a6ce0ada2b2db7ff09fc5b":{"kind":"REWORK","_number":1,"created":"2012-12-18 19:43:10.000000000","uploader":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"ref":"refs/changes/40/18340/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/40/18340/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/40/18340/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/40/18340/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/40/18340/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/40/18340/1"}}},"commit":{"parents":[{"commit":"8d3650048a34f5c900b01d2f72d8fc50beff87ac","subject":"Merge \"Add optional argument to include reservations in os-used-limits\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/8d3650048a34f5c900b01d2f72d8fc50beff87ac"}]}],"author":{"name":"Ken\u0027ichi Ohmichi","email":"oomichi@mxs.nes.nec.co.jp","date":"2012-12-18 19:23:36.000000000","tz":540},"committer":{"name":"Ken\u0027ichi Ohmichi","email":"oomichi@mxs.nes.nec.co.jp","date":"2012-12-18 19:43:07.000000000","tz":540},"subject":"Specify some arguments by name.","message":"Specify some arguments by name.\n\n\u0027nova boot\u0027, \u0027nova flavor-key\u0027, \u0027nova flavor-show\u0027 and the other subcommands\ncan be specified by a flavor name also.\nBut \u0027nova flavor-delete\u0027 and \u0027nova list --flavor\u0027 cannot, also \u0027nova list\n--image\u0027 cannot be specified by a image name.\nI feel it is user-friendly that a user can specify arguments by name.\n\nBy this patch, a user can do it like the following.\n\nBefore appying this patch:\n $ nova flavor-delete m1.tiny\n ERROR: Flavor m1.tiny could not be found. (HTTP 404) (Request-ID: req-af2c049f-1b77-42cf-a9ed-a3914626bc83)\n $\n $ nova list --flavor m1.tiny\n ERROR: Flavor could not be found (HTTP 422) (Request-ID: req-dbfd5df2-77d7-4a71-a3e6-b1f7fd25b96c)\n $\n $ nova list --image cirros-0.3.0-x86_64-uec\n\n $\n\nAfter appying this patch:\n $ nova flavor-delete m1.tiny\n $\n $ nova list --flavor m1.tiny\n +--------------------------------------+--------+--------+------------------+\n | ID                                   | Name   | Status | Networks         |\n +--------------------------------------+--------+--------+------------------+\n | 2f003e0e-bfdf-4f56-bdf9-276732e640a0 | test01 | ACTIVE | private\u003d10.0.0.2 |\n +--------------------------------------+--------+--------+------------------+\n $\n $ nova list --image cirros-0.3.0-x86_64-uec\n +--------------------------------------+--------+--------+------------------+\n | ID                                   | Name   | Status | Networks         |\n +--------------------------------------+--------+--------+------------------+\n | 2f003e0e-bfdf-4f56-bdf9-276732e640a0 | test01 | ACTIVE | private\u003d10.0.0.2 |\n +--------------------------------------+--------+--------+------------------+\n $\n\nFixes bug 1091814\n\nChange-Id: Ic7f6ce76608a448dea3c151bc349391fbf3fa456\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/eaf3c366c34c64f2e0a6ce0ada2b2db7ff09fc5b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/eaf3c366c34c64f2e0a6ce0ada2b2db7ff09fc5b"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
