NaC icon indicating copy to clipboard operation
NaC copied to clipboard

LXD simulation for Proxmox setup

Open UCCNetworkingSociety opened this issue 4 years ago • 3 comments

Moving everything to Proxmox will break our previous LXD simulation.

Someone will need to look at emulating recreating netsoc-ubuntu-server, see template-netsoc-ubuntu-server.yml and packer/netsoc-ubuntu-server as an LXD image

They will then need to modify simulation.sh to create instances of that image. They will need to either input hosts into the ./hosts or create a dynamic inventory script similar to ./proxmox_inventory.py that can discover the LXD instances.

The network addresses should (I think) be the same (this will need to be investigated). If this is done correctly, we can then run any of our provision-*.yml files on any of the containers and it should create a full local demo of all of Netsoc's infrastructure without the need of running VMs.

UCCNetworkingSociety avatar Jul 07 '20 21:07 UCCNetworkingSociety

Id love to look into using https://github.com/weaveworks/footloose to have a set of test servers for local testing declaratively defined

Strum355 avatar Jul 07 '20 21:07 Strum355

https://github.com/weaveworks/ignite/blob/master/docs/footloose.md

Strum355 avatar Jul 07 '20 21:07 Strum355

any idea how well these perform with strictly kernel stuff? can imagine nfs might be an issue

ocanty avatar Jul 14 '20 00:07 ocanty