summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_route_maps.py
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2025-05-16 07:55:33 +1000
committerGitHub <noreply@github.com>2025-05-16 07:55:33 +1000
commitcd2f41d34ff22ea7719348ec18a30f1c499b72c8 (patch)
tree0d1adfa900eea95c71f0058c8d929a528ed1850a /plugins/modules/vyos_route_maps.py
parent098f31c6fe7a6310594656efc0af5a2739ede82b (diff)
downloadvyos.vyos-cd2f41d34ff22ea7719348ec18a30f1c499b72c8.tar.gz
vyos.vyos-cd2f41d34ff22ea7719348ec18a30f1c499b72c8.zip
T6883 route-map extras support (#402)
* t6883 as_prepend_path fix * chaneglog * draft for rm community handling * rm updates * unit and integration tests for route maps * rm unit tests fixed * 1.4+ rm integration tests draft * rm set_community parser * large-community 1.4+ * unit tests fix for rm * extcommunity config * pre-commit * cleanup * RM bandwidth clauses * fixing parsers index for 1.3 RM * updated dic * fix unit tests * unit tests for RM * RM unit tests * dict literal for reserved keywords in unit tests * set_src ipv6 replaced unit test * unit test case for RM call * RM action type unit tests * rm match protocol code and unit test * doc update * set_table RM * set_table RM unit test * unit tests refactor * copilot recommendations
Diffstat (limited to 'plugins/modules/vyos_route_maps.py')
-rw-r--r--plugins/modules/vyos_route_maps.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/modules/vyos_route_maps.py b/plugins/modules/vyos_route_maps.py
index 67d327a6..455bd3e6 100644
--- a/plugins/modules/vyos_route_maps.py
+++ b/plugins/modules/vyos_route_maps.py
@@ -103,6 +103,12 @@ options:
extcommunity_soo:
type: str
description: Set Site of Origin value. ASN:nn_or_IP_address:nn VPN extended community
+ extcommunity_bandwidth:
+ type: str
+ description: Set Bandwidth of Origin value. 1-25600|cumulative|num-multipaths VPN extended community
+ extcommunity_bandwidth_non_transitive:
+ type: bool
+ description: Set the bandwidth extended community encoded as non-transitive True/False VPN extended community
ip_next_hop:
type: str
description: IP address.
@@ -146,6 +152,9 @@ options:
weight:
type: str
description: Border Gateway Protocol (BGP) weight attribute. Example <0-4294967295>
+ table:
+ type: str
+ description: Set prefixes to table. Example <1-200>
match:
description: Route parameters to match.
type: dict
@@ -226,6 +235,10 @@ options:
type: str
description: RPKI validation value.
choices: [ "notfound", "invalid", "valid" ]
+ protocol:
+ type: str
+ description: Source protocol to match.
+ choices: [ "babel","bgp","connected","isis","kernel","ospf","ospfv3","rip","ripng","static","table","vnc" ]
on_match:
type: dict
description: Exit policy on matches.