-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vyos_bgp_global setting neighbor passive causes module to try configuring neighbhr next-hop-self #269
Comments
Updated ansible galaxy collection vyos.vyos to latest 3.0.1 and problem still exists. |
Found the problem in the following: "setval": "protocols bgp {{ as_number }} neighbor {{ neighbor.address }} nexthop-self", It should be: "setval": "protocols bgp {{ as_number }} neighbor {{ neighbor.address }} passive", |
Problem still exists in /vyos.vyos/plugins/module_utils/network/vyos/rm_templates/bgp_global.py setval for neighbor.passive is trying to configure nexthop-self
|
SUMMARY
When using module vyos_bgp_global to configure neighbor as passive it causes ansible to try configuring 'neighbor
nexthop-self'. Commenting out the passive variable allows play to execute properly (but not set passive neighbor config).ISSUE TYPE
COMPONENT NAME
vyos_bgp_global
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu Server 20.04 on Azure
STEPS TO REPRODUCE
Run ansible play trying to set neighbor passive and ansible will error out
EXPECTED RESULTS
bgp_global moduel should configure specified neighbor as passive:
set protocols bgp 64555 neighbor 10.240.10.40 passive
ACTUAL RESULTS
Ansible tries to configure neighbor
nexthop-self.The text was updated successfully, but these errors were encountered: