← Back to team overview

openstack team mailing list archive

回复: vnetX

 

libvirt does that, by passing the created tap interface fd to qemu-kvm.


Ben
-----原信息-----
发自: William Herry
发送:  2012/06/06, 14:55 
收件人: Openstack
主题: [Openstack]  vnetX


when a instance created, a network interface call vnetX will be created and
attach to that instance

I find related info about this in nova/virt/libvirt/vif.py, ip and tunctl
seem to be the tool to create that,
but one of our compute node base on centos6.2, iproute is not support
tuntap(show error when I run ip tuntap add)
and uml-utilities(provide tunctl command) is not installed, but vnetX still
be created when launch a instance

my question is, how did vnetX created, doesn't nova code handle this, or
this work belong to libvirt
can I create this kind interface manually and attach to instance, how to do
this

Thanks

-- 



William Herry
====================
WilliamHerryChina@xxxxxxxxx

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp