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

Bug(eos_cli_config_gen): route-target export should have vrf-route instead of vpn-route for router bgp #4731

Open
1 task done
MaheshGSLAB opened this issue Nov 15, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@MaheshGSLAB
Copy link
Contributor

MaheshGSLAB commented Nov 15, 2024

Issue Summary

Router BGP VRF configuration for route-target should have vrf-route in one direction(export) and vpn-route in the other direction(import) but right now bot have vpn-route. Hence it render the below configuration.
route-target export vpn-ipv6 rcf RT_IMPORT_AF_RCF() vpn-route filter-rcf RT_IMPORT_AF_RCF_FILTER().

I should render below configuration.
route-target export vpn-ipv6 rcf RT_IMPORT_AF_RCF() vrf-route filter-rcf RT_IMPORT_AF_RCF_FILTER()

Which component(s) of AVD impacted

eos_cli_config_gen

How do you run AVD ?

Ansible CLI (with virtual-env or native python)

Steps to reproduce

Use below input:

router_bgp:
  vrfs:
    - name: Test1
      route_targets:
        export:
          - address_family: evpn
            route_targets:
              - "1:30001"
            rcf: RT_EXPORT_AF_RCF()

Relevant log output

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct
@MaheshGSLAB MaheshGSLAB added the type: bug Something isn't working label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant