summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/frr/bgp.frr.tmpl2
-rwxr-xr-xsrc/conf_mode/protocols_bgp.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index af04ee1ce..74a9b8c30 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -133,7 +133,6 @@
{% endmacro %}
!
router bgp {{ asn }}
- no bgp default ipv4-unicast
{% if address_family is defined and address_family is not none %}
{% for af in address_family %}
!
@@ -241,7 +240,6 @@ router bgp {{ asn }}
bgp default local-preference {{ parameters.default.local_pref }}
{% endif %}
{% if parameters.default.no_ipv4_unicast is defined %}
-{# We use this is parameter as default in template (5-th string) #}
no bgp default ipv4-unicast
{% endif %}
{% endif %}
diff --git a/src/conf_mode/protocols_bgp.py b/src/conf_mode/protocols_bgp.py
index e77b1fc28..de0148b2f 100755
--- a/src/conf_mode/protocols_bgp.py
+++ b/src/conf_mode/protocols_bgp.py
@@ -63,7 +63,6 @@ def verify(bgp):
# bail out early if there is no neighbor or peer-group statement
# this also saves one indention level
if neighbor not in asn_config:
- print(f'no {neighbor} found in config')
continue
for peer, peer_config in asn_config[neighbor].items():