Open edudppaz opened 1 month ago
Hi @edudppaz,
Thank you for raising this issue, I have added it to the backlog. If you would like to work on it yourself and push a PR please let me know.
Hi @akinross , i have created this pr #695 , tested on my local environment and seems to be working as expected.
Community Note
Description
Setting state "absent" on a aci_domain_to_vlan_pool task removes the whole domain and not only the binding to the vlan pool
Affected Module Name(s):
APIC version and APIC Platform
Collection versions
Output/ Error message
*
Expected Behavior
Actual Behavior
Playbook tasks to Reproduce
First:
Then:
Important Factoids
From the code i can see that on the module, the url endpoint is being build using the whole domain as an object:
So it makes sense that setting "absent" and running aci.delete_config() deletes the whole domain The state absent should be a new payload that removes the binding, something like this (just writing it on the fly, must be checked and tested:
This is based on a test done directly on the GUI with the API inspector:
References
0000