Skip to content
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

eos_bgp_global listen range generates the wrong command #477

Open
mohamed-ebied875 opened this issue Nov 2, 2023 · 0 comments
Open

eos_bgp_global listen range generates the wrong command #477

mohamed-ebied875 opened this issue Nov 2, 2023 · 0 comments
Assignees

Comments

@mohamed-ebied875
Copy link

SUMMARY

when using the below syntax under bgp_params:
bgp_params:
listen:
range:
address: 10.10.10.0/24
peer_group:
name: OVERLAY-LEAF
remote_as: 65001
the command generated is dynamic peer max range 10.10.10.0/24 peer group OVERLAY-LEAF remote-as 65001, which is the wrong command and it should be bgp listen range 10.10.10.0/24 peer-group OVERLAY-LEAF remote-as 65001

ISSUE TYPE
  • Bug Report
COMPONENT NAME

arista.eos.eos_bgp_global

ANSIBLE VERSION
ansible --version
ansible [core 2.15.5]
  config file = /home/mohamede/MY_LAB_ANSIBLE_PROJECTS/EVPN_VXLAN_AUTOMATION/arista-general-config/ansible.cfg
  configured module search path = ['/home/mohamede/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/mohamede/MY_LAB_ANSIBLE_PROJECTS/EVPN_VXLAN_AUTOMATION/arista-general-config/venv/lib/python3.9/site-packages/ansible
  ansible collection location = /home/mohamede/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/mohamede/MY_LAB_ANSIBLE_PROJECTS/EVPN_VXLAN_AUTOMATION/arista-general-config/venv/bin/ansible
  python version = 3.9.16 (main, Dec  7 2022, 01:12:08) [GCC 11.3.0] (/home/mohamede/MY_LAB_ANSIBLE_PROJECTS/EVPN_VXLAN_AUTOMATION/arista-general-config/venv/bin/python)
  jinja version = 3.1.2
  libyaml = True
COLLECTION VERSION
Collection Version
---------- -------
arista.eos 6.1.2  
CONFIGURATION

OS / ENVIRONMENT
STEPS TO REPRODUCE
bgp_params:
            listen:
              range:
                address: 10.10.10.0/24
                peer_group: 
                  name: OVERLAY-LEAF
                  remote_as: 65001
EXPECTED RESULTS

bgp listen range 10.10.10.0/24 peer-group OVERLAY-LEAF remote-as 65001

ACTUAL RESULTS

dynamic peer max range 10.10.10.0/24 peer group OVERLAY-LEAF remote-as 65001


@rohitthakur2590 rohitthakur2590 self-assigned this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants