From 070db6c5fbc3181cedf12171c89979f38aea85d7 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Wed, 27 Oct 2021 10:00:56 +0000 Subject: bgp: T3945: Add route-map for afi6 aggregate-address --- .../ipv6-unicast/aggregate-address/node.tag/route-map/node.def | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/protocols/bgp/node.tag/address-family/ipv6-unicast/aggregate-address/node.tag/route-map/node.def (limited to 'templates') diff --git a/templates/protocols/bgp/node.tag/address-family/ipv6-unicast/aggregate-address/node.tag/route-map/node.def b/templates/protocols/bgp/node.tag/address-family/ipv6-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/ipv6-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" -- cgit v1.2.3