vatesfr / terraform-provider-xenorchestra

Xen Orchestra provider for Terraform
MIT License
149 stars 33 forks source link

Feature Request: SDN as a resource #60

Open dgmcdona opened 3 years ago

dgmcdona commented 3 years ago

WIth networks that are tied to the pool's physical infrastructure, it's uncommon to make changes to these networks within Xen Orchestra (storage networks, VLANS, etc). However, the ability to create and destroy software defined networks, such as a VxLAN or GRE networks, has a lot of potential.

For instance, we are looking into using terraform as part of a 'cyber-range' cybersecurity learning infrastructure for students. It would be great if we had the ability not only to create a number of VMs for students, but also the ability to create a cross-server private network in which VMs would be able to communicate without exposure to the WAN. With the ability to create thousands of VxLANs, this is a very scalable resource.

This functionality already exists within xo-cli via xo-cli sdnController.createPrivateNetwork and xo-cli network.delete, so it would be great to see it incorporated into terraform if possible.

This would be dependent on the SDN-Controller plugin being installed and correctly configured.

dgmcdona commented 3 years ago

Just wanted to note here that this functionality is currently restricted to XO admins only.