[Openstack] 回复: vnetX

wangshouben at gmail.com wangshouben at gmail.com
Wed Jun 6 12:59:42 UTC 2012


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 at Gmail.com

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




More information about the Openstack mailing list