vmware-nsx/neutron/agent
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
..
common Tune up report and downtime intervals for l2 agent 2013-11-14 08:16:44 -08:00
linux Remove and recreate interface if already exists 2014-01-20 13:49:55 -08:00
metadata Add X-Tenant-ID to metadata request 2013-12-11 14:45:50 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
dhcp_agent.py Make timeout for ovs-vsctl configurable 2014-01-10 14:31:02 -08:00
firewall.py Apply six for metaclass 2013-11-18 17:58:58 +09:00
l2population_rpc.py Apply six for metaclass 2013-11-18 17:58:58 +09:00
l3_agent.py Merge "L3 Agent can handle many external networks" 2014-01-13 16:34:56 +00:00
netns_cleanup_util.py Improve dhcp agent structure to support multiple dhcp models 2013-08-23 13:41:31 -07:00
ovs_cleanup_util.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
rpc.py change port status only if port is bound to the good host 2013-10-02 15:14:18 +02:00
securitygroups_rpc.py Ensure that security group agent is bound prior to accessing 2013-09-29 10:29:32 -07:00