summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-20 09:24:51 +0100
committerGitHub <noreply@github.com>2022-03-20 09:24:51 +0100
commitf2ebdfa4b856c2801dbdd177095220a27e408e1f (patch)
tree98d2124e9981d1ef73548414c07b363cf2be7e1d /data
parent71805191d1e663af47ac1c2c11f7861d84677525 (diff)
parent496d2a5fd8c3bcbd0e7102c88eaf66d432cbb678 (diff)
downloadvyos-1x-f2ebdfa4b856c2801dbdd177095220a27e408e1f.tar.gz
vyos-1x-f2ebdfa4b856c2801dbdd177095220a27e408e1f.zip
Merge pull request #1250 from fett0/T4304
OSPF : T4304: Set import/export filter inter-area prefix
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/ospfd.frr.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/frr/ospfd.frr.tmpl b/data/templates/frr/ospfd.frr.tmpl
index 12213f162..59d936b55 100644
--- a/data/templates/frr/ospfd.frr.tmpl
+++ b/data/templates/frr/ospfd.frr.tmpl
@@ -97,6 +97,12 @@ router ospf {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% endif %}
{% endfor %}
{% endif %}
+{% if area_config.export_list is defined and area_config.export_list is not none %}
+ area {{ area_id }} export-list {{ area_config.export_list }}
+{% endif %}
+{% if area_config.import_list is defined and area_config.import_list is not none %}
+ area {{ area_id }} import-list {{ area_config.import_list }}
+{% endif %}
{% if area_config.shortcut is defined and area_config.shortcut is not none %}
area {{ area_id }} shortcut {{ area_config.shortcut }}
{% endif %}