summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2022-03-17 17:35:02 +0000
committerfett0 <fernando.gmaidana@gmail.com>2022-03-17 17:35:02 +0000
commitc29c6d3d654c7280fdd4ea9fa66b5e84ef267285 (patch)
tree1f1c4d1f8b1a60c75212373f7c751ae1719d5500 /data
parent71805191d1e663af47ac1c2c11f7861d84677525 (diff)
downloadvyos-1x-c29c6d3d654c7280fdd4ea9fa66b5e84ef267285.tar.gz
vyos-1x-c29c6d3d654c7280fdd4ea9fa66b5e84ef267285.zip
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 %}