Development of https://vyos.dev/T6834:
Currently static_rioutes allows to set either next_hops.forward_router_address: or next_hops.interface
If set both:
vyos.vyos.vyos_static_routes:
config:
- address_families:
- afi: ipv6
routes:
- dest: 2001:db8:1000::/36
next_hops:
- forward_router_address: 2001:db8:2000:2::1
interface: 'eth2'facts fail:
static_routes.py", line 167, in parse_next_hop
if element["forward_router_address"] == nh_info["forward_router_address"]:
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^Also, raised here https://github.com/vyos/vyos.vyos/issues/443