-
Notifications
You must be signed in to change notification settings - Fork 429
Description
Hello,
It is not possible to use interfaces ethX where X>9
2026-02-21 10:32:29.770 [info] 10:32:29 INFO Containerlab started version=0.73.0
2026-02-21 10:32:29.786 [info] 10:32:29 INFO Parsing & checking topology file=vyos-vxlan-full.clab.yml
2026-02-21 10:32:29.796 [info] ERROR
2026-02-21 10:32:29.796 [info] Vyos node "CORE-99" has an interface named "eth11" which doesn't match the required pattern. Interfaces may only be
2026-02-21 10:32:29.796 [info] named ethX where X is any number greater than 0.
Is it possible to change checks in nodes/vyosnetworks_vyos/vyos.go
To this:
func (n *vyos) CheckInterfaceName() error {
// allow eth and et interfaces
// https://regex101.com/r/umQW5Z/2
ifRe := regexp.MustCompile(eth([1-9][0-9]+|[1-9])$)
Also, after container start, it will show status as unhealthy.
That is because it cant start tty0 console:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b87520a66cdc clab/vyos:2026.02 "/sbin/init" 43 minutes ago Up 43 minutes (unhealthy) clab-vyos-int-check-vyos1
admin@vyos1:~$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
- serial-getty@ttyS0.service loaded failed failed Serial Getty on ttyS0
Is it possible to change default config in nodes/vyosnetworks_vyos/vyos.config.boot
By removing this part:
system {
console {
device ttyS0 {
speed "115200"
}
}
Thanks