Hi,
I've been using VLAN aware bridges and for my pplznet project I'm trying to switch to SDN with VXLAN.
There are currently 61 nodes that have peering between each other for simulating a mesh network, see:
https://wiki.junicast.de/en/pplznet/dev-environment/diagram
My goal is to fully automate my development environment, meaning I generate OpenWrt images which will be used for VM guests.
When I used VLAN the scripts looked like that:
Now I would like to mass deploy OpenWrt nodes that have plenty of links between each other but with VXLAN.
As vxlan also seems to just generate bridges it looks like I can keep my code for setting the bridge and just remove the VLAN tag.
Now my question: Is there any way to automate the creation of VXLAN zones and vnet configs?
Currently I have two nodes in my cluster. Preferably I would like to use proxmox commands to handle this. This doesn't seem to be available though.
Instead I would use Ansible for that, but I can't find anything about how those VXLAN configurations are being handled under the hood.
Can I just write with Ansible to /etc/pve/sdn/zones.cfg and vnet.cfg? Do I need to reload the newly written config somewhere? What are the procedures here?
There is also /etc/network/interfaces.d/sdn. Do I just have to keep them in sync with Ansible?
Thank you
I've been using VLAN aware bridges and for my pplznet project I'm trying to switch to SDN with VXLAN.
There are currently 61 nodes that have peering between each other for simulating a mesh network, see:
https://wiki.junicast.de/en/pplznet/dev-environment/diagram
My goal is to fully automate my development environment, meaning I generate OpenWrt images which will be used for VM guests.
When I used VLAN the scripts looked like that:
Code:
qm set 100 --net0 virtio,bridge=vmbr1,tag=100
Now I would like to mass deploy OpenWrt nodes that have plenty of links between each other but with VXLAN.
As vxlan also seems to just generate bridges it looks like I can keep my code for setting the bridge and just remove the VLAN tag.
Now my question: Is there any way to automate the creation of VXLAN zones and vnet configs?
Currently I have two nodes in my cluster. Preferably I would like to use proxmox commands to handle this. This doesn't seem to be available though.
Instead I would use Ansible for that, but I can't find anything about how those VXLAN configurations are being handled under the hood.
Can I just write with Ansible to /etc/pve/sdn/zones.cfg and vnet.cfg? Do I need to reload the newly written config somewhere? What are the procedures here?
There is also /etc/network/interfaces.d/sdn. Do I just have to keep them in sync with Ansible?
Thank you