]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
remove explicit include of the ovs plugin
authorPrasoon Telang <prasoontelang@gmail.com>
Fri, 29 Aug 2014 13:55:35 +0000 (19:25 +0530)
committerPrasoon Telang <prasoontelang@gmail.com>
Fri, 29 Aug 2014 13:55:35 +0000 (19:25 +0530)
commit65dde5624bbe1a1f896fe437fef0ad9bbe168153
tree8a6d0c2fbcc3c462360fd2b5cee8a26eefbce263
parent281491fed788a764f8fab37305f94e21944e1e45
remove explicit include of the ovs plugin

On installing only neutron-linuxbridge-agent package, the
dhcp cannot start successfully because of the imports from
ovs plugin. This change removes the explicit include of the
ovs plugin from ovs_lib.py. INVALID_OFPORT has been moved to
ovs_lib.py while VXLAN_UDP_PORT has moved to
plugins/common/constants.py. The imports for these 2 constants
in files which uses it has been corrected to new location.

Closes-Bug: #1271449
Change-Id: I6559cb43d1b10b4f926c453a103b12017b59f259
neutron/agent/linux/ovs_lib.py
neutron/cmd/sanity/checks.py
neutron/plugins/common/constants.py
neutron/plugins/openvswitch/common/config.py
neutron/plugins/openvswitch/common/constants.py
neutron/tests/unit/agent/linux/test_ovs_lib.py