2018-03-12 06:38:50 +00:00
|
|
|
The GNS3 files
|
|
|
|
===============
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
.gns3 files
|
|
|
|
############
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
GNS3 project files in JSON file format with all
|
|
|
|
the information necessary to save a project.
|
2016-06-14 08:36:54 +00:00
|
|
|
|
|
|
|
A minimal version:
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "untitled",
|
|
|
|
"project_id": null,
|
|
|
|
"revision": 5,
|
|
|
|
"topology": {},
|
|
|
|
"type": "topology",
|
|
|
|
"version": "2.0.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
The revision is the version of file format:
|
|
|
|
|
2018-03-30 14:18:44 +00:00
|
|
|
* 9: GNS3 2.2
|
2017-02-02 18:13:47 +00:00
|
|
|
* 8: GNS3 2.1
|
2017-01-06 14:16:19 +00:00
|
|
|
* 7: GNS3 2.0
|
|
|
|
* 6: GNS3 2.0 < beta 3
|
2016-11-03 17:17:50 +00:00
|
|
|
* 5: GNS3 2.0 < alpha 4
|
2016-06-14 08:36:54 +00:00
|
|
|
* 4: GNS3 1.5
|
|
|
|
* 3: GNS3 1.4
|
|
|
|
* 2: GNS3 1.3
|
2018-03-12 06:38:50 +00:00
|
|
|
* 1: GNS3 1.0, 1.1, 1.2 (Not mentioned in the file)
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
The full JSON schema can be found there:
|
2016-07-11 13:37:57 +00:00
|
|
|
|
|
|
|
.. literalinclude:: gns3_file.json
|
|
|
|
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
.net files
|
|
|
|
###########
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
Topology files made for GNS3 <= version 1.0. Not supported.
|
2016-06-14 08:36:54 +00:00
|
|
|
|
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
.gns3p or .gns3project files
|
|
|
|
#############################
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
This this a zipped version of a.gns3 file and includes all the required files to easily share a project.
|
|
|
|
The binary images can optionally be included.
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
The zip can be a ZIP64 if the project is too big for standard zip file.
|
|
|
|
|
|
|
|
.gns3a or .gns3appliance files
|
|
|
|
##############################
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
These files contain everything needed to create a new appliance template in GNS3.
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
A JSON schema is available there:
|
2020-06-03 11:46:48 +00:00
|
|
|
https://github.com/GNS3/gns3-registry/blob/master/schemas/appliance_v6.json
|
2016-06-14 08:36:54 +00:00
|
|
|
|
2018-03-12 06:38:50 +00:00
|
|
|
And samples there:
|
2016-06-14 08:36:54 +00:00
|
|
|
https://github.com/GNS3/gns3-registry/tree/master/appliances
|