[openstack-dev] Is Project ID always a number?
Adam Young
ayoung at redhat.com
Sat Sep 28 00:29:04 UTC 2013
It is an url friendly blob. Make no assumptions beyond that. A project
ID is designed to be unique across all of an openstack deployment, but
how we make that happen will morph over time.
On 09/20/2013 02:11 PM, Kurt Griffiths wrote:
> 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
> IDKurt 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
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130927/91a54cb5/attachment-0001.html>
More information about the OpenStack-dev
mailing list