I've tested netplan.io 0.103-0ubuntu7.1 from impish-proposed and
attached the autopkgtest logs to the bug description, according to
https://wiki.ubuntu.com/NetplanUpdates.

The netplan generator command was run successfully, producing correct
"scope: link" routes with empty gateway/next_hop:

root@sru-ii:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.103-0ubuntu7.1 amd64 YAML network configuration 
abstraction runtime library
ii netplan.io 0.103-0ubuntu7.1 amd64 YAML network configuration abstraction for 
various backends

root@sru-ii:~# mkdir -p tmp/etc/netplan
root@sru-ii:~# cat tmp/etc/netplan/test.yaml 
network:
  renderer: NetworkManager
  ethernets:
    eth0:
      addresses: [1.2.3.4/24, fe20::3/16]
      routes:
      - to: 2.2.2.2/7
        scope: link
      - to: 3.3.3.3/6
        scope: link
        metric: 4
      - to: 4:5:6:7:8:9:0:1/63
        scope: link
        metric: 5root@sru-ii:~# /usr/lib/netplan/generate -r tmp/
root@sru-ii:~# cat 
tmp/run/NetworkManager/system-connections/netplan-eth0.nmconnection | grep 
"route.="
route1=2.2.2.2/7
route2=3.3.3.3/6,,4
route1=4:5:6:7:8:9:0:1/63,,5

** Tags removed: verification-needed-impish
** Tags added: verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1949761

Title:
  NM backend does not accept "scope: link" routes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1949761/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to