<div dir="ltr">As pointed out by the examples in the other replies, you would essentially have to support every possible parameter to "neutron port-create" in "nova boot". That's creating unnecessary knowledge of neutron in nova. If you had to eliminate one of the two, the second workflow should actually be the one to go because that would support a better separation of concerns.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 10:21 PM, Wanjing Xu <span dir="ltr"><<a href="mailto:wanjing_xu@hotmail.com" target="_blank">wanjing_xu@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr"><div>There seemed to be two ways to create a VM via cli:</div><div><br></div><div>1) use neutron command to create a port first and then use nova command to attach the vm to that port(neutron port-create.. followed by nova boot --nic port-id=)</div><div>2)Just use nova command and a port will implicitly be created for you(nova boot --nic net-id=net-uuid).</div><div><br></div><div>My question is : is #2 sufficient enough to cover all the scenarios?  In other words, if we are not allowed to use #1(can only use #2 to create vm), would we miss anything?</div><div><br></div><div>Regards!</div><span class="HOEnZb"><font color="#888888"><div>Wanjing Xu</div>                                      </font></span></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>Kevin Benton</div></div>
</div>