Closed sauguieb closed 3 months ago
Endpoints do not exist anymore in NDO4+ so the likely the validation in lines https://github.com/CiscoDevNet/ansible-mso/blob/master/plugins/modules/mso_schema_template_bd_dhcp_policy.py#L178-L192 should be removed and or modified.
Community Note
Description
Affected Module Name(s):
MSO version and MSO Platform
ND: 3.0.1i NDO: 4.2.3k
APIC version and APIC Platform for Site Level Resources
APIC: 5.3.2c
Collection versions
Output/ Error message
task path: /home/cisco/ansible-ndo/ndo-playbooks/0001_add_bd_dhcp_config.yml:9 .... FAILED! => { "changed": false, "current": {}, "invocation": { "module_args": { "bd": "BD-101", "dhcp_option_policy": null, "dhcp_policy": "DHCP_RELAY_HSM_POLICY1", "host": "10.48.187.200", "login_domain": null, "name": "DHCP_RELAY_HSM_POLICY1", "output_level": "normal", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "port": null, "schema": "HSM_TN_NDO_423K_VRF", "state": "present", "template": "DC5", "timeout": null, "use_proxy": null, "use_ssl": null, "username": "admin", "validate_certs": false, "version": 1 } }, "msg": "DHCP policy 'DHCP_RELAY_HSM_POLICY1' does not exist" }
Expected Behavior
Actual Behavior
Playbook tasks to Reproduce
(ansible-ndo) :~/ansible-ndo/ndo-playbooks$ cat 0001_add_bd_dhcp_config.yml
name: ===== NDO 4.2(3k) / ND 3.0(1i) Testing ===== hosts: ndo connection: local gather_facts: false
tasks:
Important Factoids
References
0000