2015-01-14 02:05:26 +02:00
|
|
|
Welcome to API documentation!
|
|
|
|
======================================
|
|
|
|
|
2015-02-23 19:00:59 +02:00
|
|
|
.. WARNING::
|
2015-12-11 00:00:16 +02:00
|
|
|
The API is not stable, feel free to post comments on our website
|
|
|
|
https://gns3.com/
|
2015-01-14 02:05:26 +02:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
general
|
2015-02-18 12:06:13 +02:00
|
|
|
glossary
|
2015-01-14 02:05:26 +02:00
|
|
|
development
|
|
|
|
|
2016-03-07 16:01:35 +02:00
|
|
|
|
|
|
|
Endpoints
|
|
|
|
------------
|
|
|
|
|
|
|
|
GNS3 expose two type of endpoints:
|
|
|
|
|
|
|
|
* Controller
|
2016-04-18 21:55:22 +03:00
|
|
|
* Compute
|
2016-03-07 16:01:35 +02:00
|
|
|
|
2016-03-04 18:50:17 +02:00
|
|
|
Controller API Endpoints
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
2015-01-14 02:05:26 +02:00
|
|
|
|
2016-03-07 16:01:35 +02:00
|
|
|
The controller manage all the running topologies. The controller
|
|
|
|
has knowledge of everything on in GNS3. If you want to create and
|
2016-04-18 21:55:22 +03:00
|
|
|
manage a topology it's here. The controller will call the compute API
|
2016-03-07 16:01:35 +02:00
|
|
|
when needed.
|
|
|
|
|
|
|
|
In a standard GNS3 installation you have one controller and one or many
|
2016-04-18 21:55:22 +03:00
|
|
|
computes.
|
2016-03-07 16:01:35 +02:00
|
|
|
|
2016-03-04 18:50:17 +02:00
|
|
|
.. toctree::
|
|
|
|
:glob:
|
|
|
|
:maxdepth: 2
|
|
|
|
|
2016-03-07 18:57:12 +02:00
|
|
|
api/v2/controller/*
|
2016-03-04 18:50:17 +02:00
|
|
|
|
|
|
|
|
2016-04-18 21:55:22 +03:00
|
|
|
Compute API Endpoints
|
2016-03-07 16:01:35 +02:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2016-04-18 21:55:22 +03:00
|
|
|
The compute is the GNS3 process running on a server and controlling
|
2016-03-07 16:01:35 +02:00
|
|
|
the VM process.
|
|
|
|
|
|
|
|
.. WARNING::
|
|
|
|
Consider this endpoints as a private API used by the controller.
|
2015-01-14 02:05:26 +02:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:glob:
|
|
|
|
:maxdepth: 2
|
|
|
|
|
2016-04-18 21:55:22 +03:00
|
|
|
api/v2/compute/*
|
2015-01-14 02:05:26 +02:00
|
|
|
|