Hi

When you create a port separately, you can specify additional fixed IPs,
extra DHCP options. But with 'nova boot' you cannot.
Also if you need an instance with several nics, and you want that each nic
has its own set of security groups, you should create ports separately.
Because 'nova boot --security-groups ggg' command sets specified security
groups for an each port, which is created during the instance launch.

On Tue, Feb 10, 2015 at 9:21 AM, Wanjing Xu <wanjing...@hotmail.com> wrote:

> There seemed to be two ways to create a VM via cli:
>
> 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=)
> 2)Just use nova command and a port will implicitly be created for you(nova
> boot --nic net-id=net-uuid).
>
> 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?
>
> Regards!
> Wanjing Xu
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to