Closed signal-09 closed 4 months ago
Thanks for the PR, I will review it over the next 2 days.
Few formalities before I look into the code itself - can you please:
Thanks
Few formalities before I look into the code itself - can you please:
- [x] add a test case for the json output? see ./test/commands.sh
- [x] add yourself to ./AUTHORS if interested
- [x] suggest changes to the documentation? ./README.md
Thanks
Sure, done
If you want I can even go further with vlan
link support (adding and removing).
Thanks! This is great. I would prefer to merge the json part first, then we can work on the bridge as a separate PR? I would like to e.g. make sure we don't duplicate some of the code, etc...
Ok, let's go with vlan
staff in a second stage.
Sorry, I accidentally closed the pull request...
Alright, I will merge it as is and then rework it a bit before the release.
To implement JSON output, as in #49, I had to rewrite some functions.
There are many values not managed (e.g. link status, link enumeration, etc.) due to some lacks in
ifconfig
output compared toip
.