diff options
| author | l0crian1 <143656816+l0crian1@users.noreply.github.com> | 2025-09-14 04:52:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-14 10:52:09 +0200 |
| commit | eb3c88023c7768ac9cbb5a84f78a71edcb798137 (patch) | |
| tree | 98a329e32e29301c3137e642d927af93ce290109 /data | |
| parent | ad686a956cc8f6f14452798f3d77da2320956b54 (diff) | |
| download | vyos-1x-eb3c88023c7768ac9cbb5a84f78a71edcb798137.tar.gz vyos-1x-eb3c88023c7768ac9cbb5a84f78a71edcb798137.zip | |
route-map: T1124: Allow matching RPKI OVS extended community (#4699)
- Added 'rpki-extcommunity' match condition
- Added test to test_policy.py smoketest for rpki-extcommunity match
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/frr/policy.frr.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/policy.frr.j2 b/data/templates/frr/policy.frr.j2 index c28633f6f..5d6ac30e0 100644 --- a/data/templates/frr/policy.frr.j2 +++ b/data/templates/frr/policy.frr.j2 @@ -252,6 +252,9 @@ route-map {{ route_map }} {{ rule_config.action }} {{ rule }} {% if rule_config.match.rpki is vyos_defined %} match rpki {{ rule_config.match.rpki }} {% endif %} +{% if rule_config.match.rpki_extcommunity is vyos_defined %} + match rpki-extcommunity {{ rule_config.match.rpki_extcommunity }} +{% endif %} {% if rule_config.match.source_vrf is vyos_defined %} match source-vrf {{ rule_config.match.source_vrf }} {% endif %} |
