]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OVS plugin: add tunnel ips to central database
authorDan Wendlandt <dan@nicira.com>
Tue, 15 May 2012 19:41:52 +0000 (12:41 -0700)
committerDan Wendlandt <dan@nicira.com>
Tue, 15 May 2012 19:41:52 +0000 (12:41 -0700)
commit1121807b8528590b20e1109dbdff400fccec3c38
tree038f857088730ee051fbab4953c88888d8e5f3c0
parentaf82348445670e4d8f4490fd60788c3c243d52be
OVS plugin: add tunnel ips to central database

bp simplify-ovs-tunnel-mgmt

Makes the OVS plugin agent report its own IP address to the centralized
quantum database, and build its set of tunnels based on the contents of
this centralized database.  This removes the need for a removes need for
a 'remote-ips' file on each compute node that needs to be updated
when a new host is added.

Also:
- simplifies error handling within tunnel manager daemon_loop
- fixes issues with operational status not working for tunnel-mode
- fixes issue that not-stripping vlan of tunneled packet potentially
crashes OVS, causing flows to get wiped.

Change-Id: I4d285669e29beecf745fe620581fa6bc332a446c
etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/openvswitch/ovs_models.py
quantum/plugins/openvswitch/tests/unit/remote-ip-file.txt [deleted file]
quantum/plugins/openvswitch/tests/unit/test_tunnel.py