I'm not completely sure that behavior in 1.4 is the correct one.
If I add these two routes:
vyos@vyos# set protocols static route 8.8.8.8/32 dhcp-interface eth0 vyos@vyos# set protocols static route 8.8.8.8/32 dhcp-interface eth1
I would expect to see both in main routing table, as it is in 1.3 version. I would expect that latest command doesn't overwrite previous command, as user may want/need redundancy for that particular route.
So I think that adding routes to main routing table and not overwriting previous entry is the correct behavior.
IMO in 1.3:
- Second route is added and not overwriten in main routing table -- OK
- But in vyos cli, second route overwrites the first one, when both routes should remain present in config --- Not OK