~danilogondolfo/network-manager/+git/ubuntu-1:wpa_enterprise_autopkgtest

Last commit made on 2023-05-16
Get this branch:
git clone -b wpa_enterprise_autopkgtest https://git.launchpad.net/~danilogondolfo/network-manager/+git/ubuntu-1
Only Danilo Egea Gondolfo can upload to this branch. If you are Danilo Egea Gondolfo please log in for upload directions.

Branch merges

Branch information

Name:
wpa_enterprise_autopkgtest
Repository:
lp:~danilogondolfo/network-manager/+git/ubuntu-1

Recent commits

5027ee3... by Danilo Egea Gondolfo

d/t/nm.py: implement WPA-EAP tests

The first test sets up hostapd with WPA-EAP and authenticates using
identity and password. The second one does the same but authenticates
with identity and client certificate.

These tests are related to an issue in Netplan but they are also useful
for network-manager itself. See LP: #2016625

c306b2e... by Danilo Egea Gondolfo

d/t/nm.py: generalize Wifi auth configuration

The idea is to make is easier to implement tests using different
authentication methods.

It uses easy-rsa to automate the creation of a CA with server and client
certificates and private keys that can be used by hostapd and
network-manager (wpa_supplicant).

d407819... by Danilo Egea Gondolfo

Add easy-rsa as a test dependency

4d93125... by Sebastien Bacher

releasing package network-manager version 1.42.4-1ubuntu3

bcd4341... by Lukas Märdian

Update changelog

6c8b795... by Lukas Märdian

d/network-manager.postinst: Trigger Netplan migration on install/upgrade

(LP: #2010561)

f604ceb... by Lukas Märdian

d/network-manager.preinst: backup previous configuration automatically

e64a9a5... by Danilo Egea Gondolfo

d/t/nm_netplan.py: Add autopkgtests for the netplan integration

nm_netplan.py creates connections through the Python library. It adds
a lot of boilerplate when implementing tests though. Might be better to
just call nmcli.

- Add test to create, change and delete a tap device
- Add few more tests
  Also add some support code to handle NetworkManager between tests.
- Delete interfaces if they still exist
  It seems that sometimes after deleting a connection, an interface might
  linger around for some reason.
- Add few more tests
- d/t/nm_netplan.py: improve formating
  Remove spaces, empty lines, rename the test file to have a lower
  priority when parsed and remove all the skip annotations.

3855f10... by Danilo Egea Gondolfo

d/t/nm.py: Fix autopkgtests when Netplan is in use

Some autopkgtests will fail with the libnetplan patch because a
temporary directory is mounted and unmounted for each test to store the
NM configuration. As all the related netplan yaml files will be kept in
/etc/netplan, all the deleted connections were being recreated.

Let the nm.py script also mount /etc/netplan as a tmpfs volume for each
test.

21a901a... by Lukas Märdian

debian/patches/netplan: Add libnetplan backend integration patch