The Python 2.7 Support has been dropped since Ussuri.
So remove hacking rules for compatibility between python 2 and 3.
Change-Id: Idd6a1efd1857a70fc7d960b365bfc58d6cbe00d3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Remove hacking and friends from lower-constraints, they are not needed
for installation.
Change-Id: If75153300f07e6d1c5bf433af35a0dd4d98e6c7f
Fixed a TypeError when running with python3, and also added
a 'benchmark3' target to run it on python3 explicitly.
Change-Id: Ia3514465f7d1e97845891cf9aaabcf93e36e0f57
Move the public API out of oslo.rootwrap to oslo_rootwrap. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.
bp/drop-namespace-packages
Change-Id: Ifed1a99e5ea6d999760731867c4294707698d41c
Benchmark shows performance penalty rootwrap introduces compared to one of
plain sudo.
To run benchmark, issue: tox -e benchmark
Example output:
Running 'ip a':
method : min avg max dev
ip a : 4.185ms 4.570ms 5.657ms 187.705us
sudo ip a : 13.564ms 14.437ms 28.452ms 1.470ms
sudo rootwrap conf ip a : 148.839ms 192.424ms 254.043ms 19.219ms
Running 'ip netns exec bench_ns ip a':
method : min avg max dev
sudo ip netns exec bench_ns ip a : 109.772ms 151.627ms 209.943ms 22.991ms
sudo rootwrap conf ip netns exec bench_ns ip a : 289.345ms 345.471ms 463.807ms 32.873ms
Change-Id: Id8e41be6602fa8dcff48a8a4ba44d35dd3043731