From a1ab13b533f300353579cf4d23f8e6a77ca02100 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 19 May 2021 13:44:41 +0300 Subject: ospfv3: T3554: add area-type "stub" --- data/templates/frr/ospfv3.frr.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') diff --git a/data/templates/frr/ospfv3.frr.tmpl b/data/templates/frr/ospfv3.frr.tmpl index d08972a80..0026c0d2c 100644 --- a/data/templates/frr/ospfv3.frr.tmpl +++ b/data/templates/frr/ospfv3.frr.tmpl @@ -50,6 +50,11 @@ router ospf6 interface {{ interface }} area {{ area_id }} {% endfor %} {% endif %} +{% if area_config.area_type is defined and area_config.area_type is not none %} +{% for type, type_config in area_config.area_type.items() %} + area {{ area_id }} {{ type }} {{ 'no-summary' if type_config.no_summary is defined }} +{% endfor %} +{% endif %} {% if area_config.range is defined and area_config.range is not none %} {% for prefix, prefix_config in area_config.range.items() %} area {{ area_id }} range {{ prefix }} {{ 'advertise' if prefix_config.advertise is defined }} {{ 'not-advertise' if prefix_config.not_advertise is defined }} -- cgit v1.2.3