diff --git a/docs/general.rst b/docs/general.rst index 3e8a2ca9..35d766e3 100644 --- a/docs/general.rst +++ b/docs/general.rst @@ -193,10 +193,8 @@ concurrent. Authentication ----------------- -In this version of the API you have no authentification system. If you -listen on your network interface instead of localhost be carefull. Due -to the nature of the multiple supported VM it's easy for an user to -upload and run code on your machine. +You can use HTTP basic auth to protect the access to the API. And run +the API over HTTPS. Notifications diff --git a/docs/glossary.rst b/docs/glossary.rst index 6fbb8fa5..f1b49432 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -23,11 +23,11 @@ Controller ---------- The central server managing everything in GNS3. A GNS3 controller -will manage multiple GNS3 hypervisor. +will manage multiple GNS3 compute node. -Hypervisor +Compute ---------- -The process running on each server with GNS3. The GNS3 hypervisor +The process running on each server with GNS3. The GNS3 compute node is controlled by the GNS3 controller. diff --git a/docs/index.rst b/docs/index.rst index 0655deaf..9cd51ecf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,18 +17,18 @@ Endpoints GNS3 expose two type of endpoints: * Controller - * Hypervisor + * Compute Controller API Endpoints ~~~~~~~~~~~~~~~~~~~~~~~~ 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 +manage a topology it's here. The controller will call the compute API when needed. In a standard GNS3 installation you have one controller and one or many -hypervisors. +computes. .. toctree:: :glob: @@ -37,10 +37,10 @@ hypervisors. api/v2/controller/* -Hypervisor API Endpoints +Compute API Endpoints ~~~~~~~~~~~~~~~~~~~~~~~~~~ -The hypervisor is the GNS3 process running on a server and controlling +The compute is the GNS3 process running on a server and controlling the VM process. .. WARNING:: @@ -50,5 +50,5 @@ the VM process. :glob: :maxdepth: 2 - api/v2/hypervisor/* + api/v2/compute/* diff --git a/gns3server/handlers/index_handler.py b/gns3server/handlers/index_handler.py index bba7f25d..15a7671a 100644 --- a/gns3server/handlers/index_handler.py +++ b/gns3server/handlers/index_handler.py @@ -35,7 +35,7 @@ class IndexHandler: @classmethod @Route.get( r"/compute", - description="Ressources used by GNS3 Hypervisor" + description="Ressources used by GNS3 Compute" ) def compute(request, response): response.template("compute.html", diff --git a/gns3server/schemas/vm.py b/gns3server/schemas/vm.py index 34f84283..1ed2542d 100644 --- a/gns3server/schemas/vm.py +++ b/gns3server/schemas/vm.py @@ -70,7 +70,7 @@ VM_OBJECT_SCHEMA = { "type": "object", "properties": { "compute_id": { - "description": "Hypervisor identifier", + "description": "Compute identifier", "type": "string" }, "project_id": { diff --git a/gns3server/templates/compute.html b/gns3server/templates/compute.html index e706beef..07bbd6e6 100644 --- a/gns3server/templates/compute.html +++ b/gns3server/templates/compute.html @@ -2,7 +2,7 @@ {% block head %}