How to handle platform diferences in cloudinit.net module
Asked by
Mina Galić
Currently, a lot of net/__init__.py is implemented exclusively for Linux systems which have the `ip` utility.
I'm trying to make this code run on FreeBSD, and short of adding `if`s all over the place, I'm a bit stuck on how exactly to handle this.
Does the call-hierarchy in cloud-init prefer methods / Classes (re)defined in a specific distro file?
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.