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