The dnac version is 2.3.3.5 and dnac collection is 6.6.0.
I try to delete IP pools from VN using cisco.dnac.sda_virtual_network_ip_pool, it show the below error messages.
TASK [Assign IP Pool to VN and fabric sites.] **************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: get_ip_pool_from_sda_virtual_network() missing 1 required positional argument: 'site_name_hierarchy'
fatal: [10.100.0.1]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
===================================================================================
My playbook is as below:
Release IP Pool to VN and fabric sites.
The dnac version is 2.3.3.5 and dnac collection is 6.6.0.
I try to delete IP pools from VN using cisco.dnac.sda_virtual_network_ip_pool, it show the below error messages.
TASK [Assign IP Pool to VN and fabric sites.] **************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: get_ip_pool_from_sda_virtual_network() missing 1 required positional argument: 'site_name_hierarchy'
fatal: [10.100.0.1]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
===================================================================================
My playbook is as below:
Release IP Pool to VN and fabric sites.
hosts: dnac_servers
vars_files:
connection: local
gather_facts: no
tasks:
cisco.dnac.sda_virtual_network_ip_pool:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
dnac_verify: "{{dnac_verify}}"
dnac_port: "{{dnac_port}}"
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
state: absent
virtualNetworkName: "OT"
ipPoolName: "HQ_VN_OT"
siteNameHierarchy: "Global/Shanghai/SHA-17/SH_Floor_1"