2017-09-06 11:17:38 +02:00
|
|
|
# Ansible role network-batman
|
|
|
|
|
|
|
|
Diese Ansible role konfiguriert batman-adv Netzwerk Interfaces.
|
|
|
|
|
|
|
|
- dummy interface pro mesh
|
|
|
|
- batman-adv interface pro mesh
|
|
|
|
- konfiguriert sysfs variablen:
|
|
|
|
- Hop Penalty pro batman-adv interface
|
|
|
|
|
|
|
|
## Benötigte Variablen
|
|
|
|
|
|
|
|
- Dictionary `meshes`
|
2018-02-28 15:20:51 +01:00
|
|
|
|
|
|
|
```
|
2017-09-06 11:17:38 +02:00
|
|
|
meshes:
|
2017-10-06 22:58:00 +02:00
|
|
|
- id: xx
|
2017-09-06 11:17:38 +02:00
|
|
|
...
|
|
|
|
ipv4_network:
|
|
|
|
...
|
|
|
|
batman:
|
|
|
|
it: # integer: originator interval
|
|
|
|
gw: # string: gateway mode
|
|
|
|
mm: # boolean: multicast mode
|
|
|
|
dat: # boolean: distributed arp table
|
2017-10-08 09:29:55 +02:00
|
|
|
hop_penalty: # integer: hop penalty
|
|
|
|
...
|
|
|
|
fastd:
|
|
|
|
nodes:
|
|
|
|
instances:
|
|
|
|
- id: 0 # integer
|
|
|
|
mtu: # integer
|
|
|
|
...
|
2018-07-25 14:08:45 +02:00
|
|
|
backbone:
|
2017-10-08 09:29:55 +02:00
|
|
|
instances:
|
|
|
|
- id: 0 # integer
|
|
|
|
mtu: # integer
|
|
|
|
...
|
2017-09-06 11:17:38 +02:00
|
|
|
|
2018-02-28 15:20:51 +01:00
|
|
|
```
|
|
|
|
|
2017-09-06 11:17:38 +02:00
|
|
|
- Host Variable `magic`
|
|
|
|
|
2018-09-12 16:30:28 +02:00
|
|
|
- Host Variable `ffmwu_server_type`
|
|
|
|
|
2017-09-06 11:17:38 +02:00
|
|
|
## MAC-Adressen
|
|
|
|
|
|
|
|
Die MAC-Adressen der Interfaces werden aus dem IPv4-Subnetz sowie der `magic`-Nummer des Hosts berechnet.
|
|
|
|
|
|
|
|
xx0-prefix: `02:00`
|
2017-11-06 21:24:56 +01:00
|
|
|
xxbat-prefix: `02:01`
|