Salt-Orchestrated OpenSource based Software-Defined-Freifunk-Infrastructre-Network configuration
Maximilian Wilhelm d4d9f4bab6 dhcp-client: Only request address/router config | hai 5 meses | |
---|---|---|
Documentation | hai 1 ano | |
_modules | hai 5 meses | |
anycast-healthchecker | hai 7 meses | |
apt | hai 11 meses | |
apu2 | %!s(int64=5) %!d(string=hai) anos | |
bash | hai 7 meses | |
batman | hai 7 meses | |
bird | hai 7 meses | |
build | hai 7 meses | |
burp | hai 5 meses | |
certs | hai 7 meses | |
dhcp-client | hai 5 meses | |
dhcp-server | hai 7 meses | |
dns-server | hai 7 meses | |
docker | %!s(int64=5) %!d(string=hai) anos | |
elasticsearch | %!s(int64=4) %!d(string=hai) anos | |
fastd | hai 7 meses | |
ffinfo | hai 7 meses | |
firewall | %!s(int64=3) %!d(string=hai) anos | |
firmware | hai 7 meses | |
gogs | hai 7 meses | |
grafana | hai 7 meses | |
graylog | hai 1 ano | |
icinga2 | hai 5 meses | |
icingaweb2 | hai 7 meses | |
influxdb | hai 1 ano | |
install-server | hai 8 meses | |
kernel | %!s(int64=3) %!d(string=hai) anos | |
kvm | hai 1 ano | |
locales | hai 11 meses | |
mongodb | hai 1 ano | |
mosh | %!s(int64=8) %!d(string=hai) anos | |
motd | %!s(int64=7) %!d(string=hai) anos | |
needrestart | %!s(int64=4) %!d(string=hai) anos | |
network | hai 7 meses | |
nftables | hai 7 meses | |
nginx | hai 7 meses | |
ntp | %!s(int64=8) %!d(string=hai) anos | |
openvpn | hai 7 meses | |
postfix | hai 7 meses | |
pppoe | hai 7 meses | |
prometheus-exporters | hai 7 meses | |
prometheus-server | hai 5 meses | |
respondd | hai 7 meses | |
rsyslog | hai 7 meses | |
salt-minion | %!s(int64=3) %!d(string=hai) anos | |
screen | %!s(int64=8) %!d(string=hai) anos | |
slapd | %!s(int64=4) %!d(string=hai) anos | |
snmpd | hai 7 meses | |
ssh | hai 7 meses | |
sudo | hai 11 meses | |
sury | hai 1 ano | |
sysctl | hai 7 meses | |
systemd | %!s(int64=3) %!d(string=hai) anos | |
timezone | %!s(int64=5) %!d(string=hai) anos | |
unattended-upgrades | hai 5 meses | |
users | %!s(int64=2) %!d(string=hai) anos | |
vim | %!s(int64=4) %!d(string=hai) anos | |
wireguard | hai 7 meses | |
yanic | hai 7 meses | |
.gitignore | hai 1 ano | |
README.md | hai 1 ano | |
top.sls | hai 5 meses | |
utils.sls | %!s(int64=3) %!d(string=hai) anos |
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 :-)