<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">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.<br>
<br>
<br>
On 09/20/2013 02:11 PM, Kurt Griffiths wrote:<br>
</div>
<blockquote cite="mid:CE61F9B7.F102%25kurt.griffiths@rackspace.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>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.</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt;
text-align:left; color:black; BORDER-BOTTOM: medium none;
BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Dolph Mathews
<<a moz-do-not-send="true"
href="mailto:dolph.mathews@gmail.com">dolph.mathews@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>OpenStack Dev
<<a moz-do-not-send="true"
href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Friday, September
20, 2013 1:05 PM<br>
<span style="font-weight:bold">To: </span>OpenStack Dev <<a
moz-do-not-send="true"
href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re:
[openstack-dev] Is Project ID always a number?<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr"><br>
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Sep 20, 2013 at 12:43
PM, Steve Martinelli <span dir="ltr">
<<a moz-do-not-send="true"
href="mailto:stevemar@ca.ibm.com" target="_blank">stevemar@ca.ibm.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p><font face="sans-serif">Unless I'm mistaken,
the project ID should be a UUID.</font></p>
</div>
</blockquote>
<div>In our current implementation, it happens to be a
UUID4 expressed in hex:</div>
<div><br>
</div>
<div> $ python -c "import uuid; print
uuid.uuid4().hex"</div>
<div><br>
</div>
<div>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.</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p><br>
<font face="sans-serif"><br>
<br>
Thanks,<br>
<br>
_____________________________________________<br>
Steve Martinelli | A4-317 @ IBM Toronto
Software Lab<br>
Software Developer - OpenStack<br>
Phone: <a moz-do-not-send="true"
href="tel:%28905%29%20413-2851"
value="+19054132851" target="_blank">(905)
413-2851</a><br>
E-Mail: <a moz-do-not-send="true"
href="mailto:stevemar@ca.ibm.com"
target="_blank">stevemar@ca.ibm.com</a></font><br>
<br>
<img moz-do-not-send="true"
src="cid:1__=0ABBF17FDFF2DDFB8f9e8a93df938@ca.ibm.com"
alt="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"
height="16" width="16" border="0"><font
color="#424282" face="sans-serif">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</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:
</font><font size="1" face="sans-serif">Kurt
Griffiths <<a moz-do-not-send="true"
href="mailto:kurt.griffiths@rackspace.com"
target="_blank">kurt.griffiths@rackspace.com</a>></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:
</font><font size="1" face="sans-serif">OpenStack
Dev <<a moz-do-not-send="true"
href="mailto:openstack-dev@lists.openstack.org"
target="_blank">openstack-dev@lists.openstack.org</a>>,
</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:
</font><font size="1" face="sans-serif">09/20/2013
01:18 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:
</font><font size="1" face="sans-serif">[openstack-dev]
Is Project ID always a number?</font><br>
</p>
<hr style="color:#8091a5" noshade="noshade"
size="2" width="100%" align="left">
<div>
<div class="h5"><br>
<br>
<br>
<tt><font>Does anyone have a feel for what
Project ID (AKA Tenant ID) looks like in<br>
practice? Is it always a number, or do
some deployments use UUIDs or<br>
something else?<br>
<br>
@kgriffs<br>
<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:OpenStack-dev@lists.openstack.org"
target="_blank">OpenStack-dev@lists.openstack.org</a><br>
</font></tt><tt><font><a
moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><tt><font><br>
<br>
</font></tt><br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div><br>
</div>
-Dolph </div>
</div>
</div>
</div>
</span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>