File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 44
55{% set anycast_lo_id = vxlan .multisite .vtep_loopback_id | default (defaults .vxlan .multisite .vtep_loopback_id ) %}
66
7+ {% if vxlan .multisite .child_fabrics is defined and vxlan .multisite .child_fabrics is iterable %}
78{% for fabric in vxlan .multisite .child_fabrics %}
89{% if fabric .bgw_anycast_vip_ipv 4 is defined %}
910- entity_name: "{{ fabric.name }}"
1213 scope_type: fabric
1314 resource: "{{ fabric.bgw_anycast_vip_ipv4 }}"
1415{% endif %}
15- {% endfor %}
16+ {% endfor %}
17+ {% endif %}
Original file line number Diff line number Diff line change 5555 ansible_command_timeout : 3000
5656 ansible_connect_timeout : 3000
5757 when : >
58- (MD_Extended.vxlan.fabric.type == 'ISN' and (MD_Extended.vxlan.topology.switches is defined and MD_Extended.vxlan.topology.switches | length > 0)) or
59- MD_Extended.vxlan.fabric.type == 'MSD'
58+ (MD_Extended.vxlan.fabric.type == 'MSD' and
59+ MD_Extended.vxlan.topology.child_fabrics is defined and
60+ MD_Extended.vxlan.topology.child_fabrics | length > 0)
6061 # TODO: Need to add logic to only deploy if changes are made
6162
6263- name : Config-Save For Child Fabrics
Original file line number Diff line number Diff line change 7070 - multisite_network_delete_mode is defined
7171 - multisite_network_delete_mode is true | bool
7272 - vars_common_msd.changes_detected_networks
73+ - MD_Extended.vxlan.multisite.child_fabrics is defined and MD_Extended.vxlan.multisite.child_fabrics | length > 0
7374
7475- ansible.builtin.debug :
7576 msg :
Original file line number Diff line number Diff line change 7070 - multisite_vrf_delete_mode is defined
7171 - multisite_vrf_delete_mode is true | bool
7272 - vars_common_msd.changes_detected_vrfs
73+ - MD_Extended.vxlan.multisite.child_fabrics is defined and MD_Extended.vxlan.multisite.child_fabrics | length > 0
7374
7475- ansible.builtin.debug :
7576 msg :
You can’t perform that action at this time.
0 commit comments