have the ios_interface module include CDP when checking neighbors #37655
Labels
affects_2.4
This issue/PR affects Ansible v2.4
cisco
Cisco technologies
feature
This issue/PR relates to a feature request.
ios
Cisco IOS community
module
This issue/PR relates to a module.
networking
Network category
support:network
This issue/PR relates to code supported by the Ansible Network Team.
ISSUE TYPE
COMPONENT NAME
ios_interface
ANSIBLE VERSION
SUMMARY
Currently
ios_interface
only check for neighbors using the LLDP protocol. Many environments only have the CDP protocol enabled.The suggestion is to also include CDP neighbors when cheking neighbors intent. It could be done with a different option if you think is more appropriate. IMO using both protocols would be simpler.
STEPS TO REPRODUCE
Run a simple playbook using neighbors intent parameters
EXPECTED RESULTS
Should check CDP and LLDP neighbors
ACTUAL RESULTS
Only checks LLDP neighbors
The text was updated successfully, but these errors were encountered: