Commit 2f497ba3 authored by Piotr Szlenk's avatar Piotr Szlenk

Merge

parent da7a2b7b
......@@ -45,4 +45,5 @@ bgp:
- group_name: K8S-NODES
group_as: 65101
group_range: 10.255.1.0/24
rr_clients: true
\ No newline at end of file
rr_clients: true
next_hop_self: true
......@@ -44,4 +44,5 @@ bgp:
- group_name: K8S-NODES
group_as: 65102
group_range: 10.255.2.0/24
rr_clients: true
\ No newline at end of file
rr_clients: true
next_hop_self: true
......@@ -28,7 +28,10 @@
{% if group['rr_client'] is defined and group['rr_client'] %}
add bgp neighbor {{group['group_name']}} route-reflector-client
{% endif %}
{% if group['next_hop_self'] is defined and group ['next_hop_self'] %}
add bgp neighbor {{group['group_name']}} next-hop-self
{% endif %}
{% endfor %}
commit: false
notify: "Configuration was changed"
when: bgp['ipv4_unicast_peer_groups'] is defined
\ No newline at end of file
when: bgp['ipv4_unicast_peer_groups'] is defined
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment