Salt-Orchestrated OpenSource based Software-Defined-Freifunk-Infrastructre-Network configuration
Maximilian Wilhelm bd9b0bc5ca unattended-upgrades: Add config for Debian Boorkworm | 6 месяцев назад | |
---|---|---|
Documentation | 1 год назад | |
_modules | 11 месяцев назад | |
anycast-healthchecker | 1 год назад | |
apt | 9 месяцев назад | |
apu2 | 4 лет назад | |
bash | 5 лет назад | |
batman | 11 месяцев назад | |
bird | 1 год назад | |
build | 1 год назад | |
burp | 3 лет назад | |
certs | 1 год назад | |
dhcp-client | 11 месяцев назад | |
dhcp-server | 6 месяцев назад | |
dns-server | 1 год назад | |
docker | 5 лет назад | |
elasticsearch | 3 лет назад | |
fastd | 2 лет назад | |
ffinfo | 1 год назад | |
firewall | 3 лет назад | |
firmware | 1 год назад | |
gogs | 3 лет назад | |
grafana | 1 год назад | |
graylog | 1 год назад | |
icinga2 | 8 месяцев назад | |
icingaweb2 | 1 год назад | |
influxdb | 1 год назад | |
install-server | 6 месяцев назад | |
kernel | 3 лет назад | |
kvm | 1 год назад | |
locales | 9 месяцев назад | |
mongodb | 1 год назад | |
mosh | 8 лет назад | |
motd | 7 лет назад | |
needrestart | 4 лет назад | |
network | 1 год назад | |
nftables | 1 год назад | |
nginx | 2 лет назад | |
ntp | 8 лет назад | |
openvpn | 2 лет назад | |
postfix | 9 месяцев назад | |
pppoe | 2 лет назад | |
prometheus-exporters | 1 год назад | |
prometheus-server | 9 месяцев назад | |
respondd | 3 лет назад | |
rsyslog | 3 лет назад | |
salt-minion | 3 лет назад | |
screen | 8 лет назад | |
slapd | 4 лет назад | |
snmpd | 1 год назад | |
ssh | 9 месяцев назад | |
sudo | 9 месяцев назад | |
sury | 1 год назад | |
sysctl | 9 месяцев назад | |
systemd | 3 лет назад | |
timezone | 5 лет назад | |
unattended-upgrades | 6 месяцев назад | |
users | 1 год назад | |
vim | 4 лет назад | |
wireguard | 2 лет назад | |
yanic | 9 месяцев назад | |
.gitignore | 1 год назад | |
README.md | 1 год назад | |
top.sls | 1 год назад | |
utils.sls | 3 лет назад |
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 :-)