It is easy to create a python wrapper for any service based on REST API. I have seen a good example from the Wekan project, and used this method to interact with GNS3-Server in one of my pet project. I have created a new module for my application, that is usually a new folder in the main project directory. This folder includes two files:
GNS3 was extensively developed in the past years. It is good that the Client and Server functions are decoupled, so we can use the GUI but still run the simulation on cloud resources. For this kind of virtualization bare metal service required as GNS3 using KVM/QEMU, and most cloud providers are not supporting Nested virtualization.
Just a nice trick. Let’s assume we are using a CSV file and also a YAML file to feed input data to python
Next time you find yourself Googling some cool new technology to (re)build your architecture around, I urge you to stop and follow UNPHAT instead:
Sublime3 text editor is one of the best Editor I have seen, and using it for a while. It is beautiful and also easy to extend. There are a number of packages I use, so the first step after an installation is to setup package-manager. If you are behind a proxy, the following snipet can help.
An interesting article about moving from enterprise networking space to cloud networking role from Tom Taggart.
Nornir is an automation framework written in python to be used with python. Most automation frameworks hide the language they are written in by using some cumbersome pseudo-language which usually is almost Turing complete but lacks tooling to debug and troubleshoot. Integrating with other systems is also usually quite hard as they usually have complex APIs if any at all. Some of the other common problems of those pseudo-languages is that are usually quite bad at dealing with data and re-usability is limited.