From e9733cc1f790346c055a97dfba083ec968e25b2c Mon Sep 17 00:00:00 2001 From: sever-sever Date: Sat, 27 Feb 2021 13:19:31 +0000 Subject: bgp: T3365: After commit bf9c914 config interface become out of the check --- data/templates/frr/bgp.frr.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl index 4a4d2449c..9340795bc 100644 --- a/data/templates/frr/bgp.frr.tmpl +++ b/data/templates/frr/bgp.frr.tmpl @@ -9,9 +9,9 @@ {% if config.remote_as is defined and config.remote_as is not none %} neighbor {{ neighbor }} remote-as {{ config.remote_as }} {% endif %} -{% if config.interface.remote_as is defined and config.interface.remote_as is not none %} +{% if config.interface is defined and config.interface.remote_as is defined and config.interface.remote_as is not none %} neighbor {{ neighbor }} interface remote-as {{ config.interface.remote_as }} -{% endif %} +{% endif %} {% if config.advertisement_interval is defined and config.advertisement_interval is not none %} neighbor {{ neighbor }} advertisement-interval {{ config.advertisement_interval }} {% endif %} -- cgit v1.2.3