[FFE] netplan 0.34: new features
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nplan (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
netplan 0.34 introduces new features:
- optional: true on an interface to allow it to be "ignored" by networkd-
- added 'help' subcommands everywhere.
- added bash completion
- 'netplan ip leases' now allows retrieving the lease file for the "private" DHCP settings contained in a lease for the backend in use. The lease file is displayed in full and allows retrieving settings not normally exposed by the backends.
- implement better routing support: policy-based routing is now supported for the networkd backend, and better control over the "standard" routes to be installed. A new 'on-link: true' option allows for defining a route that is directly attached.
These stem from various requests we've had concerning the usability of netplan for various projects; for instance:
- 'optional: true' is useful for the ubuntu-server daily image to avoid blocking in networkd while the network interface are coming up (which would block for 5 minutes waiting for timeout if no interface is connected).
- policy routing, on-link: true and general routing improvements are common user requests from people migrating early to bionic.
- help and bash completion are common requested features, and generally greatly improve usability.
This new release also has many long-term maintenance code cleanliness changes and fixes the following bugs:
* Reinstate snap support for dealing with the NetworkManager snap.
(LP: #1747714)
* Don't silently break bridge-priority; fix it instead. (LP: #1752162)
* Disable "ifupdown-migrate"; which is incomplete and thus risks breaking systems. Better iterate over it without showing it as a viable option.
build logs:
[amd64] https:/ /launchpadlibra rian.net/ 359874933/ buildlog_ ubuntu- bionic- amd64.netplan. io_0.34_ BUILDING. txt.gz /launchpadlibra rian.net/ 359874911/ buildlog_ ubuntu- bionic- i386.netplan. io_0.34_ BUILDING. txt.gz
[i386] https:/
install log: ghost:~ # apt install nplan ppa.launchpad. net/cyphermox/ netplan. io/ubuntu bionic/main amd64 nplan all 0.34 [7796 B] ppa.launchpad. net/cyphermox/ netplan. io/ubuntu bionic/main amd64 netplan.io amd64 0.34 [54.3 kB] nplan_0. 34_all. deb ... io_0.34_ amd64.deb ... ghost:~ #
root@giving-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
netplan.io
Suggested packages:
network-manager | wpasupplicant
The following NEW packages will be installed:
netplan.io
The following packages will be upgraded:
nplan
1 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 62.1 kB of archives.
After this operation, 70.7 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Fetched 62.1 kB in 0s (146 kB/s)
(Reading database ... 27345 files and directories currently installed.)
Preparing to unpack .../archives/
Unpacking nplan (0.34) over (0.33) ...
dpkg: warning: unable to delete old directory '/etc/netplan': Directory not empty
Selecting previously unselected package netplan.io.
Preparing to unpack .../netplan.
Unpacking netplan.io (0.34) ...
Setting up netplan.io (0.34) ...
Setting up nplan (0.34) ...
Processing triggers for man-db (2.8.2-1) ...
root@giving-