Fix documentation

This commit is contained in:
Julien Duponchelle committed 2016-04-18 20:55:22 +02:00
1 parent 6b9e46950c
commit 9349bdc916
8 files changed
+17 -19

No files matched your search

+1 -1
View File
@@ -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",
+1 -1
View File
@@ -70,7 +70,7 @@ VM_OBJECT_SCHEMA = {
"type": "object",
"properties": {
"compute_id": {
"description": "Hypervisor identifier",
"description": "Compute identifier",
"type": "string"
},
"project_id": {
+2 -2
View File
@@ -2,7 +2,7 @@
{% block head %}
<script>
var socket = new WebSocket("ws://" + location.host + "/v2/hypervisor/notifications/ws");
var socket = new WebSocket("ws://" + location.host + "/v2/compute/notifications/ws");
socket.onopen = function (event) {
document.getElementById("notifications").innerText = "Connected";
};
@@ -16,7 +16,7 @@ socket.onmessage = function (event) {
{% block body %}
<h1>
Hypervisor status
Compute status
</h1>
The purpose of this page is to help for GNS3 debug. This can be dropped
in futur GNS3 versions.
+1 -1
View File
@@ -16,7 +16,7 @@
|
<a href="/controller">Controller status</a>
|
<a href="/hypervisor">Hypervisor status</a>
<a href="/compute">Compute status</a>
</div>
{% block body %}{% endblock %}
</body>
+1 -1
View File
@@ -44,7 +44,7 @@ class Documentation(object):
"""
Build all the doc page for handlers
:param doc_type: Type of doc to generate (controller, hypervisor)
:param doc_type: Type of doc to generate (controller, compute)
"""
for handler_name in sorted(self._documentation):
if "controller." in handler_name: