Modify ipset functional tests to pass on older machines
Production code uses ipset exclusively in the root namespace,
however functional testing uses ipset in namespace for isolation.
This poses an issue as ipset is not supported in namespaces on
all kernels and distributions (I'm looking at you CentOS/RHEL 7.1).
This patch changes the ipset functional tests to work in the root
namespace while taking care of cleanups.
Reviewed: https:/ /review. openstack. org/209548 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=34f2d65659e 12a466951f17cae cbe07e4ff7fdf7
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 34f2d65659e12a4 66951f17caecbe0 7e4ff7fdf7
Author: Assaf Muller <email address hidden>
Date: Fri May 29 19:17:34 2015 -0400
Modify ipset functional tests to pass on older machines
Production code uses ipset exclusively in the root namespace,
however functional testing uses ipset in namespace for isolation.
This poses an issue as ipset is not supported in namespaces on
all kernels and distributions (I'm looking at you CentOS/RHEL 7.1).
This patch changes the ipset functional tests to work in the root
namespace while taking care of cleanups.
Conflicts: tests/functiona l/agent/ linux/test_ ipset.py
neutron/
Change-Id: I08b2f59197ed76 e59b2e58b5a1082 0653e857cda 67b53828b0a7719 73f0031243)
Closes-Bug: #1460220
(cherry picked from commit 96e2314c8c0f069