Mailing List Archive

Attaching VM to a single network
Hi,

Working with nova and quantum, I have realized that if a single project
contains more than one network, then a VM created within this project is
attached to all this networks.
Is it correct?
Is it possible to attach the VM to a specific network?

Thanks,
RamiC
Re: Attaching VM to a single network [ In reply to ]
Hi,

To create a VM and attach it to a specific network, you should use :

nova boot --image XXXXX --flavor X --nic net-id=XXXXX --nic net-id=X vm1


You can read more
here<http://docs.openstack.org/trunk/openstack-network/admin/content/specifying-vm-network-connectivity-on-boot.html>
.


I have one question for you, are you working in a multi node architecture ?


Regards



On Wed, May 30, 2012 at 11:18 PM, Rami Cohen <ramic.home@gmail.com> wrote:

> Hi,
>
> Working with nova and quantum, I have realized that if a single project
> contains more than one network, then a VM created within this project is
> attached to all this networks.
> Is it correct?
> Is it possible to attach the VM to a specific network?
>
> Thanks,
> RamiC
>
> --
> Mailing list: https://launchpad.net/~netstack
> Post to : netstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~netstack
> More help : https://help.launchpad.net/ListHelp
>
>


--
Emilien Macchi
*SysAdmin (Intern)*
*www.stackops.com* | emilien.macchi@stackops.com** | skype:memilien69
*

*

******************** ADVERTENCIA LEGAL ********************
Le informamos, como destinatario de este mensaje, que el correo electrónico
y las comunicaciones por medio de Internet no permiten asegurar ni
garantizar la confidencialidad de los mensajes transmitidos, así como
tampoco su integridad o su correcta recepción, por lo que STACKOPS
TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias.
Si no consintiese en la utilización del correo electrónico o de las
comunicaciones vía Internet le rogamos nos lo comunique y ponga en nuestro
conocimiento de manera inmediata. Este mensaje va dirigido, de manera
exclusiva, a su destinatario y contiene información confidencial y sujeta
al secreto profesional, cuya divulgación no está permitida por la ley. En
caso de haber recibido este mensaje por error, le rogamos que, de forma
inmediata, nos lo comunique mediante correo electrónico remitido a nuestra
atención y proceda a su eliminación, así como a la de cualquier documento
adjunto al mismo. Asimismo, le comunicamos que la distribución, copia o
utilización de este mensaje, o de cualquier documento adjunto al mismo,
cualquiera que fuera su finalidad, están prohibidas por la ley.

***************** PRIVILEGED AND CONFIDENTIAL ****************
We hereby inform you, as addressee of this message, that e-mail and
Internet do not guarantee the confidentiality, nor the completeness or
proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L.
does not assume any liability for those circumstances. Should you not agree
to the use of e-mail or to communications via Internet, you are kindly
requested to notify us immediately. This message is intended exclusively
for the person to whom it is addressed and contains privileged and
confidential information protected from disclosure by law. If you are not
the addressee indicated in this message, you should immediately delete it
and any attachments and notify the sender by reply e-mail. In such case,
you are hereby notified that any dissemination, distribution, copying or
use of this message or any attachments, for any purpose, is strictly
prohibited by law.
Re: Attaching VM to a single network [ In reply to ]
Try to use "--nic net-id=<quantum_net_uuid>" parameter to nova boot.

-Piotr


On Wed, May 30, 2012 at 11:18 PM, Rami Cohen <ramic.home@gmail.com> wrote:

> Hi,
>
> Working with nova and quantum, I have realized that if a single project
> contains more than one network, then a VM created within this project is
> attached to all this networks.
> Is it correct?
> Is it possible to attach the VM to a specific network?
>
> Thanks,
> RamiC
>
> --
> Mailing list: https://launchpad.net/~netstack
> Post to : netstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~netstack
> More help : https://help.launchpad.net/ListHelp
>
>
Re: Attaching VM to a single network [ In reply to ]
Thanks.


On Thu, May 31, 2012 at 12:18 AM, Rami Cohen <ramic.home@gmail.com> wrote:

> Hi,
>
> Working with nova and quantum, I have realized that if a single project
> contains more than one network, then a VM created within this project is
> attached to all this networks.
> Is it correct?
> Is it possible to attach the VM to a specific network?
>
> Thanks,
> RamiC
>



--
RamiC™