<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thank for your reply.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I read that thread, but it just throw a exception when using confused params.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">To solve this issue, is it worth to create a now micro version of api to implement above cli?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 3:35 PM, Feodor Tersin <span dir="ltr"><<a href="mailto:ftersin@cloudscaling.com" target="_blank">ftersin@cloudscaling.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'trebuchet ms',sans-serif"><br></div><div><span style="font-family:'trebuchet ms',sans-serif">    </span><font face="monospace, monospace">nova boot test --flavor m1.tiny --security_group ssh --security_group http --nic net-id=xxxxxxxxxxx --nic port-id=yyyyyyyyyyy</font></div><div style="font-family:'trebuchet ms',sans-serif"><br></div><div style="font-family:'trebuchet ms',sans-serif">Which port/nic the security group should bind to?  the first one? both?</div></div></blockquote><div><br></div></span><div>Both groups will be set to a new port of xxx network. A set of port yyy SG will not be changed.</div><div><br></div><div>This question was discussed here recently: <a href="http://lists.openstack.org/pipermail/openstack-dev/2015-February/056339.html" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2015-February/056339.html</a>. See also <a href="https://review.openstack.org/#/c/154068/" target="_blank">https://review.openstack.org/#/c/154068/</a> with its comments.</div><span class=""><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'trebuchet ms',sans-serif"><br></div><div style="font-family:'trebuchet ms',sans-serif">The legacy network will be removed and I think it is the time to change the API to satisfied the new situation. May be the new cli like below:</div><div style="font-family:'trebuchet ms',sans-serif"><br></div><div><span style="font-family:'trebuchet ms',sans-serif">    </span><font face="monospace, monospace">nova boot test --flavor m1.tiny --nic net-id=xxxxxx,security_group=ssh  --nic port-id=yyyyyyyyy --nic net-id=zzzzzzzz,security_group=http,security_group=mysql</font></div></div></blockquote><div><br></div></span><div>I agree, API have to be more straightforward.</div><div><br></div></div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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 class="gmail_signature"><div dir="ltr"><div><span style="font-size:13px;border-collapse:collapse"><font face="trebuchet ms, sans-serif">Lei Zhang</font></span></div><div><font face="trebuchet ms, sans-serif">Blog: <a href="http://xcodest.me" target="_blank">http://xcodest.me</a></font></div><div><font face="trebuchet ms, sans-serif">twitter/weibo: @jeffrey4l</font></div></div></div>
</div>