[openstack-dev] [Glance] Implementing Common Image Properties

Jay Pipes jaypipes at gmail.com
Thu Sep 6 20:52:49 UTC 2012


On 09/06/2012 04:20 PM, Brian Waldon wrote:
> On Sep 6, 2012, at 1:06 PM, Jay Pipes wrote:
> 
>>> 2) Do we define enums for these fields or leave them as open-ended strings?
>>
>> Enums. As per above.
> 
> Using an enum is just asking for trouble. How can we possibly cover all of the known distros? Glance doesn't care what the value is, we as consumers care that we use the same name to represent the same thing. The best we can really do here is provide a list of suggested values.

Hmm, good point on distros. Yeah, OK with that. Recommended string,
lowercased is good.

Best,
-jay



More information about the OpenStack-dev mailing list