bird: more filtering

This commit is contained in:
elkmaennchen 2023-01-13 10:50:23 +01:00
parent 8b39a7f7dc
commit 6eeb578d89
Signed by: elkmaennchen
GPG key ID: E5C850EB50335184

View file

@ -296,6 +296,8 @@
- 2001:1b48:2:103::d7:1
as: "{{ bird__asn.zayo }}"
import:
- prefix: "{{ bird__orig_prefixes.martians }}"
accept: false
- accept: true
export:
- prefix: "{{ ['aurore', 'crans', 'viarezo']
@ -316,12 +318,21 @@
- 2a0c:700:28::1
as: "{{ bird__asn.crans }}"
import:
- prefix: "{{ bird__orig_prefixes.martians }}"
accept: false
- prefix: "{{ bird__orig_prefixes.crans }}"
sub: true
accept: true
- accept: false
export:
- accept: true
- bgp_proto:
- viarezo
- zayo
accept: true
- prefix: "{{ bird__orig_prefixes.aurore }}"
sub: true
accept: true
- accept: false
- name: viarezo
local:
address:
@ -345,17 +356,22 @@
- prefix: "{{ bird__orig_prefixes.aurore }}"
as_prepend:
asn: "{{ bird__asn.aurore }}"
size: 3
- accept: true
size: 5
- bgp_proto:
- crans
- zayo
accept: true
- prefix: "{{ bird__orig_prefixes.aurore }}"
sub: true
accept: true
- accept: false
bird__ospf_broadcast_interfaces:
ens22: null
bird__ospf_stub_interfaces:
- ens19
- ens20
- ens21
bird__static_unreachable:
- 45.66.108.0/22
- 2a09:6840::/29
bird__static_unreachable: "{{ bird__orig_prefixes.aurore }}"
roles:
- bird
...