Fixed Attribute error in fullstack l3 tests

I4a9f3d9b3ac7afe989c0efb1fa4e7fd792cd9610 ("IP Conntrack Manager changes
for FWaaS v2") moved several constants into neutron.common.constants
and neutron.agent.linux.ip_conntrack modules. This broke fullstack test
l3agent classes that relied on the old import path. This patch restores
the removed constants in the original places (referring to the new
location). This hopefully fixes fullstack l3 agent tests.

Change-Id: I976b74698d631f6ec809b15470ff9ea3f9fbf7be
Closes-Bug: #1694772
This commit is contained in:
Ihar Hrachyshka 2017-05-31 10:51:12 -07:00
parent 66073fa1f5
commit 8c624adb4a
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ CHAIN_NAME_PREFIX = {firewall.INGRESS_DIRECTION: 'i',
SPOOF_FILTER: 's'}
IPSET_DIRECTION = {firewall.INGRESS_DIRECTION: 'src',
firewall.EGRESS_DIRECTION: 'dst'}
LINUX_DEV_PREFIX_LEN = n_const.LINUX_DEV_PREFIX_LEN
LINUX_DEV_LEN = n_const.LINUX_DEV_LEN
MAX_CONNTRACK_ZONES = ip_conntrack.MAX_CONNTRACK_ZONES
comment_rule = iptables_manager.comment_rule