rename interfaces + fix fallback
This commit is contained in:
parent
a2e181493d
commit
b36dd15d3c
5 changed files with 57 additions and 30 deletions
|
@ -392,11 +392,12 @@
|
||||||
# accept: true
|
# accept: true
|
||||||
# - accept: false
|
# - accept: false
|
||||||
bird__ospf_broadcast_interfaces:
|
bird__ospf_broadcast_interfaces:
|
||||||
ens22: null
|
backbone0: null
|
||||||
bird__ospf_stub_interfaces:
|
bird__ospf_stub_interfaces:
|
||||||
- ens19
|
- crans0
|
||||||
- ens20
|
- zayo0
|
||||||
- ens21
|
- rezel0
|
||||||
|
- viarezo0
|
||||||
bird__static_unreachable: "{{ bird__orig_prefixes.aurore }}"
|
bird__static_unreachable: "{{ bird__orig_prefixes.aurore }}"
|
||||||
roles:
|
roles:
|
||||||
- bird
|
- bird
|
||||||
|
|
|
@ -13,51 +13,47 @@
|
||||||
# TODO: netbox
|
# TODO: netbox
|
||||||
ifupdown2__hosts:
|
ifupdown2__hosts:
|
||||||
edge-1.rtr.infra.auro.re:
|
edge-1.rtr.infra.auro.re:
|
||||||
ens18:
|
adm0:
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:128::10:2/56
|
- 2a09:6840:128::10:2/56
|
||||||
- 10.128.10.2/16
|
- 10.128.10.2/16
|
||||||
ens19:
|
crans0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
ens20:
|
zayo0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
ens21:
|
rezel0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
ens22:
|
backbone0:
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:203:1:1::1/56
|
- 2a09:6840:203:1:1::1/56
|
||||||
- 10.203.1.1/16
|
- 10.203.1.1/16
|
||||||
ens23:
|
viarezo0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
enp2s1:
|
router0:
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:129::10:2/56
|
- 2a09:6840:129::10:2/56
|
||||||
- 10.129.10.2/16
|
- 10.129.10.2/16
|
||||||
enp2s2:
|
|
||||||
ipv6_addrgen: false
|
|
||||||
edge-2.rtr.infra.auro.re:
|
edge-2.rtr.infra.auro.re:
|
||||||
ens18:
|
adm0:
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:128::10:102/56
|
- 2a09:6840:128::10:102/56
|
||||||
- 10.128.10.102/16
|
- 10.128.10.102/16
|
||||||
ens19:
|
crans0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
ens20:
|
zayo0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
ens21:
|
rezel0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
ens22:
|
backbone0:
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:203:1:2::1/56
|
- 2a09:6840:203:1:2::1/56
|
||||||
- 10.203.1.2/16
|
- 10.203.1.2/16
|
||||||
ens23:
|
viarezo0:
|
||||||
ipv6_addrgen: false
|
ipv6_addrgen: false
|
||||||
enp2s1:
|
router0:
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:129::10:102/56
|
- 2a09:6840:129::10:102/56
|
||||||
- 10.129.10.102/16
|
- 10.129.10.102/16
|
||||||
enp2s2:
|
|
||||||
ipv6_addrgen: false
|
|
||||||
dns-1.int.infra.auro.re:
|
dns-1.int.infra.auro.re:
|
||||||
ens18:
|
ens18:
|
||||||
addresses:
|
addresses:
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
- hosts:
|
- hosts:
|
||||||
- edge-1.rtr.infra.auro.re
|
- edge-1.rtr.infra.auro.re
|
||||||
- edge-2.rtr.infra.auro.re
|
- edge-2.rtr.infra.auro.re
|
||||||
|
- infra-1.rtr.infra.auro.re
|
||||||
|
- infra-2.rtr.infra.auro.re
|
||||||
roles:
|
roles:
|
||||||
- ip_forward
|
- ip_forward
|
||||||
...
|
...
|
||||||
|
|
|
@ -36,13 +36,13 @@
|
||||||
- edge-2.rtr.infra.auro.re
|
- edge-2.rtr.infra.auro.re
|
||||||
vars:
|
vars:
|
||||||
keepalived__virtual_router_id: 81
|
keepalived__virtual_router_id: 81
|
||||||
keepalived__interface: ens22
|
keepalived__interface: backbone0
|
||||||
keepalived__virtual_addresses:
|
keepalived__virtual_addresses:
|
||||||
ens19:
|
crans0:
|
||||||
- 185.230.79.254/29
|
- 185.230.79.254/29
|
||||||
- 2a0c:700:28::2/64
|
- 2a0c:700:28::2/64
|
||||||
- fe80::1/10
|
- fe80::1/10
|
||||||
ens20:
|
zayo0:
|
||||||
- 2001:1b48:2:103::d7:2/126
|
- 2001:1b48:2:103::d7:2/126
|
||||||
- 83.167.52.69/31
|
- 83.167.52.69/31
|
||||||
- fe80::1/10
|
- fe80::1/10
|
||||||
|
|
|
@ -1,13 +1,41 @@
|
||||||
#!/usr/bin/env ansible-playbook
|
#!/usr/bin/env ansible-playbook
|
||||||
---
|
---
|
||||||
- hosts:
|
- hosts:
|
||||||
|
- edge-1.rtr.infra.auro.re
|
||||||
- edge-2.rtr.infra.auro.re
|
- edge-2.rtr.infra.auro.re
|
||||||
vars:
|
vars:
|
||||||
systemd_link__links:
|
systemd_link__hosts:
|
||||||
viarezo0:
|
edge-1.rtr.infra.auro.re:
|
||||||
enabled: false
|
adm0:
|
||||||
vlan123:
|
mac: 02:00:00:9E:3E:21
|
||||||
mac: 04:00:00:d8:d6:a2
|
crans0:
|
||||||
|
mac: 02:00:00:A2:7C:68
|
||||||
|
zayo0:
|
||||||
|
mac: 02:00:00:35:89:82
|
||||||
|
rezel0:
|
||||||
|
mac: 02:00:00:8F:4A:AD
|
||||||
|
backbone0:
|
||||||
|
mac: 02:00:00:1C:3A:2E
|
||||||
|
viarezo0:
|
||||||
|
mac: 02:00:00:ED:70:64
|
||||||
|
router0:
|
||||||
|
mac: 02:00:00:5A:17:7C
|
||||||
|
edge-2.rtr.infra.auro.re:
|
||||||
|
adm0:
|
||||||
|
mac: 04:00:00:F5:69:B9
|
||||||
|
crans0:
|
||||||
|
mac: 04:00:00:CF:E1:D0
|
||||||
|
zayo0:
|
||||||
|
mac: 04:00:00:67:7B:12
|
||||||
|
rezel0:
|
||||||
|
mac: 04:00:00:C6:05:B7
|
||||||
|
backbone0:
|
||||||
|
mac: 04:00:00:DE:22:E6
|
||||||
|
viarezo0:
|
||||||
|
mac: 04:00:00:45:FA:E6
|
||||||
|
router0:
|
||||||
|
mac: 04:00:00:AD:D7:71
|
||||||
|
systemd_link__links: "{{ systemd_link__hosts[inventory_hostname] }}"
|
||||||
roles:
|
roles:
|
||||||
- systemd_link
|
- systemd_link
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue