~netplan-developers/netplan/+git/netplan:fix-bond-mode-validation-regression

Last commit made on 2020-05-12
Get this branch:
git clone -b fix-bond-mode-validation-regression https://git.launchpad.net/~netplan-developers/netplan/+git/netplan

Branch merges

Branch information

Name:
fix-bond-mode-validation-regression
Repository:
lp:~netplan-developers/netplan/+git/netplan

Recent commits

f49ec4c... by Lukas Märdian

Fix invalid bond mode SRU regression (LP: #1877643)

netplan < 0.98 accepted invalid bond modes, we should _not_ reject such
configs, even though they are invalid, to avoid regressions in stables releases.

This affects the bionic stable release, as the original version in this
release shipped netplan < 0.98.

11961d5... by Lukas Märdian

test:wifi: fix typo in test YAML

a28fe65... by Ashley Anderson

Add `hidden` to connect to non-broadcast SSIDs (#132)

This adds the 'hidden' keyword to the netplan wireless schema, supported on both the networkd and NetworkManager backends.

Co-authored-by: Łukasz Zemczak <email address hidden>

5df5831... by Łukasz Zemczak

Add some basic SR-IOV examples.

a9f138d... by Lukas Märdian

Fix LP#1874377: Not connect to WiFi after 'netplan apply' (#133)

* Fix LP#1874377: Not connect to WiFi after 'netplan apply'

Seems like the 'netplan apply' command was not properly adopted in #109 when wired wpa_supplicant support was introduced.

Fixes: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1874377

5650a7f... by James Richards <email address hidden>

Fix typo in docs "networks:" -> "network:" (#131)

Fix typo in documentation where "networks:" should be "network:".

1ccf7e0... by Łukasz Zemczak

SR-IOV support for explicitly defining the VF count (#130)

This is a possible feature request to the just-landed SR-IOV support in netplan. This PR introduces an optional 'virtual-function-count:' parameter that can be defined for physical functions to force the allocation of a given number of VFs, regardless of how many are actually used in the netplan config. There are of course safety checks to ensure that we can't request less VFs than actually needed in netplan.

This feature request came from the OpenStack team. We did consider such a thing originally, but then decided that it's better if we let netplan handle it. This PR adds this as an option (not recommended for everyday usage tho).

Co-authored-by: Łukasz 'sil2100' Zemczak <email address hidden>

b7f1d9b... by Łukasz Zemczak

SR-IOV support (#129)

This might still need some work, but at least the base support is here.

This adds support for SR-IOV devices. One can now define VFs for given PFs via a 'link:' tag. Netplan then will create those dynamically on netplan apply. We also have a quick framework in case some special devices need a module unload+load to get the changes deployed.

This also adds support for SR-IOV hardware VLAN tagging via the renderer: sriov syntax.

Co-authored-by: Łukasz 'sil2100' Zemczak <email address hidden>

a5438a2... by Lukas Märdian

Implement WakeOnWLan for NM and networkd backends (#128)

This implements the wakeonwlan setting, which can contain any combination of the following flags:

    any
    diconnect
    magic_pkt
    gtk_rekey_failure
    eap_identity_req
    four_way_handshake
    rfkill_release
    tcp (NM only)

Or the exclusive default flag, to fall back to system defaults.

9a1633a... by Lukas Märdian

Implement WiFi flags for bssid/band/channel (#125)

* nm: write wifi-bssid/band/channel fields

* parse: create & use generic handler functions

* parse: add wifi band/channel/bssid fields

* parse:nm: implement 'seen-bssids' array for NM backend

* networkd: implement wifi - bssid/seen-bssids/band/channel

* util: match wifi channel & frequency

* nm: validate WiFi channels

* doc: note about seen-bssids compatibility

* doc: util: networkd: Review fixes

* Review and language fixes

* NM: remove deprecated seen-bssids option

The "wifi.seen-bssids" setting is deprecated.
NetworkManager will not read this option or use it internally.
Instead, it reads this data from it's internal state db at:
/var/lib/NetworkManager/seen-bssids

This is why we do not need to support this field for netplan.io