You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mstanis opened this issue
Jun 6, 2024
· 3 comments
Labels
1.4Compatibility with 1.4 versions1.5Compatibility with 1.5 versionsbgp_address_familybgp address family resource modulebgp_globalbgp global resource module
I tried to use this module to automate BGP configuration but it doesn't work with Vyos 1.4.x due to invalid syntax of configuration commands this module tries to send.
yes indeed, that would be really nice. I will try to play myself with "vyos/vyos/plugins/module_utils/network/vyos/rm_templates/bgp_address_family.py" over the weekend and see if I can make this working with 1.4
The version logic is a little tricky, but I've been working on an update that handles 1.2, 1.3, 1.4 and mostly 1.5. There is some opportunity for auto-detection when talking to real device, but a bit tricker when using offline modes.
1.4Compatibility with 1.4 versions1.5Compatibility with 1.5 versionsbgp_address_familybgp address family resource modulebgp_globalbgp global resource module
SUMMARY
I tried to use this module to automate BGP configuration but it doesn't work with Vyos 1.4.x due to invalid syntax of configuration commands this module tries to send.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
ubuntu
ansible==10.0.1
ansible-core==2.17.0
ansible-pylibssh==1.1.0
bcrypt==4.1.3
cffi==1.16.0
cryptography==42.0.8
Jinja2==3.1.4
jmespath==1.0.1
MarkupSafe==2.1.5
packaging==24.0
paramiko==3.4.0
pycparser==2.22
PyNaCl==1.5.0
PyYAML==6.0.1
resolvelib==1.0.1
STEPS TO REPRODUCE
Run a playbook forom module examples
EXPECTED RESULTS
BGP is configured on Vyos router
ACTUAL RESULTS
Getting syntax error message. I guess there was a change in Vyos BGP configuration command structure.
working commands should be:
The text was updated successfully, but these errors were encountered: