2015-05-22 09:22:13 +00:00
|
|
|
GNS3-registry
|
2015-05-21 14:42:26 +00:00
|
|
|
================
|
|
|
|
|
2015-09-23 08:02:47 +00:00
|
|
|
.. image:: https://travis-ci.org/GNS3/gns3-registry.svg
|
|
|
|
:target: https://travis-ci.org/GNS3/gns3-registry
|
2015-05-21 14:42:26 +00:00
|
|
|
|
2015-09-11 12:42:01 +00:00
|
|
|
This is the GNS3 registry where user can share
|
2015-10-02 12:52:15 +00:00
|
|
|
appliances configurations and symbols.
|
|
|
|
|
|
|
|
Add a new symbol
|
|
|
|
################
|
|
|
|
Look for examples in the symbols directory.
|
2015-08-06 13:05:14 +00:00
|
|
|
|
2015-09-02 09:21:50 +00:00
|
|
|
|
2015-08-06 13:05:14 +00:00
|
|
|
Add a new appliance
|
|
|
|
###################
|
|
|
|
|
2015-09-03 08:28:38 +00:00
|
|
|
Two way to create a new appliance:
|
2016-02-22 12:19:14 +00:00
|
|
|
- Copy paste a JSON from the appliances directory
|
|
|
|
- Use the new_appliance.py
|
2015-09-03 08:28:38 +00:00
|
|
|
|
|
|
|
After that you can send us a pull request on Github.
|
2015-08-06 13:05:14 +00:00
|
|
|
|
2015-05-21 14:42:26 +00:00
|
|
|
|
2015-09-03 08:49:05 +00:00
|
|
|
In schemas/appliance.json you have a JSON with a schema for controlling the file
|
|
|
|
and can be use as documentation for each fields.
|
2015-09-02 09:21:50 +00:00
|
|
|
|
2016-04-07 08:21:15 +00:00
|
|
|
Docker container
|
|
|
|
################
|
|
|
|
|
|
|
|
This repository contain also the source of Docker container publish by the GNS3
|
|
|
|
team and that can be used as appliance in GNS3.
|
2015-09-02 09:21:50 +00:00
|
|
|
|
|
|
|
Tools
|
|
|
|
#######
|
|
|
|
|
|
|
|
All tools require python3 and the installation of dependencies via:
|
|
|
|
|
2015-11-10 13:56:58 +00:00
|
|
|
.. code:: bash
|
2015-09-02 09:21:50 +00:00
|
|
|
|
|
|
|
pip3 install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
Check appliance files
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
.. code:: bash
|
2015-11-10 13:56:58 +00:00
|
|
|
|
2015-09-02 09:21:50 +00:00
|
|
|
python3 check.py
|
2015-11-11 09:43:47 +00:00
|
|
|
python3 check_urls.py
|
2015-05-21 16:55:46 +00:00
|
|
|
|
2015-11-10 13:56:58 +00:00
|
|
|
You need to install `imagemagick` before running check.py.
|
2015-09-03 08:28:38 +00:00
|
|
|
|
|
|
|
Create a new appliance
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
python3 new_appliance.py
|
|
|
|
|
2016-01-11 11:26:02 +00:00
|
|
|
|
|
|
|
Prettify appliances JSON
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
This will indent the JSON of all appliance and sort the key in same order as
|
|
|
|
the JSON schema.
|
|
|
|
|
|
|
|
.. code:: bash
|
|
|
|
python3 prettify_appliances.py
|