Network attachment changes on VPC paired devices not working when changes only made to a single device
Community Note
- 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
Ansible Version and collection version
DCNM version
- V 12.2.2
Affected module(s)
- dcnm_network (potentiall VRF too, havent had a chance to test)
Ansible Playbook
# Copy-paste your anisble playbook here
Debug Output
Expected Behavior
When adding or removing a port attachment from an existing network on a single switch in a VPC pair, changes made should be reflected in NDFC.
Actual Behavior
When trying to add/remove network attachments to a single switch in a VPC pair, NDFC replies with a 200 response code but the below message
"MyNetwork_30000-[FDO26510YJG/leaf1]": "Attach Response : Failed : VPC details not found for Peer Serial no: FDO26510YJF"
Steps to Reproduce
References
The fix is that you need to send back the same attachment payload for the other half of the VPC pair, even if no change has occurred, NDFC expects data to be given about both VPC paired devices when adding/changing/removing network attachments (as i said, this could be the case for VRF attachments too but haven't tested as yet).