]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't set priority when calling mod_flow
authorKyle Mestery <kmestery@cisco.com>
Fri, 21 Mar 2014 09:41:31 +0000 (09:41 +0000)
committerKyle Mestery <kmestery@cisco.com>
Fri, 21 Mar 2014 09:44:34 +0000 (09:44 +0000)
commit252a83890abfb825497f308147aeafc6ee1e0731
treee1439689f9657d3ac306102b880f4c3a579f6265
parenta081c3ae8aee35ba0e24ab125dec7f77326c493c
Don't set priority when calling mod_flow

This commit [1] changed the behavior of modifying flows to not allow priority
to be set on flow modification. The agent code which was calling mod_flow was
not updated to respect this behavior. The unit tests were also not updated in
this regard. I've corrected this behavior now, and added a negative UT case to
catch this in the future.

[1] https://review.openstack.org/#/c/58533/

Closes-Bug: #1295703

Change-Id: I20737637cc84567a5ec19efaad18e7f334007f18
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_lib.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_tunnel.py