File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 193193{% for neigh_asic in asic_config ['neigh_asic' ] %}
194194{% set neigh_asic_index = neigh_asic .split ('ASIC' )[1]|int %}
195195{% set po_intf = 'PortChannel' + port_channel_id (asic_index , neigh_asic_index ).zfill (2) %}
196- {{- internal_static_routes_ipv4_device_pair.append(po_intf + ',' + asic_config['neigh_asic'] [neigh_asic] ['bgp_ipv4'] [0] ) -}}
197- {{- internal_static_routes_ipv6_device_pair.append(po_intf + ',' + asic_config['neigh_asic'] [neigh_asic] ['bgp_ipv6'] [0] ) -}}
196+ {% for intf_index in range (asic_config ['neigh_asic' ][neigh_asic ]['bgp_ipv4' ][0]|length ) %}
197+ {{- internal_static_routes_ipv4_device_pair.append(po_intf + ',' + asic_config['neigh_asic'] [neigh_asic] ['bgp_ipv4'] [0] [intf_index] ) -}}
198+ {{- internal_static_routes_ipv6_device_pair.append(po_intf + ',' + asic_config['neigh_asic'] [neigh_asic] ['bgp_ipv6'] [0] [intf_index] ) -}}
199+ {% endfor %}
198200{% endfor %}
199201 <IPNextHop >
200202 <ElementType >IPNextHop</ElementType >
You can’t perform that action at this time.
0 commit comments