]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: batman_adv: import and IO api refactoring
authorJulien Fortin <julien@cumulusnetworks.com>
Wed, 19 Dec 2018 06:14:15 +0000 (07:14 +0100)
committerJulien Fortin <julien@cumulusnetworks.com>
Wed, 19 Dec 2018 06:14:15 +0000 (07:14 +0100)
commit8d8cd4f438554bffdb1e0a2707967a4a2f5edd6f
tree6cc6c78d8f646a1f1c47a8d62be139d46cfe093a
parentb1a2d2417b5b1acd51a1db1a92cc1fc7197b4319
addons: batman_adv: import and IO api refactoring

The new code base supports installation via pypi so we need to update the
imports statement.
It's also good practice to use the existing IO apis to read/write and execute
sub-commands, those API will do error handling and logging.

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
ifupdown2/addons/batman_adv.py