<html><body>
<p><font size="2" face="sans-serif">+1 about Jay option.</font><br>
<br>
<font size="2" face="sans-serif">BTW, as nova and glance all allow same name for instance or image, So name seems not need to be unique, it is OK I think.</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">Thanks</font><br>
<br>
<font size="2" face="sans-serif">Best Wishes,</font><br>
<font size="2" face="sans-serif">--------------------------------------------------------------------------------</font><br>
<font size="2" face="sans-serif">Kai Qiang Wu (Î⿪ǿ  Kennan£©<br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: wkqwu@cn.ibm.com<br>
Tel: 86-10-82451647<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br>
         No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193</font><br>
<font size="2" face="sans-serif">--------------------------------------------------------------------------------</font><br>
<font size="2" face="sans-serif">Follow your heart. You are miracle! </font><br>
<br>
<img width="16" height="16" src="cid:1__=C7BBF4CBDF95E64C8f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for Jay Lau ---06/01/2015 11:17:40 PM---2015-06-01 21:54 GMT+08:00 Jay Pipes <jaypipes@gmail.com>: > On 0"><font size="2" color="#424282" face="sans-serif">Jay Lau ---06/01/2015 11:17:40 PM---2015-06-01 21:54 GMT+08:00 Jay Pipes <jaypipes@gmail.com>: > On 05/31/2015 05:38 PM, Jay Lau wrote:</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">Jay Lau <jay.lau.513@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">06/01/2015 11:17 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">Re: [openstack-dev] [Magnum] Does Bay/Baymodel name should be a required option when creating a Bay/Baymodel</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<br>
<br>
<font size="3" face="serif">2015-06-01 21:54 GMT+08:00 Jay Pipes <</font><a href="mailto:jaypipes@gmail.com" target="_blank"><font size="3" color="#0000FF" face="serif"><u>jaypipes@gmail.com</u></font></a><font size="3" face="serif">>:</font>
<ul style="padding-left: 9pt"><font size="3" face="serif">On 05/31/2015 05:38 PM, Jay Lau wrote:</font>
<ul style="padding-left: 9pt"><font size="3" face="serif">Just want to use ML to trigger more discussion here. There are now<br>
bugs/patches tracing this, but seems more discussions are needed before<br>
we come to a conclusion.<br>
</font><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="https://bugs.launchpad.net/magnum/+bug/1453732" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://bugs.launchpad.net/magnum/+bug/1453732</u></font></a><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="https://review.openstack.org/#/c/181839/" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://review.openstack.org/#/c/181839/</u></font></a><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="https://review.openstack.org/#/c/181837/" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://review.openstack.org/#/c/181837/</u></font></a><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="https://review.openstack.org/#/c/181847/" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://review.openstack.org/#/c/181847/</u></font></a><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="https://review.openstack.org/#/c/181843/" target="_blank"><font size="3" color="#0000FF" face="serif"><u>https://review.openstack.org/#/c/181843/</u></font></a><font size="3" face="serif"><br>
<br>
IMHO, making the Bay/Baymodel name as a MUST will bring more flexibility<br>
to end user as Magnum also support operating Bay/Baymodel via names and<br>
the name might be more meaningful to end users.<br>
<br>
Perhaps we can borrow some iead from nova, the concept in magnum can be<br>
mapped to nova as following:<br>
<br>
1) instance => bay<br>
2) flavor => baymodel<br>
<br>
So I think that a solution might be as following:<br>
1) Make name as a MUST for both bay/baymodel<br>
2) Update magnum client to use following style for bay-create and<br>
baymodel-create: DO NOT add "--name" option</font></ul>
<font size="3" face="serif"><br>
You should decide whether name would be unique -- either globally or within a tenant.<br>
<br>
Note that Nova's instance names (the display_name model field) are *not* unique, neither globally nor within a tenant. I personally believe this was a mistake.<br>
<br>
The decision affects your data model and constraints.</font></ul>
<font size="3" face="serif">Yes, my thinking is to enable Magnum has same behavior with nova. The name can be managed by the end user and the end user can specify the name as they want, it is end user's responsibility to make sure there are no duplicate names. Actually, I think that the name do not need to be unique but UUID.</font>
<ul style="padding-left: 9pt"><font size="3" face="serif"><br>
Best,<br>
-jay</font><br>
<font size="3" face="serif"><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </font><a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"><font size="3" color="#0000FF" face="serif"><u>OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</u></font></a><font size="3" color="#0000FF" face="serif"><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><font size="3" color="#0000FF" face="serif"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a></ul>
<font size="3" face="serif"><br>
<br>
<br>
-- </font><br>
<font size="3" face="serif">Thanks,<br>
</font><br>
<font size="3" face="serif">Jay Lau (Guangya Liu)</font><tt><font size="2">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
</font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>