)]}'
{"id":"openstack%2Fpython-novaclient~61292","triplet_id":"openstack%2Fpython-novaclient~master~I0f244c4bcc7e56d6181445b5d58785607a8dac03","project":"openstack/python-novaclient","branch":"master","topic":"bug/1259262","hashtags":[],"change_id":"I0f244c4bcc7e56d6181445b5d58785607a8dac03","subject":"Add a CLI to disable/enable a flavor","status":"ABANDONED","created":"2013-12-11 00:05:45.000000000","updated":"2013-12-19 06:03:09.000000000","total_comment_count":9,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"3c155b516d7cd57264936cbb0539c336eb90d99b","_number":61292,"virtual_id_number":61292,"owner":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"value":-1,"date":"2013-12-11 05:47:17.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":-1,"default_value":0,"optional":true},"Code-Review":{"disliked":{"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"},"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"date":"2013-12-11 17:05:56.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},{"value":-1,"date":"2013-12-11 15:17:45.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":-1,"date":"2013-12-11 05:14:42.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"}],"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":"","value":-1,"default_value":0,"optional":true},"Workflow":{"all":[{"date":"2013-12-11 16:55:41.000000000","_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"permitted_voting_range":{"min":-1,"max":0},"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},{"value":0,"date":"2013-12-11 15:17:45.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":67,"name":"Vish Ishaya","email":"vishvananda@gmail.com","username":"vishvananda"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},{"value":0,"permitted_voting_range":{"min":0,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"}],"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"},{"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"},{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2013-12-11 05:14:42.000000000","updated_by":{"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"},"reviewer":{"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"},"state":"REVIEWER"},{"updated":"2013-12-11 05:47:17.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"},{"updated":"2013-12-11 15:17: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":"2013-12-11 16:55:41.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"}],"messages":[{"id":"79f3d3091c32dbd396500e621808b5d0e01754ee","author":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"date":"2013-12-11 00:15:16.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"e9988bd3fe92c1f168bd72dd22c61cdb65f8a7e0","author":{"_account_id":5494,"name":"Trivial Rebase","email":"trivial-rebase@review.openstack.org","username":"trivial-rebase"},"date":"2013-12-11 00:15:22.000000000","message":"Patch Set 2:\n\nNew patchset patch-id matches previous patchset, but commit message has changed.","accounts_in_message":[],"_revision_number":2},{"id":"bc212ec5c27babe870eb0f06e001da58962044a0","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2013-12-11 00:49:19.000000000","message":"Patch Set 2: Doesn\u0027t seem to work\n\nBuild failed.  For information on how to proceed, see https://wiki.openstack.org/wiki/GerritJenkinsGit#Test_Failures\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/92/61292/2/check/gate-python-novaclient-pep8/45c86c7 : FAILURE in 42s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/92/61292/2/check/gate-python-novaclient-docs/b78bb53/doc/build/html/ : SUCCESS in 57s\n- gate-python-novaclient-python26 http://logs.openstack.org/92/61292/2/check/gate-python-novaclient-python26/8a7425d : SUCCESS in 54s\n- gate-python-novaclient-python27 http://logs.openstack.org/92/61292/2/check/gate-python-novaclient-python27/99d19ba : SUCCESS in 1m 12s\n- gate-python-novaclient-python33 http://logs.openstack.org/92/61292/2/check/gate-python-novaclient-python33/6f30776 : SUCCESS in 4m 20s\n- gate-python-novaclient-pypy http://logs.openstack.org/92/61292/2/check/gate-python-novaclient-pypy/4bf7c3d : SUCCESS in 1m 52s\n- check-tempest-dsvm-full http://logs.openstack.org/92/61292/2/check/check-tempest-dsvm-full/eb8ad97 : SUCCESS in 33m 58s\n- check-tempest-dsvm-postgres-full http://logs.openstack.org/92/61292/2/check/check-tempest-dsvm-postgres-full/213a161 : SUCCESS in 33m 43s\n- check-tempest-dsvm-neutron http://logs.openstack.org/92/61292/2/check/check-tempest-dsvm-neutron/5a6d3ab : SUCCESS in 27m 14s\n- gate-tempest-dsvm-large-ops http://logs.openstack.org/92/61292/2/check/gate-tempest-dsvm-large-ops/b51d29c : SUCCESS in 12m 46s\n- gate-tempest-dsvm-neutron-large-ops http://logs.openstack.org/92/61292/2/check/gate-tempest-dsvm-neutron-large-ops/186735e : SUCCESS in 14m 11s\n- check-grenade-dsvm http://logs.openstack.org/92/61292/2/check/check-grenade-dsvm/6254f20 : SUCCESS in 31m 43s\n","accounts_in_message":[],"_revision_number":2},{"id":"65a92a50b7c1e5767a999cc49b8f6103f1827fc3","author":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"date":"2013-12-11 04:09:33.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"3bd514eeed47f2ae7e4c66a8ddc927b59193e972","author":{"_account_id":5494,"name":"Trivial Rebase","email":"trivial-rebase@review.openstack.org","username":"trivial-rebase"},"date":"2013-12-11 04:09:39.000000000","message":"Patch Set 3:\n\nNew patchset patch-id matches previous patchset, but commit message has changed.","accounts_in_message":[],"_revision_number":3},{"id":"2049809dde7506a56ab6c562f66f9adc88c83214","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2013-12-11 04:43:15.000000000","message":"Patch Set 3: Doesn\u0027t seem to work\n\nBuild failed.  For information on how to proceed, see https://wiki.openstack.org/wiki/GerritJenkinsGit#Test_Failures\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/92/61292/3/check/gate-python-novaclient-pep8/1d0ff96 : SUCCESS in 51s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/92/61292/3/check/gate-python-novaclient-docs/ec8cdcb/doc/build/html/ : SUCCESS in 46s\n- gate-python-novaclient-python26 http://logs.openstack.org/92/61292/3/check/gate-python-novaclient-python26/2119c6f : SUCCESS in 1m 04s\n- gate-python-novaclient-python27 http://logs.openstack.org/92/61292/3/check/gate-python-novaclient-python27/74c91cf : SUCCESS in 55s\n- gate-python-novaclient-python33 http://logs.openstack.org/92/61292/3/check/gate-python-novaclient-python33/6b04e8d : SUCCESS in 4m 20s\n- gate-python-novaclient-pypy http://logs.openstack.org/92/61292/3/check/gate-python-novaclient-pypy/dd3862f : SUCCESS in 1m 50s\n- check-tempest-dsvm-full http://logs.openstack.org/92/61292/3/check/check-tempest-dsvm-full/1b621f6 : FAILURE in 33m 38s\n- check-tempest-dsvm-postgres-full http://logs.openstack.org/92/61292/3/check/check-tempest-dsvm-postgres-full/4b5ff66 : SUCCESS in 33m 21s\n- check-tempest-dsvm-neutron http://logs.openstack.org/92/61292/3/check/check-tempest-dsvm-neutron/bc78190 : SUCCESS in 31m 57s\n- gate-tempest-dsvm-large-ops http://logs.openstack.org/92/61292/3/check/gate-tempest-dsvm-large-ops/fc0f4ea : SUCCESS in 12m 09s\n- gate-tempest-dsvm-neutron-large-ops http://logs.openstack.org/92/61292/3/check/gate-tempest-dsvm-neutron-large-ops/f87b3ef : SUCCESS in 13m 19s\n- check-grenade-dsvm http://logs.openstack.org/92/61292/3/check/check-grenade-dsvm/d6237e2 : FAILURE in 28m 16s\n","accounts_in_message":[],"_revision_number":3},{"id":"70a91966d32b8db89bb3444fbc19893cb7fdffc9","author":{"_account_id":8871,"name":"Elastic Recheck","username":"elasticrecheck"},"date":"2013-12-11 04:44:09.000000000","message":"Patch Set 3:\n\nI noticed tempest failed, I think you hit bug(s):\n\n- https://bugs.launchpad.net/bugs/1253896\n\nWe don\u0027t automatically recheck or reverify, so please consider\ndoing that manually if someone hasn\u0027t already. For a code review\nwhich is not yet approved, you can recheck by leaving a code\nreview comment with just the text:\n\n    recheck bug 1253896\n\nFor a code review which has been approved but failed to merge,\nyou can reverify by leaving a comment like this:\n\n    reverify bug 1253896","accounts_in_message":[],"_revision_number":3},{"id":"e084d6b36f88c402690a245096655ed1fe8f82a8","author":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"date":"2013-12-11 05:07:46.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"97c6140ab49db14b56ac6bf2527674f8cc2fa364","author":{"_account_id":5494,"name":"Trivial Rebase","email":"trivial-rebase@review.openstack.org","username":"trivial-rebase"},"date":"2013-12-11 05:07:53.000000000","message":"Patch Set 4:\n\nNew patchset patch-id matches previous patchset, but commit message has changed.","accounts_in_message":[],"_revision_number":4},{"id":"8150fa1b8800d6a4281e44110191e6f826f1d06e","author":{"_account_id":7770,"name":"Abhishek Chanda","email":"abhishek.becs@gmail.com","username":"abhishek"},"date":"2013-12-11 05:14:42.000000000","message":"Patch Set 4: I would prefer that you didn\u0027t merge this\n\n(1 inline comment)\n\n","accounts_in_message":[],"_revision_number":4},{"id":"f4d9ae7db2d0a8d6b0632b55053e0012aaeaf8bd","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2013-12-11 05:47:17.000000000","message":"Patch Set 4: Doesn\u0027t seem to work\n\nBuild failed.  For information on how to proceed, see https://wiki.openstack.org/wiki/GerritJenkinsGit#Test_Failures\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/92/61292/4/check/gate-python-novaclient-pep8/cb0852b : SUCCESS in 48s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/92/61292/4/check/gate-python-novaclient-docs/298ac9d/doc/build/html/ : SUCCESS in 46s\n- gate-python-novaclient-python26 http://logs.openstack.org/92/61292/4/check/gate-python-novaclient-python26/33cf271 : SUCCESS in 51s\n- gate-python-novaclient-python27 http://logs.openstack.org/92/61292/4/check/gate-python-novaclient-python27/15dba3a : SUCCESS in 1m 03s\n- gate-python-novaclient-python33 http://logs.openstack.org/92/61292/4/check/gate-python-novaclient-python33/9985489 : SUCCESS in 4m 22s\n- gate-python-novaclient-pypy http://logs.openstack.org/92/61292/4/check/gate-python-novaclient-pypy/4554bb8 : SUCCESS in 1m 51s\n- check-tempest-dsvm-full http://logs.openstack.org/92/61292/4/check/check-tempest-dsvm-full/fc068b5 : SUCCESS in 33m 15s\n- check-tempest-dsvm-postgres-full http://logs.openstack.org/92/61292/4/check/check-tempest-dsvm-postgres-full/74d2607 : SUCCESS in 38m 33s\n- check-tempest-dsvm-neutron http://logs.openstack.org/92/61292/4/check/check-tempest-dsvm-neutron/91e654b : SUCCESS in 31m 10s\n- gate-tempest-dsvm-large-ops http://logs.openstack.org/92/61292/4/check/gate-tempest-dsvm-large-ops/39b4267 : SUCCESS in 12m 18s\n- gate-tempest-dsvm-neutron-large-ops http://logs.openstack.org/92/61292/4/check/gate-tempest-dsvm-neutron-large-ops/9a57f23 : SUCCESS in 18m 01s\n- check-grenade-dsvm http://logs.openstack.org/92/61292/4/check/check-grenade-dsvm/8839555 : FAILURE in 28m 09s\n","accounts_in_message":[],"_revision_number":4},{"id":"92f9ee3b70e56265e94363d3dd0d22ebba6e88d0","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2013-12-11 15:17:45.000000000","message":"Patch Set 4: I would prefer that you didn\u0027t merge this\n\n(8 inline comments)\n\n","accounts_in_message":[],"_revision_number":4},{"id":"b92356bb04e8461dd30f99d4b90fea954615a4b3","author":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"date":"2013-12-11 17:05:56.000000000","message":"Patch Set 4:\n\nadd Vish Ishaya who added the \u0027disabled\u0027 flag to flavor one year ago.\n\nThe use case with \u0027disabled\u0027 for us is that:\n1. when a flavor is disabled, it will be invisible to a tenant while calling \u0027nova flavor-list\u0027. Which means a tenant can not use the disabled flavor to create new instance.\n\nAdmin will use this flag to temporarily disable a flavor in case of resource limitation or upgrading process, etc.\n\n2. however if a flavor is already used by instances, \u0027disabled\u0027 flag does not prevent accessing it through flavor_id. This makes sure that when a flavor is disabled, all exiting functions using the flavor will not break.\n\n\nI would like to know what is the original use case for the \u0027disabled\u0027 flag ?","accounts_in_message":[],"_revision_number":4},{"id":"abd2e64ed515b4d48c2d11488756b5dfa1712480","author":{"_account_id":9,"name":"LaunchpadSync","username":"launchpadsync"},"date":"2013-12-19 06:03:09.000000000","message":"Patch Set 4:\n\ncode review expired after 1 week of no activity after a negative review, it can be restored using the `Restore Change` button under the Patch Set on the web interface","accounts_in_message":[],"_revision_number":4},{"id":"6739c06af59aa10d160437ef3791e47bfaa42d25","author":{"_account_id":9,"name":"LaunchpadSync","username":"launchpadsync"},"date":"2013-12-19 06:03:09.000000000","message":"Patch Set 4: Abandoned\n\ncode review expired after 1 week of no activity after a negative review, it can be restored using the `Restore Change` button under the Patch Set on the web interface","accounts_in_message":[],"_revision_number":4}],"current_revision_number":4,"current_revision":"5ca0372b1aee33449acb8519c86b753af4b8e88d","revisions":{"bdf861188a29d46c791d592cc6f47c32ad437908":{"kind":"REWORK","_number":1,"created":"2013-12-11 00:05:45.000000000","uploader":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"ref":"refs/changes/92/61292/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/92/61292/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/1"}}},"commit":{"parents":[{"commit":"dd4bc08dd9a571637734a92c9411c32ea1f36dcf","subject":"Fix incorrect help message on flavor_access action","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/dd4bc08dd9a571637734a92c9411c32ea1f36dcf"}]}],"author":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 00:04:32.000000000","tz":-480},"committer":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 00:05:44.000000000","tz":-480},"subject":"Add a REST API to disable/enable a flavor.","message":"Add a REST API to disable/enable a flavor.\n\nIf a flavor is disabled, it is invisible to tenants while show a list of flavors.\nBut if a flavor is already associated with instances, a tenants can still access it by the flavor_id.\n\nusage: nova flavor-disabled \u003cflavor\u003e \u003cdisabled\u003e\n\nSample request:\nREQ: curl -i 770bbdfdd5c2472383641bb33b77725a/flavors/12\"\u003ehttp://127.0.0.1:8774/v2/770bbdfdd5c2472383641bb33b77725a/flavors/12\n                 -d \u0027{\"flavor\": {\"OS-FLV-DISABLED:disabled\": true}}\n\nSample output from CLI:\n\ncloud@devstack:~$ nova help flavor-disabled\nusage: nova flavor-disabled \u003cflavor_id\u003e \u003cdisabled\u003e\n\nChange the visibility of a flavor between Enabled and Disabled.\n\nPositional arguments:\n  \u003cflavor_id\u003e  flavor id.\n  \u003cdisabled\u003e   value of disabled (true or false).\n\ncloud@devstack:~$ nova flavor-disabled 12 true\n+--------------------------+-------+\n| Property                 | Value |\n+--------------------------+-------+\n| OS-FLV-DISABLED:disabled | True  |\n| disk                     | 0     |\n| extra_specs              | {}    |\n| id                       | 12    |\n| name                     | test  |\n| ram                      | 1024  |\n| vcpus                    | 1     |\n+--------------------------+-------+\n\ncloud@devstack:~$ nova flavor-list\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | Disabled |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0         | True      | False    |\n| 12 | test      | 1024      | 0    | 0         |      | 1     | 1.0         | True      | True     |\n| 13 | test1     | 1024      | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      | False    |\n| 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      | False    |\n| 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      | False    |\n| 42 | m1.nano   | 64        | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      | False    |\n| 84 | m1.micro  | 128       | 0    | 0         |      | 1     | 1.0         | True      | False    |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n\nChange-Id: I0f244c4bcc7e56d6181445b5d58785607a8dac03\nCloses-Bug: #1259262\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/bdf861188a29d46c791d592cc6f47c32ad437908"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/bdf861188a29d46c791d592cc6f47c32ad437908"}]},"branch":"refs/heads/master"},"d4cfd474febfbb42fe314a61571c9124a7b622fa":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2013-12-11 00:15:16.000000000","uploader":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"ref":"refs/changes/92/61292/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/92/61292/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/2"}}},"commit":{"parents":[{"commit":"dd4bc08dd9a571637734a92c9411c32ea1f36dcf","subject":"Fix incorrect help message on flavor_access action","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/dd4bc08dd9a571637734a92c9411c32ea1f36dcf"}]}],"author":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 00:04:32.000000000","tz":-480},"committer":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 00:14:47.000000000","tz":-480},"subject":"Add a CLI to disable/enable a flavor.","message":"Add a CLI to disable/enable a flavor.\n\nIf a flavor is disabled, it is invisible to tenants while show a list of flavors.\nBut if a flavor is already associated with instances, a tenants can still access it by the flavor_id.\n\nusage: nova flavor-disabled \u003cflavor\u003e \u003cdisabled\u003e\n\nSample request:\nREQ: curl -i 770bbdfdd5c2472383641bb33b77725a/flavors/12\"\u003ehttp://127.0.0.1:8774/v2/770bbdfdd5c2472383641bb33b77725a/flavors/12\n                 -d \u0027{\"flavor\": {\"OS-FLV-DISABLED:disabled\": true}}\n\nSample output from CLI:\n\ncloud@devstack:~$ nova help flavor-disabled\nusage: nova flavor-disabled \u003cflavor_id\u003e \u003cdisabled\u003e\n\nChange the visibility of a flavor between Enabled and Disabled.\n\nPositional arguments:\n  \u003cflavor_id\u003e  flavor id.\n  \u003cdisabled\u003e   value of disabled (true or false).\n\ncloud@devstack:~$ nova flavor-disabled 12 true\n+--------------------------+-------+\n| Property                 | Value |\n+--------------------------+-------+\n| OS-FLV-DISABLED:disabled | True  |\n| disk                     | 0     |\n| extra_specs              | {}    |\n| id                       | 12    |\n| name                     | test  |\n| ram                      | 1024  |\n| vcpus                    | 1     |\n+--------------------------+-------+\n\ncloud@devstack:~$ nova flavor-list\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | Disabled |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0         | True      | False    |\n| 12 | test      | 1024      | 0    | 0         |      | 1     | 1.0         | True      | True     |\n| 13 | test1     | 1024      | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      | False    |\n| 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      | False    |\n| 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      | False    |\n| 42 | m1.nano   | 64        | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      | False    |\n| 84 | m1.micro  | 128       | 0    | 0         |      | 1     | 1.0         | True      | False    |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n\nChange-Id: I0f244c4bcc7e56d6181445b5d58785607a8dac03\nCloses-Bug: #1259262\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/d4cfd474febfbb42fe314a61571c9124a7b622fa"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/d4cfd474febfbb42fe314a61571c9124a7b622fa"}]},"branch":"refs/heads/master"},"e6f3408e959baf19ca64dd9c624f8296af6e547a":{"kind":"NO_CODE_CHANGE","_number":3,"created":"2013-12-11 04:09:33.000000000","uploader":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"ref":"refs/changes/92/61292/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/92/61292/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/3"}}},"commit":{"parents":[{"commit":"dd4bc08dd9a571637734a92c9411c32ea1f36dcf","subject":"Fix incorrect help message on flavor_access action","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/dd4bc08dd9a571637734a92c9411c32ea1f36dcf"}]}],"author":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 00:04:32.000000000","tz":-480},"committer":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 04:07:47.000000000","tz":-480},"subject":"Add a CLI to disable/enable a flavor","message":"Add a CLI to disable/enable a flavor\n\nIf a flavor is disabled, it is invisible to tenants while show a list of flavors.\nBut if a flavor is already associated with instances, a tenants can still access it by the flavor_id.\n\nusage: nova flavor-disabled \u003cflavor\u003e \u003cdisabled\u003e\n\nSample request:\nREQ: curl -i 770bbdfdd5c2472383641bb33b77725a/flavors/12\"\u003ehttp://127.0.0.1:8774/v2/770bbdfdd5c2472383641bb33b77725a/flavors/12\n                 -d \u0027{\"flavor\": {\"OS-FLV-DISABLED:disabled\": true}}\n\nSample output from CLI:\n\ncloud@devstack:~$ nova help flavor-disabled\nusage: nova flavor-disabled \u003cflavor_id\u003e \u003cdisabled\u003e\n\nChange the visibility of a flavor between Enabled and Disabled.\n\nPositional arguments:\n  \u003cflavor_id\u003e  flavor id.\n  \u003cdisabled\u003e   value of disabled (true or false).\n\ncloud@devstack:~$ nova flavor-disabled 12 true\n+--------------------------+-------+\n| Property                 | Value |\n+--------------------------+-------+\n| OS-FLV-DISABLED:disabled | True  |\n| disk                     | 0     |\n| extra_specs              | {}    |\n| id                       | 12    |\n| name                     | test  |\n| ram                      | 1024  |\n| vcpus                    | 1     |\n+--------------------------+-------+\n\ncloud@devstack:~$ nova flavor-list\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | Disabled |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0         | True      | False    |\n| 12 | test      | 1024      | 0    | 0         |      | 1     | 1.0         | True      | True     |\n| 13 | test1     | 1024      | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      | False    |\n| 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      | False    |\n| 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      | False    |\n| 42 | m1.nano   | 64        | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      | False    |\n| 84 | m1.micro  | 128       | 0    | 0         |      | 1     | 1.0         | True      | False    |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n\nChange-Id: I0f244c4bcc7e56d6181445b5d58785607a8dac03\nCloses-Bug: #1259262\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/e6f3408e959baf19ca64dd9c624f8296af6e547a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/e6f3408e959baf19ca64dd9c624f8296af6e547a"}]},"branch":"refs/heads/master"},"5ca0372b1aee33449acb8519c86b753af4b8e88d":{"kind":"NO_CODE_CHANGE","_number":4,"created":"2013-12-11 05:07:46.000000000","uploader":{"_account_id":9638,"name":"wei tian","email":"weitian@ebaysf.com","username":"weitian"},"ref":"refs/changes/92/61292/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/92/61292/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/92/61292/4"}}},"commit":{"parents":[{"commit":"dd4bc08dd9a571637734a92c9411c32ea1f36dcf","subject":"Fix incorrect help message on flavor_access action","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/dd4bc08dd9a571637734a92c9411c32ea1f36dcf"}]}],"author":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 00:04:32.000000000","tz":-480},"committer":{"name":"Tian, Wei","email":"weitian@ebaysf.com","date":"2013-12-11 05:04:29.000000000","tz":-480},"subject":"Add a CLI to disable/enable a flavor","message":"Add a CLI to disable/enable a flavor\n\nIf a flavor is disabled, it is invisible to tenants while show a list of flavors.\nBut if a flavor is already associated with instances, a tenants can still access it by the flavor_id.\n\nusage: nova flavor-disabled \u003cflavor\u003e \u003cdisabled\u003e\n\nSample request:\nREQ: curl -i 770bbdfdd5c2472383641bb33b77725a/flavors/12\"\u003ehttp://127.0.0.1:8774/v2/770bbdfdd5c2472383641bb33b77725a/flavors/12\n                 -d \u0027{\"flavor\": {\"OS-FLV-DISABLED:disabled\": true}}\n\nSample output from CLI:\n\ncloud@devstack:~$ nova help flavor-disabled\nusage: nova flavor-disabled \u003cflavor_id\u003e \u003cdisabled\u003e\n\nChange the visibility of a flavor between Enabled and Disabled.\n\nPositional arguments:\n  \u003cflavor_id\u003e  flavor id.\n  \u003cdisabled\u003e   value of disabled (true or false).\n\ncloud@devstack:~$ nova flavor-disabled 12 true\n+--------------------------+-------+\n| Property                 | Value |\n+--------------------------+-------+\n| OS-FLV-DISABLED:disabled | True  |\n| disk                     | 0     |\n| extra_specs              | {}    |\n| id                       | 12    |\n| name                     | test  |\n| ram                      | 1024  |\n| vcpus                    | 1     |\n+--------------------------+-------+\n\ncloud@devstack:~$ nova flavor-list\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | Disabled |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n| 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0         | True      | False    |\n| 12 | test      | 1024      | 0    | 0         |      | 1     | 1.0         | True      | True     |\n| 13 | test1     | 1024      | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      | False    |\n| 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      | False    |\n| 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      | False    |\n| 42 | m1.nano   | 64        | 0    | 0         |      | 1     | 1.0         | True      | False    |\n| 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      | False    |\n| 84 | m1.micro  | 128       | 0    | 0         |      | 1     | 1.0         | True      | False    |\n+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+----------+\n\nChange-Id: I0f244c4bcc7e56d6181445b5d58785607a8dac03\nCloses-Bug: #1259262\nrecheck\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/5ca0372b1aee33449acb8519c86b753af4b8e88d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/5ca0372b1aee33449acb8519c86b753af4b8e88d"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
