I’m happy to announce that Netplan version 0.106 is now available on GitHub and is soon to be deployed into an Ubuntu/Debian/Fedora installation near you! Six months and 65 commits after the previous version, this release is brought to you by 4 free software contributors from around the globe.
Highlights
Highlights of this release include the new netplan status
command, which queries your system for IP addresses, routes, DNS information, etc… in addition to the Netplan backend renderer (NetworkManager/networkd) in use and the relevant Netplan YAML configuration ID. It displays all this in a nicely formatted way (or alternatively in machine readable YAML/JSON format).
Furthermore, we implemented a clean libnetplan API which can be used by external tools to parse Netplan configuration, migrated away from non-inclusive language (PR#303) and improved the overall Netplan documentation. Another change that should be noted, is that the match.macaddress stanza now only matches on PermanentMACAddress= on the systemd-networkd backend, as has been the case on the NetworkManager backend ever since (see PR#278 for background information on this slight change in behavior).
Changelog
- New ‘netplan status’ CLI by @slyon in #290
- API: implement APIs from the new specification by @daniloegea in #298
- Check and fix non-inclusive language by @daniloegea in #303
- Documentation improvements (using Diátaxis & RTD) by @slyon
- Match by PermanentMACAddress by @rlaager in #278
- Netplan api iterator by @daniloegea in #306
- API: update netplan_delete_connection() to avoid spawning another process by @slyon in #322
- NetworkManager 1.40 compat & file permission fixes (LP#1862600, LP#1997348) by @slyon in #300
- Migrate from (deprecated) nose to pytest by @daniloegea in #302
- parse: Add the filepath to OVS ports netdefs by @daniloegea in #295
- Check if the interface name is too long (LP#1988749) by @daniloegea in #313
- doc/examples: remove unnecessary route for IPv6 on-link gateways by @sbraz in #312
- Memory leak CI action by @daniloegea in #321
- tests:base:ethernets: Improve stability of autopkgtests by @slyon in #223
Bug fixes:
- Fix some memory leaks by @daniloegea in #297
- parser: plug a memory leak by @daniloegea in #309
- src:parse: plug memory leaks in nullable handling by @slyon in #319
- Fix ‘netplan ip leases’ crash (LP#1996941) by @daniloegea in #301
- tests: mock calls to systemctl by @daniloegea in #314
- ctests: fix an integer conversion issue by @daniloegea in #315
- docs: small fix on netplan-set doc by @daniloegea in #316
- parser: return the correct error on failure (LP#2000324) by @daniloegea in #308
- apply: Fix crash when OVS is stopped (LP#1995598) by @daniloegea in #307
- networkd: make sure VXLAN is in the right section (LP#2000713) by @daniloegea in #310
- cli:set: update only specific origin-hint if given (LP#1997467) by @slyon in #299
- vxlan: convert some settings to tristate (LP#2000712) by @daniloegea in #311
- parser: check for route duplicates (LP#2003061) by @daniloegea in #320