Open grossmj opened 8 years ago
Is the point to create a template others could follow? Allowing the community to contribute templates for platforms we want to use?
Yep, that is the point :)
I have created a Python script that uses the API to get a template and creates an appliance from that. It supports both GNS3 v2 and v3. Besides using this as a starting point for creating an appliance, it could help migrating v2 profiles to v3.
Interested?
Yes please 🙏
Here the export script: export_appliance.py.txt (remove the .txt extension after downloading)
It uses a slightly modified version of my minimal API module: gns3api.py.txt
The export script is not really complicated, but all the various options makes it large. It started with support for the older appliance versions and just lately got an update to support appliance version v8 as well. It tries to generate the lowest appliance version possible.
I will add this in v3.1 👍
It would be nice to create a .gns3appliance file from an existing template in the preferences. This would make contributions a lot easier.