Comment 16 for bug 1949893

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

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

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

root@hh:~# 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@hh:~# ./check.sh
method return time=1638359839.349469 sender=:1.20 -> destination=:1.27 serial=15 reply_serial=2
   boolean true
method return time=1638359839.967560 sender=:1.20 -> destination=:1.28 serial=17 reply_serial=2
   boolean true
method return time=1638359840.088573 sender=:1.20 -> destination=:1.30 serial=20 reply_serial=2
   boolean true
11: br54: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000