<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It is done by libvirt.<div><br></div><div>Vish</div><div><br><div><div>On Jun 5, 2012, at 11:55 PM, William Herry wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font color="#6633ff"><font><font face="tahoma,sans-serif">when a instance created, a network interface call vnetX will be created and attach to that instance<br><br>I find related info about this in nova/virt/libvirt/vif.py, ip and tunctl seem to be the tool to create that, <br>
but one of our compute node base on centos6.2, iproute is not support tuntap(show error when I run ip tuntap add)<br>and uml-utilities(provide tunctl command) is not installed, but vnetX still be created when launch a instance<br>
<br></font></font></font><font color="#6633ff"><font><font face="tahoma,sans-serif">my question is, how did vnetX created, doesn't nova code handle this, or this work belong to libvirt<br>
can I create this kind interface manually and attach to instance, how to do this</font></font></font><br><br>Thanks<br clear="all"><br>-- <br><font><br><br><br><span style="font-family:tahoma,sans-serif;color:rgb(102,51,255)">William Herry</span></font><font style="font-family:tahoma,sans-serif;color:rgb(102,51,255)" size="2"><br>
====================</font><span style="font-family:tahoma,sans-serif;color:rgb(102,51,255)"></span><br style="font-family:tahoma,sans-serif;color:rgb(102,51,255)"><font style="font-family:tahoma,sans-serif;color:rgb(102,51,255)" size="2"><a href="mailto:WilliamHerryChina@Gmail.com">WilliamHerryChina@Gmail.com</a></font><font><span style="font-family:tahoma,sans-serif;color:rgb(102,51,255)"></span><br>
</font><br>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>