<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 25, 2017 at 4:27 PM, Dmitry Tantsur <span dir="ltr"><<a href="mailto:dtantsur@redhat.com" target="_blank">dtantsur@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 05/25/2017 10:20 AM, Zhenguo Niu wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
hi all,<br>
</blockquote>
<br>
Hi!<span class="gmail-"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I'm from the Mogan team, we chose the same keyward 'baremetal' when implementing a OSC plugin [1]. As we think the baremetal command is representative of a baremetal resource, not a service, so it makes sense for different projects to share the top level resource name that OpenStack can provide.<br>
</blockquote>
<br></span>
We do not "own" the word "baremetal", so nothing prevents you from using it. However, in my experience:<br>
1. This does confuse users, as they expect "openstack baremetal" to be a prefix belonging to Ironic.<br>
2. Collisions may happen. We had two collisions with TripleO already, one resulted in us killing a TripleO command abruptly.<span class="gmail-"><br>
<br></span></blockquote><div><br></div><div><div>Alternatively, I don't mind to change this to 'bm' or something like that for Mogan, but some operators told me that it will confuse users more to have both 'baremetal' and 'bm' in there CLI.</div><div>And as I understand, ironic commands are not used frequently, and it's even less if ironic inspector can help to automatically enroll nodes/ports.</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The commands we have implemented are listed below, seems there's no collision with Ironic presently, and Ironic doesn't manage such resources.<br>
<br>
* openstack baremetal server <action> <args><br>
* openstack bareemtal flavor <action> <args><br>
* openstack baremetal keypair <action> <args><br>
* openstack baremetal availability zone <action> <args><br>
</blockquote>
<br></span>
Ironic does not have any notion of either of these, so it should be fine.<br>
<br>
I'm still a bit on a -1 side because of potential users confusion. I wonder how can we send a message across that prefixes do not designate a specific project, but are rather just part of a "sentence". I'm specifically worried about confusing "baremetal server" of Mogan with "baremetal node" of Ironic. For many people these can be synonyms.<br>
<br></blockquote><div><br></div><div>We copied nova's server resource concept here, so users may easily to accept the 'baremetal server'. For 'baremetal node', seems only operators/administrators may use such commands, so seems the synonyms is not a big problem as they are for different roles. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
<br>
So, we'd like to ask if our CLI pattern is allowed before we release the client.<br>
<br>
Thanks in advance!<br>
<br>
<br>
[1] <a href="https://github.com/openstack/python-moganclient" rel="noreferrer" target="_blank">https://github.com/openstack/p<wbr>ython-moganclient</a><br>
<br>
-- <br>
Best Regards,<br>
Zhenguo Niu<br>
<br>
<br></span>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br>
</blockquote>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best Regards,<br></div>Zhenguo Niu<br></div></div>
</div></div>