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