netplan:master

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

Branch merges

Branch information

Name:
master
Repository:
lp:netplan

Recent commits

f2c15ce... by Mathieu Trudel-Lapierre 17 hours ago

networkd: write .rules files to run as late as possible, so 99-netplan-.

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

2e35e28... by Mathieu Trudel-Lapierre 22 hours ago

Clean up after new .rules files

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

fd6824c... by Mathieu Trudel-Lapierre 22 hours ago

Merge pull request #31 from daxtens/rules

Generate udev rules files to rename devices

b0c51bf... by Daniel Axtens on 2018-05-17

Generate udev rules files to rename devices

Due to a systemd issue[1], using link files to rename interfaces
doesn't work as expected. Link files will not rename an interface
if it was already renamed, and interfaces are renamed in initrd, so
set-name will often not work as expected when rebooting.

However, rules files will cause a renaming, even if the interface
has been renamed in initrd.

So, while we sort out whether the systemd-udev behaviour is broken
or not, we can simply generate udev rules files with appropriate
renaming info in /run/udev/rules.d/70-netplan-<interface>.rules

A file will be created for non-virtual interfaces with both a
set-name and a driver or a mac address in the match stanza.
(Renaming from name to name doesn't work.)

This is at least a temporary fix to LP: #1770082

As far as testing goes, test successful set-name: generations, and
a few cases where we expect no files to be generated.

[1] https://github.com/systemd/systemd/issues/9006

Signed-off-by: Daniel Axtens <email address hidden>

d158eb9... by Daniel Axtens on 2018-05-17

tests/generate: rename assert_udev to assert_nm_udev

The function specifically tests a NM specific udev rule. We're
about to add more udev support, so it would be helpful to have
clearer names.

Signed-off-by: Daniel Axtens <email address hidden>

7afef6a... by Mathieu Trudel-Lapierre on 2018-05-11

releasing package netplan.io version 0.37.1

60b8def... by Mathieu Trudel-Lapierre on 2018-05-11

Update changelog

b96b14f... by Mathieu Trudel-Lapierre on 2018-05-11

tests: various small fixes

Be explicit about enabling accept-ra; especially for systemd which might not
necessarily wait until the v6 IP is set (an RA received) unless we explicitly
tell it to accept RAs.

Also set mii-monitor-interval for test_bond_resend_igmp to attempt to force
it to be less flaky.

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

168c83e... by Mathieu Trudel-Lapierre on 2018-05-08

releasing package netplan.io version 0.37

8191dc9... by Mathieu Trudel-Lapierre on 2018-05-08

Update changelog for release.