]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OVS agent support on Hyper-V
authorAdelina Tuvenie <atuvenie@cloudbasesolutions.com>
Tue, 24 Mar 2015 18:29:17 +0000 (11:29 -0700)
committerAdelina Tuvenie <atuvenie@cloudbasesolutions.com>
Wed, 25 Mar 2015 20:48:33 +0000 (13:48 -0700)
commitf0d9410a8268e01369a43c5159621f3083855b5f
treeb1f43e7ca59cc9f3d03f5546f6bc261a2eef8170
parent1a089e6059a381a9cb90a17cf17d44e144d30430
OVS agent support on Hyper-V

This patch abstracts away platform specific differences in
agent/linux/utils.py and agent/linux/polling.py in order for
OVS neutron agent to work on Hyper-V.

agent.linux.utils uses fcntl that is not available on Windows and
also uses rootwrap which is no necessary on Windows.

ovsdb_monitor.SimpleInterfaceMonitor works only on GNU/Linux because
agent.linux.async_process uses platfom specific components like the
kill command.

Unit tests have been updated accordingly

Implements blueprint: hyper-v-ovs-agent

Change-Id: I3326414335467d9dc5da03e6d1016d0e32330dd0
22 files changed:
neutron/agent/common/base_polling.py [new file with mode: 0644]
neutron/agent/common/ovs_lib.py
neutron/agent/common/polling.py [new file with mode: 0644]
neutron/agent/common/utils.py [new file with mode: 0644]
neutron/agent/linux/ip_lib.py
neutron/agent/linux/polling.py
neutron/agent/ovsdb/impl_vsctl.py
neutron/agent/windows/__init__.py [new file with mode: 0644]
neutron/agent/windows/polling.py [new file with mode: 0644]
neutron/agent/windows/utils.py [new file with mode: 0644]
neutron/common/utils.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/agent/common/test_ovs_lib.py
neutron/tests/unit/agent/common/test_polling.py [new file with mode: 0644]
neutron/tests/unit/agent/linux/test_polling.py
neutron/tests/unit/openvswitch/test_ovs_dvr_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_tunnel.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_linux_dhcp.py
neutron/tests/unit/test_linux_external_process.py
neutron/tests/unit/test_linux_ip_lib.py