GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
798 stars 262 forks source link

GNS3 and Network CI/CD #1898

Open g1augusto opened 3 years ago

g1augusto commented 3 years ago

Followup of https://www.gns3.com/community/featured/gns3-and-network-ci-cd

Hi Everyone, Jeremy,

It would be nice to see GNS3 having more options to use it as a CI/CD Network IaC testing and validation simulated environment.

Certain things I believe are already available on GNS3 and what I would like to see is having GNS3 being called from a something like Travis CI (or a hosted solution) and run a generated topology (or a preconfigured topology), pass along some test parameters (via REST API) and receive results of there tests in the form of structured data (JSON), this to validate changes made to the infrastructure code.

Is that on your roadmap?

grossmj commented 3 years ago

Is that on your roadmap?

Not exactly even if we are currently working on advanced features that would be useful to support this.

arcreigh commented 2 years ago

I am going to leave a +1 here. This would be an incredible enhancement to GNS3. The ability to kick off ansible jobs(as an example) from lets say a gitlab instance would be amazing. It would allow us to test in depth network configurations before deploying them to production without needing to necessarily have physical lab equipment, Which may be financially impossible for some companies.

We can already launch ansible scripts from within the workspace via docker containers and that works really well. Bringing some form of connector from within the workspace to the outside world would allow for an approval process flow showing that the configuration works in a testing environment that mimics the production environment.