Comment 17 for bug 1949893

Revision history for this message
Lukas Märdian (slyon) wrote :

I tested netplan.io 0.103-0ubuntu5~20.04.4 from focal-proposed and attached the official autopkgtest logs, all passed.

root@ff:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.103-0ubuntu5~20.04.4
ii netplan.io 0.103-0ubuntu5~20.04.4

root@ff:~# cat check.sh
#!/bin/bash
path=$(dbus-send --system --print-reply --type=method_call --dest=io.netplan.Netplan /io/netplan/Netplan io.netplan.Netplan.Config|grep path|cut -f2 -d'"')

dbus-send --system --print-reply --type=method_call --dest=io.netplan.Netplan "$path" io.netplan.Netplan.Config.Set string:"network.bridges.br54.dhcp4=true" string:"90-snapd-conf"
dbus-send --system --print-reply --type=method_call --dest=io.netplan.Netplan "$path" io.netplan.Netplan.Config.Try uint32:30
sleep 0.1
dbus-send --system --print-reply --type=method_call --dest=io.netplan.Netplan "$path" io.netplan.Netplan.Config.Apply

ip link | grep br54
root@ff:~# ./check.sh
method return time=1638363036.598724 sender=:1.19 -> destination=:1.20 serial=6 reply_serial=2
   boolean true
method return time=1638363037.259131 sender=:1.19 -> destination=:1.21 serial=8 reply_serial=2
   boolean true
method return time=1638363037.414568 sender=:1.19 -> destination=:1.24 serial=11 reply_serial=2
   boolean true
11: br54: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000