The route on the second interface is bogus, as the nexthop doesn't have a corresponding local subnet, and thus no obvious interface to which the route should be assigned.
We would expect to see the 0.0.0.0/0 route installed on qsfp0 correctly, and the second route dropped. Instead we see the first route incorrectly associated with qsfp6:
root@oxz_switch1:~# swadm route ls
Subnet Port Link Gateway Vlan
0.0.0.0/0 qsfp6 0 172.20.15.25
This is fundamentally user error, as the provided config isn't actually valid. It would be helpful if the invalidity were caught earlier, but that doesn't seem like maghemite's problem to solve.
While setting up the london racklette, I found a route assigned to the wrong interface. The relevant bit of the config is:
The route on the second interface is bogus, as the nexthop doesn't have a corresponding local subnet, and thus no obvious interface to which the route should be assigned.
We would expect to see the
0.0.0.0/0
route installed onqsfp0
correctly, and the second route dropped. Instead we see the first route incorrectly associated withqsfp6
: