From 9298fe4cc895e17c49a78c1763e1778abd983c97 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <ak@geant.org> Date: Tue, 29 Apr 2025 19:56:13 +0100 Subject: [PATCH] `bgp_config`: add option for ttl-security --- .../roles/bgp_config/templates/nokia/deploy/bgp_neighbor.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geant/gap_ansible/roles/bgp_config/templates/nokia/deploy/bgp_neighbor.j2 b/geant/gap_ansible/roles/bgp_config/templates/nokia/deploy/bgp_neighbor.j2 index 4f544766..6d9f712c 100644 --- a/geant/gap_ansible/roles/bgp_config/templates/nokia/deploy/bgp_neighbor.j2 +++ b/geant/gap_ansible/roles/bgp_config/templates/nokia/deploy/bgp_neighbor.j2 @@ -5,6 +5,9 @@ {% if neighbor.bfd_enabled %} <bfd-liveness>true</bfd-liveness> {% endif %} + {% if neighbor.ttl_security is not none %} + <ttl-security>{{ neighbor.ttl_security }}</ttl-security> + {% endif %} {% if neighbor.ip_type == 'ipv4' %} <local-address>{{ ipv4_local_addr }}</local-address> <description>-- Peering with {{ partner_name | upper }} --</description> -- GitLab