Hi Openstack community,<div><br></div><div>We recently uploaded this change: <a href="https://review.openstack.org/#/c/8007/">https://review.openstack.org/#/c/8007/</a></div><div><br></div><div>It adds a 'disabled' field to the 'instance_type' or 'flavor' concept.</div>

<div><br></div><div>The usage scenario we had in mind was to phase out a flavor that's already in use; people shouldn't be able to build new instances from that flavor, nor should customers see it in the list of available flavors. But when they view an existing instance with that flavor type, they should still be able to see the name of it at least. But should you change your mind later and wish to re-enable it, it's easy to just flip the flag.</div>

<div><br></div><div>We'd appreciate feedback on the added field and the use of the namespace in the core code. (Line 56 here: <a href="https://review.openstack.org/#/c/8007/1/nova/api/openstack/compute/views/flavors.py">https://review.openstack.org/#/c/8007/1/nova/api/openstack/compute/views/flavors.py</a> )</div>

<div><br></div><div><div>The reasoning behind this is:</div><div> * If we did it as an extension, it would greatly complicate the code. The code is much simpler being right in the core code.</div><div> * We can't just add a field to the API quickly, so we need to use the namespace.</div>

<div> * The hope is that eventually it would be accepted into the  main API anyway, then the coding would be just removing the namespace.</div></div><div><br></div><div>Many thanks in for reading. All feedback appreciated.</div>

<div><br></div><div>Kind Regards,<br>Matthew Sherborne</div>