Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ ansible_connection: ansible.netcommon.httpapi
ansible_httpapi_port: 443
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_network_os: cisco.dcnm.dcnm
ansible_network_os: cisco.nd.nd
# NDFC API Credentials
ansible_user: "{{ lookup('env', 'ND_USERNAME') }}"
ansible_password: "{{ lookup('env', 'ND_PASSWORD') }}"
Expand Down
2 changes: 1 addition & 1 deletion plugins/action/dtc/fabric_check_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def run(self, tmp=None, task_vars=None):
fabric = self._task.args["fabric"]

ndfc_response = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "GET",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{fabric}/inventory/switchesByFabric",
Expand Down
2 changes: 1 addition & 1 deletion plugins/action/dtc/fabrics_config_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run(self, tmp=None, task_vars=None):
for fabric in fabrics:
display.display(f"Executing config-save on Fabric: {fabric}")
ndfc_config_save = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "POST",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{fabric}/config-save",
Expand Down
2 changes: 1 addition & 1 deletion plugins/action/dtc/fabrics_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run(self, tmp=None, task_vars=None):
for fabric in fabrics:
display.display(f"Executing config-deploy on Fabric: {fabric}")
ndfc_deploy = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "POST",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{fabric}/config-deploy?forceShowRun=false",
Expand Down
2 changes: 1 addition & 1 deletion plugins/action/dtc/get_poap_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def refresh(self) -> None:
self.refresh_message = None

data = self.execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": self.poap_get_method,
"path": self.poap_get_path
Expand Down
4 changes: 2 additions & 2 deletions plugins/action/dtc/manage_child_fabric_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def run(self, tmp=None, task_vars=None):
# return results

ndfc_net = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "GET",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/{child_fabric}/networks/{network['name']}",
Expand Down Expand Up @@ -184,7 +184,7 @@ def run(self, tmp=None, task_vars=None):
rendered_to_nice_json = templar.environment.filters['to_nice_json'](rendered_content)

ndfc_net_update = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "PUT",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/{child_fabric}/networks/{network['name']}",
Expand Down
4 changes: 2 additions & 2 deletions plugins/action/dtc/manage_child_fabric_vrfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def run(self, tmp=None, task_vars=None):
# return results

ndfc_vrf = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "GET",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/{child_fabric}/vrfs/{vrf['name']}"
Expand Down Expand Up @@ -195,7 +195,7 @@ def run(self, tmp=None, task_vars=None):
rendered_to_nice_json = templar.environment.filters['to_nice_json'](rendered_content)

ndfc_vrf_update = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "PUT",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/{child_fabric}/vrfs/{vrf['name']}",
Expand Down
6 changes: 3 additions & 3 deletions plugins/action/dtc/manage_child_fabrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run(self, tmp=None, task_vars=None):
for fabric in child_fabrics:
json_data = '{"destFabric":"%s","sourceFabric":"%s"}' % (parent_fabric, fabric)
add_fabric_result = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "POST",
"path": "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/msdAdd",
Expand Down Expand Up @@ -75,7 +75,7 @@ def run(self, tmp=None, task_vars=None):
for fabric in child_fabrics:
json_data = '{"destFabric":"%s","sourceFabric":"%s"}' % (parent_fabric, fabric)
remove_fabric_result = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "POST",
"path": "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/msdExit",
Expand All @@ -95,7 +95,7 @@ def run(self, tmp=None, task_vars=None):
return results


