Skip to content

Instantly share code, notes, and snippets.

@badloop
Created February 21, 2019 19:58
networks:
repeat:
for_each:
<%index%>: { get_param: [ wan_array ] }
template:
if:
- equals: [ <%index%>, { get_param: wan_count} ]
- port: { get_resource: POD_lan0_network_port }
- port: { get_attr: [ wan_group, resource.<%index%>.POD_wan_port, id ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment