[one-users] NIC model in a xen machine

Ruben Diez rdiez at cesga.es
Mon Jun 6 05:14:13 PDT 2011


Hi:

We are attempt to use an "e1000" network card in a virtual machine 
running in a xen virtualization node under OpenNebula control.....

In a direct xen configuración file this is done by the line:

vif = 
['model=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',]

But when we use this line in the openebula template:


NIC=[ NETWORK="AAAAAA", IP=xxx.xxx.xxx.xxx, MODEL="e1000" ]

The generated line in the deployment.0 file is:

vif = 
['type=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',]

instead the correct one:

vif = 
['model=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',]


So: how can we do in order to force the xen "model" parameter from the 
opennebula machine template???

Note that a "model" parameter in the opennebula template correspond to a 
"type" parameter in the xen deployment.0, not to a "model" parameter...

Regards.





More information about the Users mailing list