🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Provision your VPN with Infrastructure as Code manner

Island
Island Member Posts: 2

Hi Guys,
I've built a tool for myself to easily backup and provision the VPN. The basic idea is to recursively GET all config from a VPN and write it down into a single JSON file, and you can do it reversely to provision the VPN (event after you modified the JSON file).

Please access https://github.com/flyisland/sempv2 to get this tool, hope it could be useful for you too!

Feedbacks are welcome (in here or in the github issues).

Tagged:

Comments

  • Hi Island, I did a similar thing in the past but I've changed my view on it. My preference now is to write the JSONs individually to the filesystem in the same structure as our SEMPv2 URIs. That's important because it makes your provisioning code a much simpler recursive call, with less soecial-case handling.