Skip to content
Snippets Groups Projects
Unverified Commit b858e5f8 authored by Nico's avatar Nico
Browse files

backbone_babel: use bird 2.17 for babel ip4-over-ip6 nexthops

parent 2c626d78
No related branches found
No related tags found
No related merge requests found
---
- name: Setup bird repos on bookworm
when: ansible_facts['distribution_major_version'] == "12"
block:
- name: Deploy bird apt repo key
ansible.builtin.copy:
src: bird-cznic-labs-pkg-apt-key.gpg
dest: /usr/share/keyrings/cznic-labs-pkg.gpg
- name: Deploy bird cz.nic apt repo config
ansible.builtin.copy:
src: bird-cznic-labs-pkg-apt.list
dest: /etc/apt/sources.list.d/cznic-labs-bird2.list
- name: Install bird2
ansible.builtin.apt:
name: bird2
state: present
update_cache: yes
- name: Mask babeld to avoid conflicts with bird
ansible.builtin.systemd_service:
......
# ANSIBLE managed
protocol static bb_babel_static_v6 {
ipv6;
{% for ip in bb_babel_loopback_ipv6 %}
route {{ ip }}/128 unreachable;
{% endfor %}
};
protocol static bb_babel_static_v4 {
ipv4;
{% for ip in bb_babel_loopback_ipv4 %}
route {{ ip }}/32 unreachable;
{% endfor %}
};
filter import_backbone_babel {
{% for network in bb_babel_networks|ansible.utils.ipv6 %}
if net.type = NET_IP6 && net ~ [{{ network }}+] then {
......@@ -29,7 +43,7 @@ filter export_backbone_babel {
reject;
};
protocol babel backbone_babel {
protocol babel bb_babel {
{% for interface in interfaces %}
interface "{{ interface }}" {
type wired;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment