vmware-nsx/neutron/agent/linux
Aaron Rosen b78eea6146 Remove and recreate interface if already exists
If the dhcp-agent machine restarts when openvswitch comes up it logs the
following warning messages for all tap interfaces that do not exist:

bridge|WARN|could not open network device tap2cf7dbad-9d (No such device)

Once the dhcp-agent starts it recreates the interfaces and re-adds them to the
ovs-bridge. Unfortunately, ovs does not reinitialize the interfaces as they
are already in ovsdb and does not assign them a ofport number.

This situation corrects itself though the next time a port is added to the
ovs-bridge which is why no one has probably noticed this issue till now.

In order to correct this we should first remove interface that exist and
then readd them.

Closes-bug: #1268762

Change-Id: I4bb0019135ab7fa7cdfa6d5db3bff6eafe22fc85
2014-01-20 13:49:55 -08:00
..
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
async_process.py Fix misspells 2013-12-03 15:03:47 -08:00
daemon.py Merge "Change daemon Pidfile class to not use root_helper" 2013-09-19 21:21:12 +00:00
dhcp.py Merge "Handle failures on update_dhcp_port" 2013-12-06 13:26:09 +00:00
external_process.py Change daemon Pidfile class to not use root_helper 2013-09-10 13:04:14 -04:00
interface.py Remove and recreate interface if already exists 2014-01-20 13:49:55 -08:00
ip_lib.py Linux device name can have '@' or ':' characters 2013-11-12 10:27:31 +00:00
iptables_firewall.py Remove dead code _arp_spoofing_rule() 2013-12-06 11:16:10 -08:00
iptables_manager.py Fix misspells 2013-12-03 15:03:47 -08:00
ovs_lib.py Merge "Make timeout for ovs-vsctl configurable" 2014-01-13 16:21:53 +00:00
ovsdb_monitor.py Fix misspells 2013-12-03 15:03:47 -08:00
polling.py Add configurable ovsdb monitor respawn interval 2013-11-20 15:16:27 -06:00
utils.py Ensure get_pid_to_kill works with rootwrap script 2013-11-20 09:57:23 -06:00