[openstack-dev] [nova] Launch an instance with e1000 as the first network interface and virtio net as the second network interface

Rahul Sharma rahulsharmaait at gmail.com
Sat Sep 21 05:12:02 UTC 2013


Hi Pattabi,

I am not sure how to do this. Usually, image-parameters are specified at
the time of upload of image to glance. For example, if you want to use
e1000 driver instead of virtio which is there by default, you can specify
the property hw_vif_model=e1000 in "glance image-create" command.

For example:-
glance image-create --name=UbuntuVM --property hw_vif_model=e1000
--disk-format=raw --container-format=bare < ubuntu.iso

Now if you will launch instance from this image, it will have e1000 driver
for network interfaces. If you want 2 nics for the VM, you can use 2
networks while instantiating it and you will have 2 nics assigned to VM.

I am not sure how we can specify 2 different drivers at the same time to an
instance. Maybe someone else can throw some more light on this.

Thanks and Regards
Rahul Sharma

On Sat, Sep 21, 2013 at 7:21 AM, Pattabi Ayyasami <pattabi at brocade.com>wrote:

> HI,****
>
> ** **
>
> I have Nova with version 2.14.1.17 and glance with version 0.10.0.10.****
>
> ** **
>
> I found that the default network interface port is virtio after I launch a
> new instance from Horizon. Is there any way to create two network interface
> ports, the first one as e1000 and the second one as virtio ? I want to be
> able to mix more than one types of network ports.****
>
> ** **
>
> I do not know where to specify to create network ports with different
> types under Networks tab of the Horizon. If Horizon is not the right place
> to create them, which tool and how I can create them ?****
>
> ** **
>
> Does anyone know how to do the above? Any hint or pointer would help.****
>
> ** **
>
> Thanks****
>
> ** **
>
> Pattabi****
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130921/db6751d9/attachment.html>


More information about the OpenStack-dev mailing list