networking: use proper wrapper around ip command
Previously a subprocess
calls were used to invoke the ip
command. This is now replaced with a proper NetLink API calls wrapped in pyroute2
module.
Fixes #48 (closed).
Merge request reports
Activity
added 3 commits
-
4d22a189...39955adb - 2 commits from branch
master
- bc800fed - networking: use proper wrapper around ip command
-
4d22a189...39955adb - 2 commits from branch
- Resolved by Štěpán Balážik
- Resolved by Petr Špaček
- Resolved by Štěpán Balážik
This is awesome, I like it! On my system old libswrap version took 35 seconds to execute all tests, new version based on namespace + subprocess took 45 seconds and this takes 40-41 seconds.
Besides speed improvement I very much like getting rid of parsing error messages, I do not want to image what would happen with non-english locale etc.
TODO:
- document new depedency
Edited by Štěpán Balážikassigned to @sbalazik
added 1 commit
- f58e5959 - networking: use proper wrapper around ip command
added 4 commits
-
f58e5959...85caf7ec - 3 commits from branch
master
- bd4395a7 - networking: use proper wrapper around ip command
-
f58e5959...85caf7ec - 3 commits from branch
unassigned @sbalazik
mentioned in commit ebb6d356