Salt-Orchestrated OpenSource based Software-Defined-Freifunk-Infrastructre-Network configuration
Maximilian Wilhelm 674c24ed2b wireguard: Send keepalives every 25s | 1 day ago | |
---|---|---|
Documentation | 1 year ago | |
_modules | 1 day ago | |
anycast-healthchecker | 7 months ago | |
apt | 11 months ago | |
apu2 | 5 years ago | |
bash | 7 months ago | |
batman | 7 months ago | |
bird | 7 months ago | |
build | 7 months ago | |
burp | 5 months ago | |
certs | 7 months ago | |
dhcp-client | 5 months ago | |
dhcp-server | 7 months ago | |
dns-server | 7 months ago | |
docker | 5 years ago | |
elasticsearch | 4 years ago | |
fastd | 7 months ago | |
ffinfo | 7 months ago | |
firewall | 3 years ago | |
firmware | 7 months ago | |
gogs | 7 months ago | |
grafana | 7 months ago | |
graylog | 1 year ago | |
icinga2 | 5 months ago | |
icingaweb2 | 7 months ago | |
influxdb | 1 year ago | |
install-server | 8 months ago | |
kernel | 3 years ago | |
kvm | 1 year ago | |
locales | 11 months ago | |
mongodb | 1 year ago | |
mosh | 8 years ago | |
motd | 7 years ago | |
needrestart | 4 years ago | |
network | 7 months ago | |
nftables | 7 months ago | |
nginx | 7 months ago | |
ntp | 8 years ago | |
openvpn | 7 months ago | |
postfix | 7 months ago | |
pppoe | 7 months ago | |
prometheus-exporters | 7 months ago | |
prometheus-server | 5 months ago | |
respondd | 7 months ago | |
rsyslog | 7 months ago | |
salt-minion | 3 years ago | |
screen | 8 years ago | |
slapd | 4 years ago | |
snmpd | 7 months ago | |
ssh | 7 months ago | |
sudo | 11 months ago | |
sury | 1 year ago | |
sysctl | 7 months ago | |
systemd | 3 years ago | |
timezone | 5 years ago | |
unattended-upgrades | 5 months ago | |
users | 2 years ago | |
vim | 4 years ago | |
wireguard | 1 day ago | |
yanic | 7 months ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
top.sls | 1 day ago | |
utils.sls | 3 years ago |
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 :-)