neutron/neutron/tests/unit/openvswitch
Kyle Mestery 8e9f00a19d Reprogram flows when ovs-vswitchd restarts
When OVS is restarted, by default it will not reprogram flows which were
programmed. For the case of the OVS agent, this means a restart will cause
all traffic to be switched using the NORMAL action. This is undesirable for
a number of reasons, including obvious security reasons.

This change provides a way for the agent to check if a restart of ovs-vswitchd
has happened in the main agent loop. If a restart of ovs-vswitchd is detected,
the agent will run through the setup of the bridges on the host and reprogram
flows for all the ports connected.

DocImpact
This changes adds a new table (table 23) to the integration bridge, with a
single 'drop' flow. This is used to monitor OVS restarts and to reprogram
flows from the agent.

Change-Id: If9e07465c43115838de23e12a4e0087c9218cea2
Closes-Bug: #1290486
2014-05-28 20:07:09 +00:00
..
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_agent_scheduler.py Provide way to reserve dhcp port during failovers 2014-05-20 17:24:22 +00:00
test_openvswitch_plugin.py Add enable_security_group option 2014-03-21 00:50:15 +01:00
test_ovs_db.py Fix H302 violations in unit tests 2014-05-04 12:39:19 +02:00
test_ovs_defaults.py Implement local ARP responder onto OVS agent 2014-05-19 21:42:11 +02:00
test_ovs_neutron_agent.py Reprogram flows when ovs-vswitchd restarts 2014-05-28 20:07:09 +00:00
test_ovs_rpcapi.py Replace stubout with fixtures 2013-11-24 10:46:08 -05:00
test_ovs_security_group.py Removes calls to mock.patch.stopall in unit tests 2014-03-12 04:17:11 +00:00
test_ovs_tunnel.py Reprogram flows when ovs-vswitchd restarts 2014-05-28 20:07:09 +00:00