gns3-registry/README.rst

70 lines
1.4 KiB
ReStructuredText
Raw Normal View History

2015-05-22 09:22:13 +00:00
GNS3-registry
================
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-09-11 12:42:01 +00:00
This is the GNS3 registry where user can share
appliances configurations and symbols.
Add a new symbol
################
Look for examples in the symbols directory.
2015-08-06 13:05:14 +00:00
2015-08-06 13:05:14 +00:00
Add a new appliance
###################
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
After that you can send us a pull request on Github.
2015-08-06 13:05:14 +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.
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.
Tools
#######
All tools require python3 and the installation of dependencies via:
.. code:: bash
pip3 install -r requirements.txt
Check appliance files
-----------------------
.. code:: bash
2018-03-03 13:55:31 +00:00
python check.py
2015-11-11 09:43:47 +00:00
python3 check_urls.py
2015-05-21 16:55:46 +00:00
You need to install `imagemagick` before running check.py.
Create a new appliance
-----------------------
.. code:: bash
python3 new_appliance.py
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