<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="text-align: left; "><font face="Calibri,sans-serif">I recall a few cycles ago having </font><span class="wdi" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><span class="pln">str</span><span class="pun">(</span><span class="pln">uuid</span><span class="pun">.</span><span class="pln">uuid4</span><span class="pun">()</span></span><span class="pun" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">) replaced by </span><span style="color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; text-align: left; ">generate_uuid(). There was actually a helper function in neutron (back when it was called quantum) and it was replaced. So now we are going back</span><span style="font-size: 15px;">… </span></div><div style="text-align: left; ">I am not in favor of this change. </div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><br></div><span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><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> Zhongyue Luo <<a href="mailto:zhongyue.nah@intel.com">zhongyue.nah@intel.com</a>><br><span style="font-weight:bold">Reply-To: </span> "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Date: </span> Wednesday, November 13, 2013 8:07 AM<br><span style="font-weight:bold">To: </span> OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> [openstack-dev]  [ALL] Removing generate_uuid() from uuidutils<br></div><div><br></div><div><div><div dir="ltr"><div>Hi all,</div><div><br></div><div>We had a discussion of the modules that are incubated in Oslo.</div><div><br></div><a href="https://urldefense.proofpoint.com/v1/url?u=https://etherpad.openstack.org/p/icehouse-oslo-status&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=eH0pxTUZo8NPZyF6hgoMQu%2BfDtysg45MkPhCZFxPEq8%3D%0A&m=3ns0o3FRyS2%2Fg%2FTFIH7waZX1o%2FHdXvrJ%2FnH9XMCRy08%3D%0A&s=63eaa20d8c94217d86793a24379b4391179fbfa1fb2c961fb37a5512dbdff69a">https://etherpad.openstack.org/p/icehouse-oslo-status</a><br clear="all"><div><br></div><div>One of the conclusions we came to was to deprecate/remove uuidutils in this cycle.</div><div><br></div><div>The first step into this change should be to remove generate_uuid() from uuidutils.</div><div><br></div><div>The reason is that 1) generating the UUID string seems trivial enough to not need a function and 2) string representation of uuid4 is not what we want in all projects.</div><div><br></div><div>To address this, a patch is now on gerrit. <a href="https://urldefense.proofpoint.com/v1/url?u=https://review.openstack.org/%23/c/56152/&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=eH0pxTUZo8NPZyF6hgoMQu%2BfDtysg45MkPhCZFxPEq8%3D%0A&m=3ns0o3FRyS2%2Fg%2FTFIH7waZX1o%2FHdXvrJ%2FnH9XMCRy08%3D%0A&s=adb860d11d1ad02718e306b9408c603daa00970685a208db375a9ec011f13978">https://review.openstack.org/#/c/56152/</a></div><div><br></div><div>Each project should directly use the standard uuid module or implement its own helper function to generate uuids if this patch gets in.</div><div><br></div><div>Any thoughts on this change? Thanks.</div><div><br></div>
-- <br><div dir="ltr"><div><b>Intel SSG/STO/DCST/CIT</b></div><div>880 Zixing Road, Zizhu Science Park, Minhang District, 200241, Shanghai, China<br></div><div>+862161166500</div></div></div></div></div></span></body></html>