[openstack-dev] Is Project ID always a number?

Kurt Griffiths kurt.griffiths at rackspace.com
Fri Sep 20 18:11:06 UTC 2013


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 <dolph.mathews at gmail.com<mailto:dolph.mathews at gmail.com>>
Reply-To: OpenStack Dev <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Friday, September 20, 2013 1:05 PM
To: OpenStack Dev <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: Re: [openstack-dev] Is Project ID always a number?


On Fri, Sep 20, 2013 at 12:43 PM, Steve Martinelli <stevemar at ca.ibm.com<mailto:stevemar at ca.ibm.com>> 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: stevemar at ca.ibm.com<mailto:stevemar at ca.ibm.com>

[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 <kurt.griffiths at rackspace.com<mailto:kurt.griffiths at rackspace.com>>
To: OpenStack Dev <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>,
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
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



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




--

-Dolph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130920/6c0036e1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: graycol.gif
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130920/6c0036e1/attachment.gif>


More information about the OpenStack-dev mailing list