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/375892 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e55b3e329ed 1424c11e0fc1d2a 18fd70307da9a2
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit e55b3e329ed1424 c11e0fc1d2a18fd 70307da9a2
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 8852c91c17e12ed b034606a361 3587af3d75e8230 08f1198012)
Change-Id: Idfc0e9c52e0dd0
(cherry picked from commit 0494f212aa625a0