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