In several cases port masking algorithm borrowed
from networking_ovs_dpdk didn't behave correctly.
This caused non-restricted ports to be open due to
wrong tp_src field value in resulting ovs rules.
This was fixed by alternative port masking
implementation.
Functional and unit tests to cover the bug added as well.
Reviewed: https:/ /review. openstack. org/388015 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=dd75f7e96af c713b57ad4ab21f 01175be7b571fe
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit dd75f7e96afc713 b57ad4ab21f0117 5be7b571fe
Author: Inessa Vasilevskaya <email address hidden>
Date: Thu Aug 11 02:21:29 2016 +0300
ovsfw: fix troublesome port_rule_masking
In several cases port masking algorithm borrowed
from networking_ovs_dpdk didn't behave correctly.
This caused non-restricted ports to be open due to
wrong tp_src field value in resulting ovs rules.
This was fixed by alternative port masking
implementation.
Functional and unit tests to cover the bug added as well.
Co-Authored-By: Jakub Libosvar <email address hidden>
Co-Authored-By: IWAMOTO Toshihiro <email address hidden>
Closes-Bug: #1611991
Conflicts: common/ utils.py tests/unit/ common/ test_utils. py
neutron/
neutron/
(cherry-picked from 0494f212aa625a0 3587af3d75e8230 08f1198012)
Change-Id: Idfc0e9c52e0dd0 8852c91c17e12ed b034606a361