<html><body>
<p><font size="2" face="sans-serif">All networks information of all tenants are stored in one table. If the name is defined unique, it implicates all tenants have to make sure the name of new network will not be conflict with others even they don't know each other. the system has to tell the tenant that "the name has been used already by other tenants, please use another name to creat network". This might be a confusing constraint to user.</font><br>
<br>
<font size="2" face="sans-serif"><b>Network Table Defition:</b></font><br>
<tt><font size="3">+----------------+--------------+------+-----+---------+-------+<br>
| Field          | Type         | Null | Key | Default | Extra |<br>
+----------------+--------------+------+-----+---------+-------+<br>
| tenant_id      | varchar(255) | YES  |     | NULL    |       |<br>
| id             | varchar(36)  | NO   | PRI | NULL    |       |<br>
| name           | varchar(255) | YES  |     | NULL    |       |<br>
| status         | varchar(16)  | YES  |     | NULL    |       |<br>
| admin_state_up | tinyint(1)   | YES  |     | NULL    |       |<br>
+----------------+--------------+------+-----+---------+-------+</font></tt><br>
<br>
<font size="2" face="sans-serif"><br>
</font><font size="1" face="serif"><b>Best Regards, </b></font><font size="1" face="serif"><br>
<br>
</font><hr width="100%" size="2" align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="298" valign="middle">
<ul style="padding-left: 0pt"><font size="1" face="serif"><b>Edward Zhang(张华)</b></font><font size="1" face="serif"><br>
Staff Software Engineer<br>
Travel&Transportation Standards<br>
Emerging Technology Institute(ETI)<br>
IBM China Software Development Lab<br>
e-mail: zhuadl@cn.ibm.com<br>
Notes ID: Hua ZZ Zhang/China/IBM<br>
Tel: 86-10-82450483</font></ul>
</td><td width="298" valign="middle">
<ul style="padding-left: 0pt"><font size="1" face="serif">地址:北京市海淀区东北旺西路8号 中关村软件园28号楼 环宇大厦3层 邮编:100193<br>
Address: 3F Ring, Building 28 Zhongguancun Software Park, 8 Dongbeiwang West Road, Haidian District, Beijing, P.R.C.100193</font></ul>
</td></tr>

<tr valign="top"><td width="298" valign="middle">
<ul style="padding-left: 0pt"><img src="cid:1__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" width="100" height="100"></ul>
</td><td width="298" valign="middle"><img width="1" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>

<tr valign="top"><td width="298" valign="middle">
<ul style="padding-left: 0pt"><font size="1" face="serif"><br>
</font></ul>
</td><td width="298" valign="middle"><img width="1" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>
</table>
<br>
<img width="16" height="16" src="cid:3__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for Dan Wendlandt ---2012-07-17 13:31:23---Hi Gary, this is an example of when I wish openstack APIs had "><font size="2" color="#424282" face="sans-serif">Dan Wendlandt ---2012-07-17 13:31:23---Hi Gary, this is an example of when I wish openstack APIs had a "style-guide" to try to ensure some consistency across projects</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:4__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com); background-repeat: no-repeat; " width="40%">
<ul style="padding-left: 72pt"><font size="1" face="sans-serif"><b>Dan Wendlandt <dan@nicira.com></b></font><font size="1" face="sans-serif"> </font><br>
<font size="1" face="sans-serif">Sent by: openstack-bounces+zhuadl=cn.ibm.com@lists.launchpad.net</font>
<p><font size="1" face="sans-serif">2012-07-17 13:27</font></ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""><br>

<ul style="padding-left: 7pt"><font size="1" face="sans-serif">gkotton@redhat.com</font></ul>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""><br>

<ul style="padding-left: 7pt"><font size="1" face="sans-serif">openstack@lists.launchpad.net</font></ul>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""><br>

<ul style="padding-left: 7pt"><font size="1" face="sans-serif">Re: [Openstack] [Quantum] Network, Subnet and Port names</font></ul>
</td></tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:2__=C7BBF0ACDFBD0BD68f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<font size="3" face="serif">Hi Gary, this is an example of when I wish openstack APIs had a "style-guide" to try to ensure some consistency across projects.  </font><br>
<br>
<font size="3" face="serif">For those new to the conversation, the original topic of discussion is whether "names" for API objects should be forced to be unique (presumably within a tenant?) or allowed to be duplicated.  The general feeling from the meeting was that since UUIDs are unique, the API itself would not enforce name uniqueness.  That also led to the point that names should then be optional, since they are really for informational/display purposes only.  </font><br>
<br>
<font size="3" face="serif">Personally, I tend to think that "description" tends to imply a sentence "private network for tenant1", rather than a simple name "tenant1-net".  There's also the fact that other openstack services like nova and glance use the term "name" with the similar (I believe) model that a name need not be unique.  </font><br>
<br>
<font size="3" face="serif">Would be curious to hear what others think.  The only thing I'm quite sure about is that there would be value in creating some notion of "openstack API consistency best practices" to give a more cohesive feel to APIs across different projects in the openstack family.</font><br>
<br>
<font size="3" face="serif">Dan</font><br>
<font size="3" face="serif"><br>
</font><br>
<font size="3" face="serif">On Mon, Jul 16, 2012 at 10:05 PM, Gary Kotton <</font><a href="mailto:gkotton@redhat.com" target="_blank"><font size="3" color="#0000FF" face="serif"><u>gkotton@redhat.com</u></font></a><font size="3" face="serif">> wrote:</font>
<ul style="padding-left: 9pt"><font size="3" face="serif">Hi,<br>
If the name is intended to be a description then how about the idea of calling the field "description" instead. This is far more descriptive and does not lend the user to think that this should be unique.<br>
Thanks<br>
Gary<br>
<br>
_______________________________________________<br>
Mailing list: </font><a href="https://launchpad.net/~openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://launchpad.net/~openstack</u></font></a><font size="3" face="serif"><br>
Post to     : </font><a href="mailto:openstack@lists.launchpad.net" target="_blank"><font size="3" color="#0000FF" face="serif"><u>openstack@lists.launchpad.net</u></font></a><font size="3" face="serif"><br>
Unsubscribe : </font><a href="https://launchpad.net/~openstack" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://launchpad.net/~openstack</u></font></a><font size="3" face="serif"><br>
More help   : </font><a href="https://help.launchpad.net/ListHelp" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://help.launchpad.net/ListHelp</u></font></a></ul>
<font size="3" face="serif"><br>
</font><br>
<br>
<font size="3" face="serif">-- <br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Dan Wendlandt </font><br>
<font size="3" face="serif">Nicira, Inc: </font><a href="http://www.nicira.com/" target="_blank"><font size="3" color="#0000FF" face="serif"><u>www.nicira.com</u></font></a><br>
<font size="3" face="serif">twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~</font><br>
<tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
Post to     : openstack@lists.launchpad.net<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
More help   : </font></tt><tt><font size="2"><a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>