Salt-Orchestrated OpenSource based Software-Defined-Freifunk-Infrastructre-Network configuration
Maximilian Wilhelm 674c24ed2b wireguard: Send keepalives every 25s | 2 dni temu | |
---|---|---|
Documentation | 1 rok temu | |
_modules | 2 dni temu | |
anycast-healthchecker | 7 miesięcy temu | |
apt | 11 miesięcy temu | |
apu2 | 5 lat temu | |
bash | 7 miesięcy temu | |
batman | 7 miesięcy temu | |
bird | 7 miesięcy temu | |
build | 7 miesięcy temu | |
burp | 5 miesięcy temu | |
certs | 7 miesięcy temu | |
dhcp-client | 5 miesięcy temu | |
dhcp-server | 7 miesięcy temu | |
dns-server | 7 miesięcy temu | |
docker | 5 lat temu | |
elasticsearch | 4 lat temu | |
fastd | 7 miesięcy temu | |
ffinfo | 7 miesięcy temu | |
firewall | 3 lat temu | |
firmware | 7 miesięcy temu | |
gogs | 7 miesięcy temu | |
grafana | 7 miesięcy temu | |
graylog | 1 rok temu | |
icinga2 | 5 miesięcy temu | |
icingaweb2 | 7 miesięcy temu | |
influxdb | 1 rok temu | |
install-server | 8 miesięcy temu | |
kernel | 3 lat temu | |
kvm | 1 rok temu | |
locales | 11 miesięcy temu | |
mongodb | 1 rok temu | |
mosh | 8 lat temu | |
motd | 7 lat temu | |
needrestart | 4 lat temu | |
network | 7 miesięcy temu | |
nftables | 7 miesięcy temu | |
nginx | 7 miesięcy temu | |
ntp | 8 lat temu | |
openvpn | 7 miesięcy temu | |
postfix | 7 miesięcy temu | |
pppoe | 7 miesięcy temu | |
prometheus-exporters | 7 miesięcy temu | |
prometheus-server | 5 miesięcy temu | |
respondd | 7 miesięcy temu | |
rsyslog | 7 miesięcy temu | |
salt-minion | 3 lat temu | |
screen | 8 lat temu | |
slapd | 4 lat temu | |
snmpd | 7 miesięcy temu | |
ssh | 7 miesięcy temu | |
sudo | 11 miesięcy temu | |
sury | 1 rok temu | |
sysctl | 7 miesięcy temu | |
systemd | 3 lat temu | |
timezone | 5 lat temu | |
unattended-upgrades | 5 miesięcy temu | |
users | 2 lat temu | |
vim | 4 lat temu | |
wireguard | 2 dni temu | |
yanic | 7 miesięcy temu | |
.gitignore | 1 rok temu | |
README.md | 1 rok temu | |
top.sls | 2 dni temu | |
utils.sls | 3 lat temu |
This repository contains the Salt environment (states + modules) used to configure the infrastructure of the Freifunk Hochstift community network.
It uses the NetBox Abstraction and Caching Layer (NACL) as its interface to communicate with NetBox, which holds all node specific configuration. This includes the node name, role(s), interfaces, IP addresses, tags, config contexts, etc.
This whole code base follows the principles of Holistic (network) automation, which means that as much configuration bits are derived from properties of nodes or its relationship(s) to other nodes. This includes but is not limited to, OSPF adjacencies, internal BGP sessions, B.A.T.M.A.N. adv. configuration, Nftables rules, etc.
Most of these bits live inside the Python modules which are included in this repository (see the _modules/
directory), which contains modules for authentication, netfilter, and networking related configuration.
The ffho_net
modules currently is the heart of our SDN logic, with more recent pieces (e.g. iBGP mesh calculation) living inside NACL.
Eventually most logic should move over to NACL or another daemon which takes over the SDN role, so that Salt is only used to apply configuration based on a generic device configuration.
Our CTO, @BarbarossaTM, has started a blog series about our infrastructure, its architecture and evolution and also blogs about NetBox related things, which may or may not be related to this code base - it mostly is though :-)