mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
483431438a
Conflicts: gns3server/controller/project.py tests/compute/test_project.py tests/controller/test_project.py
52 lines
1.1 KiB
HTML
52 lines
1.1 KiB
HTML
{% extends "layout.html" %}
|
|
|
|
{% 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.
|
|
|
|
<h2>Opened projects</h2>
|
|
<table border="1">
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>ID</td>
|
|
<th>Nodes</th>
|
|
<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>
|
|
<td>{{project.nodes|length}}</td>
|
|
<td>{{project.links|length}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<h2>Computes</h2>
|
|
<table border="1">
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Version</th>
|
|
<th>Connected</th>
|
|
<th>Protocol</th>
|
|
<th>Host</th>
|
|
<th>Port</th>
|
|
</tr>
|
|
{% for compute in controller.computes.values() %}
|
|
<tr>
|
|
<td>{{compute.id}}</td>
|
|
<td>{{compute.version}}</td>
|
|
<td>{{compute.connected}}</td>
|
|
<td>{{compute.protocol}}</td>
|
|
<td>{{compute.host}}</td>
|
|
<td>{{compute.port}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
|
|
{%endblock%}
|