diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-04-28 19:49:18 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-04-28 19:49:18 +0700 |
commit | c309df3e034e2fe93659559d8947077285ccc985 (patch) | |
tree | 30e296a3a447e81578bd7e0e38667fcceeab3455 | |
parent | 67b61011221cf658948c5f0f3157bf73d4d9c6da (diff) | |
parent | 08f4ad3f984a8fcbb7810e4e15449f4daa096571 (diff) | |
download | vyatta-cfg-quagga-c309df3e034e2fe93659559d8947077285ccc985.tar.gz vyatta-cfg-quagga-c309df3e034e2fe93659559d8947077285ccc985.zip |
Merge pull request #8 from mickvav/current
Phabricator's Q26 (T52)
-rw-r--r-- | debian/changelog | 9 | ||||
-rw-r--r-- | templates/protocols/ospf/route-map/node.def | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 53887c22..4615738c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +vyatta-cfg-quagga (0.19.1+vyos2+current2) unstable; urgency=low + + [ Mihail Vasilev ] + * Added ospf option to filter incoming prefixes. + + [ Mihail Vasilev ] + + -- Mihail Vasilev <mick@corp.linkintel.ru> Wed, 14 Apr 2016 08:54:00 -0300 + vyatta-cfg-quagga (0.19.1+vyos2+current1) unstable; urgency=medium [ Thomas Jepp ] diff --git a/templates/protocols/ospf/route-map/node.def b/templates/protocols/ospf/route-map/node.def new file mode 100644 index 00000000..dfe28c05 --- /dev/null +++ b/templates/protocols/ospf/route-map/node.def @@ -0,0 +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\" " |