In a topology where the intent is to pass a trunk of vlans in L2 mode by setting vlan.mode=bridge at the node level, IPs are correctly not assigned but the individual vlan.mode remains as 'irb'
To Reproduce
netlab create test.yml
Expected behavior
The host_vars for r1 should say vlan.mode: bridge, as there is no IP to do irb
Describe the bug
In a topology where the intent is to pass a trunk of vlans in L2 mode by setting
vlan.mode=bridge
at the node level, IPs are correctly not assigned but the individual vlan.mode remains as 'irb'To Reproduce
netlab create test.yml
Expected behavior
The host_vars for r1 should say
vlan.mode: bridge
, as there is no IP to doirb
Lab topology
Output
host_vars/r1:
host_vars/r2:
Version
Latest dev branch
Additional context
Another edge case, but I thought I'd document it anyway ;)