<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<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 href="mailto:dolph.mathews@gmail.com">dolph.mathews@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>OpenStack Dev <<a 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 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 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 href="tel:%28905%29%20413-2851" value="+19054132851" target="_blank">(905) 413-2851</a><br>
E-Mail: <a href="mailto:stevemar@ca.ibm.com" target="_blank">stevemar@ca.ibm.com</a></font><br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF17FDFF2DDFB8f9e8a93df938@ca.ibm.com" border="0" 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"><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 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 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 width="100%" size="2" align="left" noshade="" style="color:#8091a5">
<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 href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
</font></tt><tt><font><a 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>
<p></p>
</div>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a 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>
</body>
</html>