Please vote on this issue by adding a š reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
The cisco.aci.aci_epg_to_contract module requires the user to specify the Application Profile (AP) under which, the EPG(fvAEPg) is configured. However, the node Mgmt EPGs(mgmtInb, mgmtOob) are not classified under any AP, and neither is there any exclusive module for associating contracts to node Mgmt EPGs. The MOs considered in binding the contract are same (fvRsCons, fvRsProv) irrespective of the EPG, so it misleads to the module aci_epg_to_contract which is said to be configuring the MOs fvRsCons and fvRsProv
TASK [Add a new contract to EPG binding] *****************************************************************************************************************
fatal: [bgl-aci13-apic1.cisco.com]: FAILED! => {"changed": false, "msg": "state is present but all of the following are missing: ap"}
Expected Behavior
The AP parameter should not be mandatory
Actual Behavior
The AP parameter is mandatory and node mgmt EPGs do not have an AP
Playbook tasks to Reproduce
-) cisco.aci.aci_node_mgmt_epg to create the node mgmt EPG
-) cisco.aci.aci_contract to create a contract
-) cisco.aci.aci_epg_to_contract to bind the contract to the EPG (fvRsCons, fvRsProv) >>>>>> FAILING
Important Factoids
-) The task runs on multiple different ACI versions.
-) validated_certs is set to False
-) playbook runs on remote APIC, instead of delegating to localhost(running MAC OS)
-) Multiple hosts sitting in 2 different /24 subnets
-) akinross has informed that this behaviour has not been brought up before
Community Note
Description
Affected Module Name(s):
cisco.aci.aci_epg_to_contract
APIC version and APIC Platform
Collection versions
Output/ Error message
Expected Behavior
Actual Behavior
Playbook tasks to Reproduce
Important Factoids
-) The task runs on multiple different ACI versions. -) validated_certs is set to False -) playbook runs on remote APIC, instead of delegating to localhost(running MAC OS) -) Multiple hosts sitting in 2 different /24 subnets -) akinross has informed that this behaviour has not been brought up before
References
0000