services: fix missing configurations for ospfv2 in config services

This commit is contained in:
Blake Harnden 2022-02-17 10:14:04 -08:00
parent 0fcc532c0d
commit 3c64654598
2 changed files with 47 additions and 13 deletions

View file

@ -1,4 +1,4 @@
% for iface, ip4s, ip6s, is_control in ifaces:
% for iface, ip4s, ip6s, configs in ifaces:
interface ${iface.name}
% if want_ip4:
% for addr in ip4s:
@ -10,13 +10,11 @@ interface ${iface.name}
ipv6 address ${addr}
% endfor
% endif
% if not is_control:
% for service in services:
% for line in service.quagga_iface_config(iface).split("\n"):
% for config in configs:
% for line in config:
${line}
% endfor
% endfor
% endif
% endfor
!
% endfor