)]}'
{"id":"openstack%2Fpython-ironicclient~247903","triplet_id":"openstack%2Fpython-ironicclient~master~I8c7dac1ac39f92b2031e7f1fa95cd5c398a708d5","project":"openstack/python-ironicclient","branch":"master","topic":"bp/enhance-power-interface-for-soft-reboot-and-nmi","hashtags":[],"change_id":"I8c7dac1ac39f92b2031e7f1fa95cd5c398a708d5","subject":"Use a dict to translate node power states to json data.","status":"MERGED","created":"2015-11-20 03:36:05.000000000","updated":"2015-11-23 13:52:36.000000000","submitted":"2015-11-23 13:52:35.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":5,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"bfdb5bf3a20c2587603fb78203900c57b2f96f30","_number":247903,"virtual_id_number":247903,"owner":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2015-11-23 13:52:35.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},{"value":0,"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},{"value":0,"date":"2015-11-23 10:32:53.000000000","_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},{"value":0,"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},{"value":0,"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},{"value":0,"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"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":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2015-11-23 13:15:09.000000000","_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},{"value":0,"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},{"value":0,"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},{"value":0,"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},{"value":1,"date":"2015-11-23 11:59:42.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},{"value":2,"date":"2015-11-23 10:45:31.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"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":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":1,"date":"2015-11-23 13:15:09.000000000","_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},{"value":0,"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},{"value":0,"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},{"value":0,"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},{"value":0,"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},{"value":0,"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},{"value":0,"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},{"value":0,"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},{"value":0,"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},{"value":0,"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},{"value":0,"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"}],"values":{"-1":"Do Not Backport"," 0":"Backport Review Needed","+1":"Should Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-11-20 11:39:48.000000000","updated_by":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"reviewer":{"_account_id":13719,"name":"Naohiro Tamura","email":"naohirot.openstack@gmail.com","username":"nao"},"state":"REVIEWER"},{"updated":"2015-11-20 11:40:08.000000000","updated_by":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"reviewer":{"_account_id":13689,"name":"Hironori Shiina","email":"Hironori.Shiina@fujitsu.com","username":"shiina"},"state":"REVIEWER"},{"updated":"2015-11-23 10:45:31.000000000","updated_by":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"reviewer":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"state":"REVIEWER"},{"updated":"2015-11-23 11:59:42.000000000","updated_by":{"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},"reviewer":{"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},"state":"REVIEWER"},{"updated":"2015-11-23 13:15:09.000000000","updated_by":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"reviewer":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"state":"REVIEWER"},{"updated":"2015-11-23 13:52:35.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"08f207bd603ea8be857e0a9173dcb3b4050b1bc6","author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"date":"2015-11-20 03:36:05.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"e1ac63b1bda21f444046784f03247ac00c8b0b5b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-20 04:42:46.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-ironicclient-python34 http://logs.openstack.org/03/247903/1/check/gate-python-ironicclient-python34/ba58297/ : SUCCESS in 2m 07s\n- gate-python-ironicclient-pep8 http://logs.openstack.org/03/247903/1/check/gate-python-ironicclient-pep8/ba43ba3/ : SUCCESS in 1m 07s\n- gate-python-ironicclient-docs http://docs-draft.openstack.org/03/247903/1/check/gate-python-ironicclient-docs/ca8d370//doc/build/html/ : SUCCESS in 1m 46s\n- gate-python-ironicclient-python27 http://logs.openstack.org/03/247903/1/check/gate-python-ironicclient-python27/dbe0da9/ : SUCCESS in 1m 35s\n- gate-python-ironicclient-pypy http://logs.openstack.org/03/247903/1/check/gate-python-ironicclient-pypy/c52d7b2/ : SUCCESS in 3m 34s (non-voting)\n- gate-tempest-dsvm-python-ironicclient-src http://logs.openstack.org/03/247903/1/check/gate-tempest-dsvm-python-ironicclient-src/ca87766/ : SUCCESS in 59m 55s\n- gate-ironicclient-dsvm-functional http://logs.openstack.org/03/247903/1/check/gate-ironicclient-dsvm-functional/87d4383/ : SUCCESS in 25m 56s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"d4ae354fc092180e08bb03e12481edea45653e6a","author":{"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},"date":"2015-11-23 04:03:51.000000000","message":"Patch Set 1: Code-Review-1\n\n(2 comments)\n\nThanks for the patch Tang, just some suggestions inline.","accounts_in_message":[],"_revision_number":1},{"id":"425d6b7ffa530907188d5c2db5ab4965121cd18c","author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"date":"2015-11-23 04:13:54.000000000","message":"Patch Set 1:\n\n(2 comments)\n\nHi Michael,\n\nThanks for the review. Will update it. :)","accounts_in_message":[],"_revision_number":1},{"id":"f48a7121e64c834baa0e8cbb12f2bcaa3b1af722","author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"date":"2015-11-23 05:30:13.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"d4462402d8693960a582f8832451e10e3699e901","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-23 06:06:15.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-ironicclient-python34 http://logs.openstack.org/03/247903/2/check/gate-python-ironicclient-python34/645e51f/ : SUCCESS in 1m 50s\n- gate-python-ironicclient-pep8 http://logs.openstack.org/03/247903/2/check/gate-python-ironicclient-pep8/4d7e76b/ : SUCCESS in 1m 02s\n- gate-python-ironicclient-docs http://docs-draft.openstack.org/03/247903/2/check/gate-python-ironicclient-docs/105c0cd//doc/build/html/ : SUCCESS in 1m 59s\n- gate-python-ironicclient-python27 http://logs.openstack.org/03/247903/2/check/gate-python-ironicclient-python27/d09dbbd/ : SUCCESS in 1m 20s\n- gate-python-ironicclient-pypy http://logs.openstack.org/03/247903/2/check/gate-python-ironicclient-pypy/e6d6d77/ : SUCCESS in 2m 08s (non-voting)\n- gate-tempest-dsvm-python-ironicclient-src http://logs.openstack.org/03/247903/2/check/gate-tempest-dsvm-python-ironicclient-src/8daeb90/ : SUCCESS in 35m 56s\n- gate-ironicclient-dsvm-functional http://logs.openstack.org/03/247903/2/check/gate-ironicclient-dsvm-functional/edeafb7/ : SUCCESS in 21m 30s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"318df40f92d24b71363e135b7b7266533a274842","author":{"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},"date":"2015-11-23 06:16:32.000000000","message":"Patch Set 2: Code-Review+1\n\nThanks for the patch Tang, LGTM!","accounts_in_message":[],"_revision_number":2},{"id":"53eafb61d3694ef6d8defc9f6e1af632462fdcac","author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"date":"2015-11-23 10:04:35.000000000","message":"Patch Set 2: Code-Review-1\n\n(1 comment)\n\nchanges looks good, but the commit message is confusing, please update it","accounts_in_message":[],"_revision_number":2},{"id":"df8abc242eb26f77a26b3fb2ea68db406c69e2fc","author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"date":"2015-11-23 10:31:52.000000000","message":"Patch Set 3: Commit message was updated","accounts_in_message":[],"_revision_number":3},{"id":"3ee081798feed838c536aa378f9e34c1c0dc2bd9","author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"date":"2015-11-23 10:32:53.000000000","message":"Patch Set 3:\n\nHi Dmitry,\n\nYes. An API was added in my first version patch. And I forgot to change the commit message. Updated.\n\nThx.","accounts_in_message":[],"_revision_number":3},{"id":"9393efde8dda970186a59e96b6568f0589bf6010","author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"date":"2015-11-23 10:45:31.000000000","message":"Patch Set 3: Code-Review+2","accounts_in_message":[],"_revision_number":3},{"id":"93a3fec97c2c421940d044044ff658cc6df0fdc4","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-23 11:14:56.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-ironicclient-python34 http://logs.openstack.org/03/247903/3/check/gate-python-ironicclient-python34/a1a1dc9/ : SUCCESS in 1m 33s\n- gate-python-ironicclient-pep8 http://logs.openstack.org/03/247903/3/check/gate-python-ironicclient-pep8/97bc6f1/ : SUCCESS in 1m 06s\n- gate-python-ironicclient-docs http://docs-draft.openstack.org/03/247903/3/check/gate-python-ironicclient-docs/a07191d//doc/build/html/ : SUCCESS in 1m 28s\n- gate-python-ironicclient-python27 http://logs.openstack.org/03/247903/3/check/gate-python-ironicclient-python27/59e3aac/ : SUCCESS in 1m 20s\n- gate-python-ironicclient-pypy http://logs.openstack.org/03/247903/3/check/gate-python-ironicclient-pypy/5fc4c85/ : SUCCESS in 2m 00s (non-voting)\n- gate-tempest-dsvm-python-ironicclient-src http://logs.openstack.org/03/247903/3/check/gate-tempest-dsvm-python-ironicclient-src/8c16daf/ : SUCCESS in 42m 54s\n- gate-ironicclient-dsvm-functional http://logs.openstack.org/03/247903/3/check/gate-ironicclient-dsvm-functional/c799264/ : SUCCESS in 19m 49s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"e54f4c779c2a704c822a46db631ee6dbaba56e2c","author":{"_account_id":8125,"name":"Michael Davies","email":"michael@the-davies.net","username":"mrda"},"date":"2015-11-23 11:59:42.000000000","message":"Patch Set 3: Code-Review+1\n\nThanks Tang","accounts_in_message":[],"_revision_number":3},{"id":"9f3994d886ac14180295ccffb058c8f3804f8900","author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"date":"2015-11-23 13:15:09.000000000","message":"Patch Set 3: Code-Review+2 Workflow+1\n\nLGTM, thanks!","accounts_in_message":[],"_revision_number":3},{"id":"6adcbfef5b2407c608c2e82ed769ed4172c384d6","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-23 13:15:14.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":3},{"id":"93e4052b6807dafbfa91f2fc15fcd66d7696f69b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-23 13:52:35.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-ironicclient-python34 http://logs.openstack.org/03/247903/3/gate/gate-python-ironicclient-python34/c738ad0/ : SUCCESS in 1m 56s\n- gate-python-ironicclient-docs http://docs-draft.openstack.org/03/247903/3/gate/gate-python-ironicclient-docs/e625bb0//doc/build/html/ : SUCCESS in 1m 45s\n- gate-python-ironicclient-pep8 http://logs.openstack.org/03/247903/3/gate/gate-python-ironicclient-pep8/07e438f/ : SUCCESS in 1m 06s\n- gate-python-ironicclient-python27 http://logs.openstack.org/03/247903/3/gate/gate-python-ironicclient-python27/3d5624b/ : SUCCESS in 1m 11s\n- gate-tempest-dsvm-python-ironicclient-src http://logs.openstack.org/03/247903/3/gate/gate-tempest-dsvm-python-ironicclient-src/dffaae4/ : SUCCESS in 37m 17s","accounts_in_message":[],"_revision_number":3},{"id":"9610eeb2781c8586a756decd104ef16b92b5fabb","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-11-23 13:52:36.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"5d0de8f39295b87cdc67a2b4358eaafb7c2c4cf5","revisions":{"9af7c23e78008147982d018e43f3ac5ed9f0a699":{"kind":"REWORK","_number":1,"created":"2015-11-20 03:36:05.000000000","uploader":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"ref":"refs/changes/03/247903/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-ironicclient","ref":"refs/changes/03/247903/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/1"}}},"commit":{"parents":[{"commit":"b58fe1c2ab39be3653627ca010211d40d15c28ba","subject":"Merge \"Add documentation on how to run tests\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/b58fe1c2ab39be3653627ca010211d40d15c28ba"}]}],"author":{"name":"Tang Chen","email":"tangchen@cn.fujitsu.com","date":"2015-11-21 03:02:42.000000000","tz":480},"committer":{"name":"Tang Chen","email":"tangchen@cn.fujitsu.com","date":"2015-11-21 03:02:42.000000000","tz":480},"subject":"Use API to translate node power states to json data.","message":"Use API to translate node power states to json data.\n\nThe input of set_power_state() is different from the real string\nit sends to Ironic service in json data. The power states were\ntranslated in set_power_state(). Using a dict to map the translation\nis more clear, and easier to add new power states.\n\nChange-Id: I8c7dac1ac39f92b2031e7f1fa95cd5c398a708d5\nImplements: blueprint enhance-power-interface-for-soft-reboot-and-nmi\nRelated-to: blueprint soft-reboot-poweroff\nRelated-to: blueprint instance-crash-dump\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/9af7c23e78008147982d018e43f3ac5ed9f0a699"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/9af7c23e78008147982d018e43f3ac5ed9f0a699"}]},"branch":"refs/heads/master"},"a2e8744385fd2496f0f8e97a23da4f615a4e2793":{"kind":"REWORK","_number":2,"created":"2015-11-23 05:30:13.000000000","uploader":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"ref":"refs/changes/03/247903/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-ironicclient","ref":"refs/changes/03/247903/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/2"}}},"commit":{"parents":[{"commit":"65f2b18c33a3249ae515eb42247c605ef42a1fbb","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/65f2b18c33a3249ae515eb42247c605ef42a1fbb"}]}],"author":{"name":"Tang Chen","email":"tangchen@cn.fujitsu.com","date":"2015-11-21 03:02:42.000000000","tz":480},"committer":{"name":"Tang Chen","email":"tangchen@cn.fujitsu.com","date":"2015-11-24 05:21:54.000000000","tz":480},"subject":"Use API to translate node power states to json data.","message":"Use API to translate node power states to json data.\n\nThe input of set_power_state() is different from the real string\nit sends to Ironic service in json data. The power states were\ntranslated in set_power_state(). Using a dict to map the translation\nis more clear, and easier to add new power states.\n\nChange-Id: I8c7dac1ac39f92b2031e7f1fa95cd5c398a708d5\nImplements: blueprint enhance-power-interface-for-soft-reboot-and-nmi\nRelated-to: blueprint soft-reboot-poweroff\nRelated-to: blueprint instance-crash-dump\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/a2e8744385fd2496f0f8e97a23da4f615a4e2793"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/a2e8744385fd2496f0f8e97a23da4f615a4e2793"}]},"branch":"refs/heads/master"},"5d0de8f39295b87cdc67a2b4358eaafb7c2c4cf5":{"kind":"NO_CODE_CHANGE","_number":3,"created":"2015-11-23 10:31:52.000000000","uploader":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"ref":"refs/changes/03/247903/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-ironicclient","ref":"refs/changes/03/247903/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-ironicclient refs/changes/03/247903/3"}}},"commit":{"parents":[{"commit":"65f2b18c33a3249ae515eb42247c605ef42a1fbb","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/65f2b18c33a3249ae515eb42247c605ef42a1fbb"}]}],"author":{"name":"Tang Chen","email":"tangchen@cn.fujitsu.com","date":"2015-11-21 03:02:42.000000000","tz":480},"committer":{"name":"Tang Chen","email":"tangchen@cn.fujitsu.com","date":"2015-11-23 10:31:52.000000000","tz":0},"subject":"Use a dict to translate node power states to json data.","message":"Use a dict to translate node power states to json data.\n\nThe input of set_power_state() is different from the real string\nit sends to Ironic service in json data. The power states were\ntranslated in set_power_state(). Using a dict to map the translation\nis more clear, and easier to add new power states.\n\nChange-Id: I8c7dac1ac39f92b2031e7f1fa95cd5c398a708d5\nImplements: blueprint enhance-power-interface-for-soft-reboot-and-nmi\nRelated-to: blueprint soft-reboot-poweroff\nRelated-to: blueprint instance-crash-dump\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/5d0de8f39295b87cdc67a2b4358eaafb7c2c4cf5"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-ironicclient/commit/5d0de8f39295b87cdc67a2b4358eaafb7c2c4cf5"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
