neutron/neutron/tests/unit/openvswitch
Kyle Mestery d00446be17 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.

Conflicts:
	neutron/plugins/openvswitch/common/constants.py

Change-Id: If9e07465c43115838de23e12a4e0087c9218cea2
Closes-Bug: #1290486
(cherry picked from commit 8e9f00a19d)
2014-05-30 14:10:02 +00:00
..
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_agent_scheduler.py Utilizes assertIsNone and assertIsNotNone 2013-10-03 23:01:48 +00:00
test_openvswitch_plugin.py Add enable_security_group option 2014-03-21 00:50:15 +01:00
test_ovs_db.py Fix bug:range() is not same in py3.x and py2.x 2014-03-11 16:44:47 +08:00
test_ovs_defaults.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_ovs_lib.py OVS lib defer apply doesn't handle concurrency 2014-05-19 21:07:58 +02:00
test_ovs_neutron_agent.py Reprogram flows when ovs-vswitchd restarts 2014-05-30 14:10:02 +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-30 14:10:02 +00:00