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/353782 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=0494f212aa6 25a03587af3d75e 823008f1198012
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0494f212aa625a0 3587af3d75e8230 08f1198012
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
Change-Id: Idfc0e9c52e0dd0