Thanks guys for the history on this. Very useful! I just wanted to make sure I 
didn't make any invalid assumptions when dealing with IDs in Marconi.

From: Dolph Mathews <[email protected]<mailto:[email protected]>>
Reply-To: OpenStack Dev 
<[email protected]<mailto:[email protected]>>
Date: Friday, September 20, 2013 1:05 PM
To: OpenStack Dev 
<[email protected]<mailto:[email protected]>>
Subject: Re: [openstack-dev] Is Project ID always a number?


On Fri, Sep 20, 2013 at 12:43 PM, Steve Martinelli 
<[email protected]<mailto:[email protected]>> wrote:

Unless I'm mistaken, the project ID should be a UUID.

In our current implementation, it happens to be a UUID4 expressed in hex:

  $ python -c "import uuid; print uuid.uuid4().hex"

I believe it was an auto-incrementing integer in diablo. There's nothing 
blocking an alternative implementation from using something else. Generally 
speaking, it should be URL-friendly as-is, be globally unique, and somewhere 
less than 255 chars in length.



Thanks,

_____________________________________________
Steve Martinelli | A4-317 @ IBM Toronto Software Lab
Software Developer - OpenStack
Phone: (905) 413-2851<tel:%28905%29%20413-2851>
E-Mail: [email protected]<mailto:[email protected]>

[Inactive hide details for Kurt Griffiths ---09/20/2013 01:18:51 PM---Does 
anyone have a feel for what Project ID (AKA Tenant ID]Kurt Griffiths 
---09/20/2013 01:18:51 PM---Does anyone have a feel for what Project ID (AKA 
Tenant ID) looks like in practice? Is it always a n

From: Kurt Griffiths 
<[email protected]<mailto:[email protected]>>
To: OpenStack Dev 
<[email protected]<mailto:[email protected]>>,
Date: 09/20/2013 01:18 PM
Subject: [openstack-dev] Is Project ID always a number?

________________________________



Does anyone have a feel for what Project ID (AKA Tenant ID) looks like in
practice? Is it always a number, or do some deployments use UUIDs or
something else?

@kgriffs



_______________________________________________
OpenStack-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



_______________________________________________
OpenStack-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




--

-Dolph

<<attachment: graycol.gif>>

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to