summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2012-05-29 22:28:17 +0000
committerRick Harris <rconradharris@gmail.com>2012-06-05 14:52:38 -0500
commitf371198b843ba17ad6a6e4bc77a58afb006ab677 (patch)
tree932df1706d76c516ad65ea20129bb392e0480c8d /nova/openstack
parent9a020a6ecf5d0ec1a49e8f52ce1c8908ae51e2b5 (diff)
Adds `disabled` field for instance-types.
The `disabled` field is intended to be used when phasing out instance-types. In this case, a delete wouldn't work because the instance-type needs to still be available for live instances using that type, but we don't want to allow *new* instances created from that type. In addition, we don't want to list hidden instance-types for regular users, but we *do* want to list them for admin-users to ensure they have a complete view of what's going on in the system. Once all references to the phased-out instance-type have been dropped, it would be safe to mark the instance-type as `deleted=True`. Change-Id: I2af1c027f4d8114aee31353007dfdd3d0bb679ed
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions