netplan:master

Last commit made on 2019-05-21
Get this branch:
git clone -b master https://git.launchpad.net/netplan

Branch merges

Branch information

Name:
master
Repository:
lp:netplan

Recent commits

7a1127f... by Deltik on 2019-05-11

Tolerate devices without a /sys path

When using the NetworkManager renderer, the logic in
`NetplanApply.command_apply()` tells `nmcli` to disconnect the devices
previously populated by `netifaces.interfaces()`.

In addition, if an alias like "eth0:0" exists, it will show as a device
from `netifaces.interfaces()` but will not have a path in
`/sys/class/net`.

This means that the `devices` variable may have more devices than
actually exist due to the past `nmcli device disconnect` run or the
presence of one or more aliases.

The attached patch fixes this bug by tolerating all errors from `udevadm
test-builtin net_setup_link /sys/class/net/XXX` so that `netplan apply`
doesn't quit and leave the user without a network setup.

Fixes LP #1810043
Launchpad: https://bugs.launchpad.net/netplan/+bug/1810043

Signed-off-by: Nick Liu <email address hidden>

ee94ec1... by Mathieu Trudel-Lapierre on 2019-05-15

Fix incorrect separator for networkd with ARP IP targets (LP: #1829264)

Signed-off-by: Mathieu Trudel-Lapierre <email address hidden>

ea47bd4... by Mathieu Trudel-Lapierre on 2019-04-30

parser: refactor / factor out validation and error reporting

Move validation and error reporting to their own files; also rework
the validation passes slightly to validate as much as we can of the
netplan grammar in parser passes (so we get context info for errors),
and leave the backend rules sanity checking only to after the parsing.

This way we'll get the error context, unless things are backend-specific
rules for which it's just hard to get the info (and not as helpful).

a001750... by Mathieu Trudel-Lapierre on 2019-04-23

parser: reorganize validation to happen in a single pass at the end of parsing

3e99f59... by Mathieu Trudel-Lapierre on 2019-04-23

Revert "parser: fix explicit backend assignment due to file merging"

This reverts commit fe1fac85ea6ee54384c97f221ea2c43afa70ea26.

3e732b7... by Cullen Jennings <email address hidden> on 2019-03-15

Fix failure in make install

a5389e5... by Mathieu Trudel-Lapierre on 2019-04-23

doc: add notice about interfaces configured in YAML being brought up

16b297b... by Mathieu Trudel-Lapierre on 2019-03-28

Fix tests after reverting systemd-networkd.service's activation from network-online.

ef43dd5... by Mathieu Trudel-Lapierre on 2019-03-28

Partially revert the change for enabling systemd-networkd. network-online.target may not be depended on by anything on minimal images, but multi-user.target already is.

d96a6a0... by Mathieu Trudel-Lapierre on 2018-05-29

networkd: force bringing up devices with no IP addresses

Signed-off-by: Mathieu Trudel-Lapierre <email address hidden>