# cisco.dcnm.dcnm_rest:
# cisco.nd.nd_rest:
# method: POST
# path: /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/msdAdd
# json_data: '{"destFabric":"nac-msd","sourceFabric":"nac-ndfc1"}'
Expand Down
2 changes: 1 addition & 1 deletion plugins/action/dtc/prepare_msite_child_fabrics_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def run(self, tmp=None, task_vars=None):
# This is actaully not an accurrate API endpoint as it returns all fabrics in NDFC, not just the fabrics associated with MSD
# Therefore, we need to get the fabric associations response and filter out the fabrics that are not associated with the parent fabric (MSD)
msd_fabric_associations = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "GET",
"path": "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/msd/fabric-associations",
Expand Down
2 changes: 1 addition & 1 deletion plugins/action/dtc/prepare_msite_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run(self, tmp=None, task_vars=None):
# This is actaully not an accurrate API endpoint as it returns all fabrics in NDFC, not just the fabrics associated with MSD
# Therefore, we need to get the fabric associations response and filter out the fabrics that are not associated with the parent fabric (MSD)
msd_fabric_associations = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "GET",
"path": "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/msd/fabric-associations",
Expand Down
4 changes: 2 additions & 2 deletions plugins/plugin_utils/helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def ndfc_get_switch_policy(self, task_vars, tmp, switch_serial_number):
N/A
"""
policy_data = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "GET",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/policies/switches/{switch_serial_number}/SWITCH/SWITCH"
Expand Down Expand Up @@ -183,7 +183,7 @@ def ndfc_get_fabric_attributes(self, task_vars, tmp, fabric):
N/A
"""
fabric_response = self._execute_module(
module_name="cisco.dcnm.dcnm_rest",
module_name="cisco.nd.nd_rest",
module_args={
"method": "GET",
"path": f"/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{fabric}",
Expand Down
2 changes: 1 addition & 1 deletion roles/dtc/connectivity_check/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
tags: "{{ nac_tags.connectivity_check }}" # Tags defined in roles/common_global/vars/main.yml

- name: Get Cisco NDFC Version
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: GET
path: /appcenter/cisco/ndfc/api/about/version
register: ndfc_version
Expand Down
4 changes: 2 additions & 2 deletions roles/dtc/create/tasks/common/devices_discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
switch_serial_numbers: "{{ md_serial_numbers }}"
template_name: host_11_1
register: results
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.dcnm.dcnm_rest
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.nd.nd_rest

- name: Join List of Switch Hostname Policy IDs from NDFC
ansible.builtin.set_fact:
Expand All @@ -91,7 +91,7 @@
delegate_to: localhost

- name: Update Switch Hostname Policy in NDFC
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: PUT
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/policies/{{ policy_ids }}/bulk"
json_data: "{{ results.policy_update.values() | list | to_json }}"
Expand Down
4 changes: 2 additions & 2 deletions roles/dtc/create/tasks/external/devices_discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
switch_serial_numbers: "{{ md_serial_numbers }}"
template_name: host_11_1
register: results
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.dcnm.dcnm_rest
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.nd.nd_rest

- name: Join List of Switch Hostname Policy IDs from NDFC
ansible.builtin.set_fact:
Expand All @@ -53,7 +53,7 @@
delegate_to: localhost

- name: Update Switch Hostname Policy in NDFC
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: PUT
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/policies/{{ policy_ids }}/bulk"
json_data: "{{ results.policy_update.values() | list | to_json }}"
Expand Down
6 changes: 3 additions & 3 deletions roles/dtc/create/tasks/external/fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
- "----------------------------------------------------------------"

- name: Check if fabric External {{ MD_Extended.vxlan.fabric.name }} exists in NDFC
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: GET
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}"
register: get_result
failed_when: false

- name: Manage fabric External {{ MD_Extended.vxlan.fabric.name }} in NDFC (PUT)
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: PUT
path: '/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/External_Fabric'
json_data: '{{ fabric_config | to_json }}'
Expand All @@ -46,7 +46,7 @@
register: put_result

- name: Manage fabric External {{ MD_Extended.vxlan.fabric.name }} in NDFC (POST)
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: '/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/External_Fabric'
json_data: '{{ fabric_config | to_json }}'
Expand Down
2 changes: 1 addition & 1 deletion roles/dtc/create/tasks/msd/vrfs_networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

# Check with Matt and Pete on how we want to handle this for MSD
# - name: Attach VRF Loopbacks per VRF
# cisco.dcnm.dcnm_rest:
# cisco.nd.nd_rest:
# path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/v2/fabrics/{{ MD_Extended.vxlan.fabric.name }}/vrfs/attachments"
# method: "POST"
# json_data: "{{ vars_common_msd.vrf_attach_config | to_json}}"
Expand Down
2 changes: 1 addition & 1 deletion roles/dtc/create/tasks/sub_main_vxlan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
- name: Config-Save block to propagate vPC changes to the fabric
block:
- name: Config-Save for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-save"
when: MD_Extended.vxlan.topology.switches | length > 0
Expand Down
4 changes: 2 additions & 2 deletions roles/dtc/create/tasks/vxlan/vrfs_networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- name: Check If Current Fabric Is An Active Multisite Fabric
block:
- name: Get Multisite Fabric Associations
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: GET
path: /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/msd/fabric-associations
register: ndfc_msd_fabric_associations
Expand Down Expand Up @@ -73,7 +73,7 @@
# Manage Loopback VRF attachments on NDFC
# --------------------------------------------------------------------
- name: Attach Loopbacks to VRFs
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/v2/fabrics/{{ MD_Extended.vxlan.fabric.name }}/vrfs/attachments"
json_data: "{{ vars_common_vxlan.vrf_attach_config | to_json}}"
Expand Down
4 changes: 2 additions & 2 deletions roles/dtc/deploy/tasks/sub_main_external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- name: Config-Save block
block:
- name: Config-Save for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-save"
register: config_save
Expand All @@ -47,7 +47,7 @@
msg: "{{ config_save.msg.DATA }}"

- name: Deploy for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-deploy?forceShowRun=false"
vars:
Expand Down
4 changes: 2 additions & 2 deletions roles/dtc/deploy/tasks/sub_main_isn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- name: Config-Save block
block:
- name: Config-Save for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-save"
register: config_save
Expand All @@ -48,7 +48,7 @@
msg: "{{ config_save.msg.DATA }}"

- name: Deploy for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-deploy?forceShowRun=false"
vars:
Expand Down
4 changes: 2 additions & 2 deletions roles/dtc/deploy/tasks/sub_main_msd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- name: Config-Save block
block:
- name: Config-Save for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-save"
register: config_save
Expand All @@ -48,7 +48,7 @@
msg: "{{ config_save.msg.DATA }}"

- name: Deploy for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-deploy?forceShowRun=false"
vars:
Expand Down
8 changes: 4 additions & 4 deletions roles/dtc/deploy/tasks/sub_main_vxlan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- name: Config-Save block
block:
- name: Config-Save for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-save"
register: config_save
Expand All @@ -47,7 +47,7 @@
msg: "{{ config_save.msg.DATA }}"

- name: Deploy for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-deploy?forceShowRun=false"
vars:
Expand All @@ -67,7 +67,7 @@
- name: Retrying Config-Save Block
block:
- name: Retrying Config-Save for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-save"
register: config_save
Expand All @@ -83,7 +83,7 @@
msg: "{{ config_save.msg.DATA }}"

- name: Retrying Deploy for Fabric {{ MD_Extended.vxlan.fabric.name }}
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: POST
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-deploy?forceShowRun=false"
vars:
Expand Down
2 changes: 1 addition & 1 deletion roles/dtc/remove/tasks/common/edge_connections.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
switch_data: "{{ switch_list.response.DATA }}"
edge_connections: "{{ edge_connections }}"
register: unmanaged_edge_connections_config
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.dcnm.dcnm_rest
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.nd.nd_rest

- name: Remove Unmanaged NDFC Edge Connections
cisco.dcnm.dcnm_policy:
Expand Down
4 changes: 2 additions & 2 deletions roles/dtc/remove/tasks/common/interfaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
- (interface_delete_mode is defined) and (interface_delete_mode is true|bool)

# - name: Config-Save for Fabric {{ MD_Extended.vxlan.fabric.name }} after removing or defaulting interfaces
# cisco.dcnm.dcnm_rest:
# cisco.nd.nd_rest:
# method: POST
# path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-save"
# when:
Expand All @@ -63,7 +63,7 @@
# - (interface_delete_mode is defined) and (interface_delete_mode is true|bool)

# - name: Deploy for Fabric {{ MD_Extended.vxlan.fabric.name }} after removing or defaulting interfaces
# cisco.dcnm.dcnm_rest:
# cisco.nd.nd_rest:
# path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/config-deploy?forceShowRun=false"
# method: POST
# vars:
Expand Down
2 changes: 1 addition & 1 deletion roles/dtc/remove/tasks/common/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
register: links_to_be_removed
when: result_links.response is defined

# do not delegate_to: localhost as this action plugin uses Python to execute cisco.dcnm.dcnm_rest
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.nd.nd_rest
- name: Set not_required_links if result_links.response is not defined
ansible.builtin.set_fact:
links_to_be_removed: []
Expand Down
2 changes: 1 addition & 1 deletion roles/dtc/remove/tasks/common/policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
switch_serial_numbers: "{{ switch_serial_numbers }}"
model_data: "{{ MD_Extended }}"
register: unmanaged_policy_config
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.dcnm.dcnm_rest
# do not delegate_to: localhost as this action plugin uses Python to execute cisco.nd.nd_rest

- name: Remove Unmanaged NDFC Fabric Policy
cisco.dcnm.dcnm_policy:
Expand Down
2 changes: 1 addition & 1 deletion roles/dtc/remove/tasks/sub_main_external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
tags: "{{ nac_tags.remove }}"

- name: Get List of Fabric Switches from NDFC
cisco.dcnm.dcnm_rest:
cisco.nd.nd_rest:
method: GET
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/{{ MD_Extended.vxlan.fabric.name }}/inventory/switchesByFabric"
register: switch_list
Expand Down
Loading