Add Proxmox Ceph mesh network playbook

This commit is contained in:
Arti Zirk
2025-07-31 00:12:27 +03:00
parent 077dacf1ad
commit 5643f1eec1
9 changed files with 188 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# {{ ansible_managed }}
# ifupdown interfaces(5) file for setting up CEPH network
# Real routing is handled by FRR routing daemon
auto lo
iface lo inet loopback
up ip -6 addr add {{ ceph_mesh.address }} dev lo
{% for iface in ceph_mesh.interfaces %}
auto {{ iface }}
iface {{ iface }} inet6 static
pre-up ip link set $IFACE up
mtu 9000
{% endfor %}

View File

@@ -0,0 +1,30 @@
# {{ ansible_managed }}
frr version 10.2.2
frr defaults traditional
hostname {{ inventory_hostname }}
log syslog informational
no ip forwarding
service integrated-vtysh-config
!
{% for iface in ceph_mesh.interfaces %}
interface {{ iface }}
ipv6 router openfabric 1
openfabric csnp-interval 5
openfabric hello-interval 1
openfabric hello-multiplier 3
exit
!
{% endfor %}
interface lo
ipv6 router openfabric 1
openfabric csnp-interval 5
openfabric hello-interval 1
openfabric hello-multiplier 3
openfabric passive
exit
!
router openfabric 1
net {{ ceph_mesh.openfabric_net }}
lsp-gen-interval 5
exit
!