* Edgar Magana ([email protected]) wrote:
> I found a method to create a tap interface under:
> nova/nova/network/linux_net.py
> def create_tap_dev(dev, mac_address=None):
> 
> But I can't find the one for deleting a tap interface, can somebody tell me
> the right way to do it?

I believe it's done w/ "ip link delete" which is hand coded in a couple
of spots.  One caller of create_tap_dev QuantumLinuxBridgeInterfaceDriver::plug 
does it in ::unplug (opencoded).  Other 
LibvirtGenericVIFDriver::plug_ovs_ethernet does it in unplug_ovs_ethernet via 
delete_ovs_vif_port

thanks,
-chris

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to