]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use only the lower 16 bits of iptables mark for marking
authorCarl Baldwin <carl.baldwin@hp.com>
Tue, 14 Jul 2015 19:00:45 +0000 (19:00 +0000)
committerBrian Haley <brian.haley@hp.com>
Fri, 17 Jul 2015 18:09:28 +0000 (14:09 -0400)
commitaa4fa7b8195103fd1569672c9a71e33093be2e6a
tree2a5bbfe9084d005cc8a87e2a13d70a2474c24dc1
parent704c79cd8994f6dd3d18e38c079ec676921455c2
Use only the lower 16 bits of iptables mark for marking

Since a packet can only have one mark, and we will need to mark a
packet for multiple purposes, we need to use a coordinated bitmask for
the two cases of simple marking that we currently do in Neutron
leaving the other bits for address scopes.

DocImpact

Change-Id: Id0517758d06e036a36dc8b8772e41af55d986b4e
Partially-Implements: blueprint address-scopes
neutron/agent/l3/config.py
neutron/agent/l3/router_info.py
neutron/agent/metadata/driver.py
neutron/common/constants.py
neutron/tests/unit/agent/l3/test_agent.py
neutron/tests/unit/agent/linux/test_iptables_manager.py
neutron/tests/unit/agent/metadata/test_driver.py