Skip to content

Commit

Permalink
added new key for vrf route filter rcf
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh Kumar authored and Vibhu-gslab committed Dec 3, 2024
1 parent 15fc748 commit 647fc26
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ router_bgp:
- "1:30011"
rcf: RT_IMPORT_AF_RCF()
route_map: RT_IMPORT_AF_RM
vpn_route_filter_rcf: RT_IMPORT_AF_RCF_FILTER()
vrf_route_filter_rcf: RT_IMPORT_AF_RCF_FILTER()
redistribute:
ospf:
match_external:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2677,8 +2677,8 @@ router bgp {{ router_bgp.as }}
{% endfor %}
{% if address_family.address_family in ['evpn', 'vpn-ipv4', 'vpn-ipv6'] %}
{% if address_family.rcf is arista.avd.defined %}
{% if address_family.vpn_route_filter_rcf is arista.avd.defined and address_family.address_family in ['vpn-ipv4', 'vpn-ipv6'] %}
route-target export {{ address_family.address_family }} rcf {{ address_family.rcf }} vrf-route filter-rcf {{ address_family.vpn_route_filter_rcf }}
{% if address_family.vrf_route_filter_rcf is arista.avd.defined and address_family.address_family in ['vpn-ipv4', 'vpn-ipv6'] %}
route-target export {{ address_family.address_family }} rcf {{ address_family.rcf }} vrf-route filter-rcf {{ address_family.vrf_route_filter_rcf }}
{% else %}
route-target export {{ address_family.address_family }} rcf {{ address_family.rcf }}
{% endif %}
Expand Down
12 changes: 6 additions & 6 deletions python-avd/pyavd/_eos_cli_config_gen/schema/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3762,10 +3762,10 @@ keys:
RCF function name with parenthesis.
Example: MyFunction(myarg).
Only applicable if `address_family` is one of `evpn`, `vpn-ipv4` or `vpn-ipv6`.
vpn_route_filter_rcf:
vrf_route_filter_rcf:
type: str
description: |-
RCF function name with parenthesis for filtering VPN routes. Also requires `rcf` to be set.
RCF function name with parenthesis for filtering VRF routes. Also requires `rcf` to be set.
Example: MyFunction(myarg).
Only applicable if `address_family` is one of `vpn-ipv4` or `vpn-ipv6`.
router_id:
Expand Down

0 comments on commit 647fc26

Please sign in to comment.