File tree Expand file tree Collapse file tree
plugins/action/common/prepare_plugins
common/templates/ndfc_fabric/dc_external_fabric Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ def prepare(self):
4848 model_data ['vxlan' ]['topology' ]['border_gateway_super_spine' ] = {}
4949 model_data ['vxlan' ]['topology' ]['tor' ] = {}
5050 model_data ['vxlan' ]['topology' ]['core_router' ] = {}
51+ model_data ['vxlan' ]['topology' ]['edge_router' ] = {}
5152 sm_switches = model_data ['vxlan' ]['topology' ]['switches' ]
5253 for switch in sm_switches :
5354 # Build list of switch IP's based on role keyed by switch name
Original file line number Diff line number Diff line change 11{# Auto-generated NDFC DC External Base config data structure for fabric {{ vxlan.fabric.name }} #}
2+ - FABRIC_NAME: {{ vxlan.fabric.name }}
3+ FABRIC_TYPE: {{ vxlan.fabric.type }}
4+ DEPLOY: False
25
36{# Include NDFC DC External General Template #}
47{% include '/ndfc_fabric/dc_external_fabric/general/dc_external_fabric_general.j2' %}
Original file line number Diff line number Diff line change 3232- ansible.builtin.debug : msg="Configuring NXOS Devices using NDFC (Direct to Controller)"
3333 tags : " {{ nac_tags.create }}"
3434
35+ # - name: Create NDFC External Fabric
36+ # ansible.builtin.import_tasks: external/fabric.yml
37+ # when:
38+ # - MD_Extended.vxlan.fabric.name is defined
39+ # - MD_Extended.vxlan.fabric.type == "External"
40+ # - MD_Extended.vxlan.global is defined
41+ # - vars_common_external.changes_detected_fabric
42+ # tags: "{{ nac_tags.create_fabric }}"
43+
3544- name : Create NDFC External Fabric
36- ansible.builtin.import_tasks : external /fabric.yml
45+ ansible.builtin.import_tasks : common /fabric.yml
3746 when :
3847 - MD_Extended.vxlan.fabric.name is defined
3948 - MD_Extended.vxlan.fabric.type == "External"
You can’t perform that action at this time.
0 commit comments