2016-03-15 12:32:10 +02:00
|
|
|
{% extends "layout.html" %}
|
2016-03-17 18:32:37 +02:00
|
|
|
|
2016-03-15 12:32:10 +02:00
|
|
|
{% block body %}
|
|
|
|
<h1>
|
|
|
|
Controller status
|
|
|
|
</h1>
|
|
|
|
The purpose of this page is to help for GNS3 debug. This can be dropped
|
|
|
|
in futur GNS3 versions.
|
|
|
|
|
2016-06-15 00:08:30 +03:00
|
|
|
<h2>Projects</h2>
|
2016-03-15 12:32:10 +02:00
|
|
|
<table border="1">
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
2016-06-15 00:08:30 +03:00
|
|
|
<th>ID</th>
|
|
|
|
<th>Status</th>
|
2016-05-11 20:35:36 +03:00
|
|
|
<th>Nodes</th>
|
2016-03-15 12:32:10 +02:00
|
|
|
<th>Links</th>
|
|
|
|
</tr>
|
|
|
|
{% for project in controller.projects.values() %}
|
|
|
|
<tr>
|
|
|
|
<td><a href="/projects/{{project.id}}">{{project.name}}</a></td>
|
|
|
|
<td><a href="/projects/{{project.id}}">{{project.id}}</a></td>
|
2016-06-15 00:08:30 +03:00
|
|
|
<td>{{project.status}}</td>
|
2016-05-11 20:35:36 +03:00
|
|
|
<td>{{project.nodes|length}}</td>
|
2016-04-15 18:57:06 +03:00
|
|
|
<td>{{project.links|length}}</td>
|
2016-03-15 12:32:10 +02:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
2016-04-15 18:57:06 +03:00
|
|
|
<h2>Computes</h2>
|
2016-03-15 12:32:10 +02:00
|
|
|
<table border="1">
|
|
|
|
<tr>
|
2016-05-11 17:31:16 +03:00
|
|
|
<th>ID</th>
|
2016-05-23 12:20:52 +03:00
|
|
|
<th>Name</th>
|
2016-05-11 17:31:16 +03:00
|
|
|
<th>Version</th>
|
|
|
|
<th>Connected</th>
|
|
|
|
<th>Protocol</th>
|
|
|
|
<th>Host</th>
|
|
|
|
<th>Port</th>
|
2016-03-15 12:32:10 +02:00
|
|
|
</tr>
|
2016-04-15 18:57:06 +03:00
|
|
|
{% for compute in controller.computes.values() %}
|
2016-03-15 12:32:10 +02:00
|
|
|
<tr>
|
2016-04-15 18:57:06 +03:00
|
|
|
<td>{{compute.id}}</td>
|
2016-05-23 12:20:52 +03:00
|
|
|
<td>{{compute.name}}</td>
|
2016-05-11 17:31:16 +03:00
|
|
|
<td>{{compute.version}}</td>
|
|
|
|
<td>{{compute.connected}}</td>
|
|
|
|
<td>{{compute.protocol}}</td>
|
|
|
|
<td>{{compute.host}}</td>
|
|
|
|
<td>{{compute.port}}</td>
|
2016-03-15 12:32:10 +02:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
{%endblock%}
|