neutron/neutron/common
Inessa Vasilevskaya dd75f7e96a 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 <libosvar@redhat.com>
Co-Authored-By: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>

Closes-Bug: #1611991

Conflicts:
	neutron/common/utils.py
	neutron/tests/unit/common/test_utils.py

(cherry-picked from 0494f212aa)

Change-Id: Idfc0e9c52e0dd08852c91c17e12edb034606a361
2016-10-18 16:15:07 +03:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_deprecate.py deprecated: Raise message 2016-02-20 16:36:16 +00:00
config.py Fixed help messages for path_mtu and global_physnet_mtus options 2016-06-15 09:08:30 +02:00
constants.py Allow min_l3_agents_per_router to equal one 2016-07-06 06:25:13 +02:00
eventlet_utils.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
exceptions.py Convert multiple exception types in the API 2016-09-21 09:31:25 +02:00
ipv6_utils.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
rpc.py Add exponential back-off RPC client 2016-05-06 18:58:03 -07:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
topics.py RPC Callback rolling upgrades reporting, and integration 2016-03-01 11:20:48 +01:00
utils.py ovsfw: fix troublesome port_rule_masking 2016-10-18 16:15:07 +03:00