bird: add rezel

This commit is contained in:
jeltz 2023-06-22 17:30:37 +02:00
parent aa1e422c58
commit 4a9c0e6d8e
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -159,6 +159,7 @@
- 45.66.108.0/22
- 2a09:6840::/32
- 2a09:6841::/32
- 2a09:6842::/32
crans:
- 185.230.76.0/22
- 2a0c:700::/32
@ -210,6 +211,13 @@
edge-2.back.infra.auro.re:
- 2a09:6840:129::10:102
- 10.129.10.102
rezel:
edge-1.back.infra.auro.re:
- 2a09:6842:19:9116::1
- 45.66.111.1
edge-2.back.infra.auro.re:
- 2a09:6842:19:9116::3
- 45.66.111.3
bird__bgp_sessions:
- name: edge
local:
@ -238,88 +246,15 @@
- 10.129.0.240
as: "{{ bird__asn.aurore }}"
import:
#- prefix: "{{ bird__orig_prefixes.aurore }}"
# sub: true
# accept: true
- accept: false
export:
- bgp_proto:
- crans
- zayo
- rezel1
- rezel2
accept: true
- accept: false
# - name: infra1
# local:
# address: "{{ bird__bgp_addresses[inventory_hostname] }}"
# as: "{{ bird__asn.aurore }}"
# remote:
# address:
# - 2a09:6840:203:1:3::1
# - 10.203.1.3
# as: "{{ bird__asn.aurore }}"
# import:
# - accept: false
# export:
# - bgp_proto:
# - crans
# - viarezo
# - zayo
# accept: true
# - accept: false
# - name: infra2
# local:
# address: "{{ bird__bgp_addresses[inventory_hostname] }}"
# as: "{{ bird__asn.aurore }}"
# remote:
# address:
# - 2a09:6840:203:1:4::1
# - 10.203.1.4
# as: "{{ bird__asn.aurore }}"
# import:
# - accept: false
# export:
# - bgp_proto:
# - crans
# - viarezo
# - zayo
# accept: true
# - accept: false
# - name: isp1
# local:
# address: "{{ bird__bgp_addresses[inventory_hostname] }}"
# as: "{{ bird__asn.aurore }}"
# remote:
# address:
# - 2a09:6840:203:1:5::1
# - 10.203.1.5
# as: "{{ bird__asn.aurore }}"
# import:
# - accept: false
# export:
# - bgp_proto:
# - crans
# - viarezo
# - zayo
# accept: true
# - accept: false
# - name: isp2
# local:
# address: "{{ bird__bgp_addresses[inventory_hostname] }}"
# as: "{{ bird__asn.aurore }}"
# remote:
# address:
# - 2a09:6840:203:1:6::1
# - 10.203.1.6
# as: "{{ bird__asn.aurore }}"
# import:
# - accept: false
# export:
# - bgp_proto:
# - crans
# - viarezo
# - zayo
# accept: true
# - accept: false
- name: zayo
local:
address:
@ -337,7 +272,7 @@
accept: false
- accept: true
export:
- prefix: "{{ ['aurore', 'crans', 'viarezo']
- prefix: "{{ ['aurore', 'crans', 'viarezo', 'rezel']
| map('extract', bird__orig_prefixes)
| flatten }}"
sub: true
@ -361,7 +296,60 @@
- accept: false
export:
- bgp_proto:
# - viarezo
- viarezo
- rezel1
- rezel2
- zayo
accept: true
- prefix: "{{ bird__orig_prefixes.aurore }}"
sub: true
accept: true
- accept: false
- name: rezel1
local:
address: "{{ bird__bgp_addresses.rezel[inventory_hostname] }}"
as: "{{ bird__asn.aurore }}"
remote:
address:
- 2a09:6842:19:9116::2
- 45.66.111.2
as: "{{ bird__asn.rezel }}"
import:
- prefix: "{{ bird__orig_prefixes.rezel }}"
sub: true
accept: true
- accept: false
export:
- bgp_proto:
- edge
- viarezo
- crans
- zayo
accept: true
- prefix: "{{ bird__orig_prefixes.aurore }}"
sub: true
accept: true
- accept: false
- name: rezel2
local:
address: "{{ bird__bgp_addresses.rezel[inventory_hostname] }}"
as: "{{ bird__asn.aurore }}"
remote:
address:
- 2a09:6842:19:9116::4
- 45.66.111.4
as: "{{ bird__asn.rezel }}"
import:
- local_pref: 75
- prefix: "{{ bird__orig_prefixes.rezel }}"
sub: true
accept: true
- accept: false
export:
- bgp_proto:
- edge
- viarezo
- crans
- zayo
accept: true
- prefix: "{{ bird__orig_prefixes.aurore }}"