[openstack-dev] [ALL] Removing generate_uuid() from uuidutils

Russell Bryant rbryant at redhat.com
Wed Nov 13 14:02:23 UTC 2013


On 11/13/2013 08:48 AM, Gary Kotton wrote:
> I recall a few cycles ago having str(uuid.uuid4()) replaced
> by generate_uuid(). There was actually a helper function in neutron
> (back when it was called quantum) and it was replaced. So now we are
> going back… 
> I am not in favor of this change. 

I think the point is we shouldn't need a helper function at all.  I
agree with that.  The unpleasant part is having code churn over
something so trivial.

I'd say deprecate/remove it from Oslo to discourage new users of it if
you'd like, but leave existing uses alone for now.  It doesn't hurt
anything, and code churn comes at a cost.

-- 
Russell Bryant



More information about the OpenStack-dev mailing list