diff options
author | Mihail Vasilev <mick@corp.linkintel.ru> | 2016-04-25 14:23:21 +0000 |
---|---|---|
committer | Mihail Vasilev <mick@corp.linkintel.ru> | 2016-04-25 14:23:21 +0000 |
commit | 08f4ad3f984a8fcbb7810e4e15449f4daa096571 (patch) | |
tree | 30e296a3a447e81578bd7e0e38667fcceeab3455 /templates/protocols | |
parent | 8797548030579d7b1ec5ec25fa649d5d3da8de4c (diff) | |
download | vyatta-cfg-quagga-08f4ad3f984a8fcbb7810e4e15449f4daa096571.tar.gz vyatta-cfg-quagga-08f4ad3f984a8fcbb7810e4e15449f4daa096571.zip |
Fix.
Diffstat (limited to 'templates/protocols')
-rw-r--r-- | templates/protocols/ospf/route-map/node.def | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/protocols/ospf/route-map/node.def b/templates/protocols/ospf/route-map/node.def index 114cb80a..dfe28c05 100644 --- a/templates/protocols/ospf/route-map/node.def +++ b/templates/protocols/ospf/route-map/node.def @@ -1,7 +1,8 @@ type: txt help: Filter routes installed in local route map +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" -create:expression: "vtysh -c \"configure terminal\" \ - -c \"ip protocol ospf route-map $VAR(@)\" \ -delete:expression: "vtysh -c \"configure terminal\" \ - -c \"no ip protocol ospf\" \ +create:expression: "vtysh -c \"configure terminal\" -c \"ip protocol ospf route-map $VAR(@)\" " +delete:expression: "vtysh -c \"configure terminal\" -c \"no ip protocol ospf\" " |