diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-10-26 19:39:34 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-10-26 19:39:34 +0000 |
commit | 114e65f271b62fd2bb3fac903921e9fe53134da8 (patch) | |
tree | fbac290d72e9454a52516e4d943899ad2b268340 /templates | |
parent | b348b9897662f1f26bf3ab1730bdec8e0c1c428b (diff) | |
download | vyatta-cfg-quagga-114e65f271b62fd2bb3fac903921e9fe53134da8.tar.gz vyatta-cfg-quagga-114e65f271b62fd2bb3fac903921e9fe53134da8.zip |
bgp: T3945: Add route-map for bgp aggregate-address
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/bgp/node.tag/address-family/ipv4-unicast/aggregate-address/node.tag/route-map/node.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/protocols/bgp/node.tag/address-family/ipv4-unicast/aggregate-address/node.tag/route-map/node.def b/templates/protocols/bgp/node.tag/address-family/ipv4-unicast/aggregate-address/node.tag/route-map/node.def new file mode 100644 index 00000000..3d61955a --- /dev/null +++ b/templates/protocols/bgp/node.tag/address-family/ipv4-unicast/aggregate-address/node.tag/route-map/node.def @@ -0,0 +1,6 @@ +type: txt +help: Route map to filter redistributed routes +allowed: local -a params + params=$( /opt/vyatta/sbin/vyatta-policy.pl --list-policy route-map ) + echo -n ${params[@]##*/} +commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy route-map $VAR(@)\" ";"route-map $VAR(@) doesn't exist" |