]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OVS-agent: Separate ovs-ofctl using code as a driver
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Mon, 2 Mar 2015 04:14:48 +0000 (13:14 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Mon, 25 May 2015 09:48:02 +0000 (18:48 +0900)
commiteab71473c3a1d40ec3f1d8a84b839b06b140e4fe
tree9db19dfa326e10d6e2906c99ae9ca81204c3243e
parent6ba78cec1a77921a591f99b717ff093ca3688c31
OVS-agent: Separate ovs-ofctl using code as a driver

This is a preparation to introduce another Ryu-based implementation.
The aim is to replace this with the new Ryu-based implementation
eventually.

Add a config option for OVS-agent which selects the implementation.
Currently, the only available choice is 'ovs-ofctl'.

Also, this commit simplifies DVR logics by reducing duplications
and makes some of DVR UTs actually check the flows rather than just
"add_flow is called".

Partially-Implements: blueprint ovs-ofctl-to-python
Change-Id: Ie1224f8a1c17268cd7d1c474ed82fdfb8852eaa8
25 files changed:
etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
neutron/cmd/eventlet/plugins/ovs_neutron_agent.py
neutron/plugins/openvswitch/agent/main.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/__init__.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/__init__.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/br_dvr_process.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/br_int.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/br_phys.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/br_tun.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/main.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/ofswitch.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/ovs_bridge.py [new file with mode: 0644]
neutron/plugins/openvswitch/agent/ovs_dvr_neutron_agent.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/plugins/openvswitch/common/config.py
neutron/tests/functional/agent/test_ovs_flows.py
neutron/tests/unit/plugins/openvswitch/agent/openflow/__init__.py [new file with mode: 0644]
neutron/tests/unit/plugins/openvswitch/agent/openflow/ovs_ofctl/__init__.py [new file with mode: 0644]
neutron/tests/unit/plugins/openvswitch/agent/openflow/ovs_ofctl/ovs_bridge_test_base.py [new file with mode: 0644]
neutron/tests/unit/plugins/openvswitch/agent/openflow/ovs_ofctl/test_br_int.py [new file with mode: 0644]
neutron/tests/unit/plugins/openvswitch/agent/openflow/ovs_ofctl/test_br_phys.py [new file with mode: 0644]
neutron/tests/unit/plugins/openvswitch/agent/openflow/ovs_ofctl/test_br_tun.py [new file with mode: 0644]
neutron/tests/unit/plugins/openvswitch/agent/ovs_test_base.py [new file with mode: 0644]
neutron/tests/unit/plugins/openvswitch/agent/test_ovs_neutron_agent.py
neutron/tests/unit/plugins/openvswitch/test_ovs_tunnel.py