diff options
author | Neil Williams <neil.williams@linaro.org> | 2017-11-27 07:43:57 +0000 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2017-12-01 08:26:09 +0000 |
commit | a8e20ece2bd50774413cb3b5e9027dd7cfb447f4 (patch) | |
tree | c78d6100d2a37895201094594481328c22875f1c /lava_scheduler_app/templates/lava_scheduler_app | |
parent | 1aeb97ee5eb7b0d0043b24bd94a5ecc485ad206e (diff) |
Update device dictionary handling
Drop mention of 'exclusive' and update docs.
Expand connection support to cover the deprecation of the
single connection_command support and the use of connection_tags
to denote how connections are closed.
Change-Id: I6e5994d4307e78f77276b8a43786700fa2e4dbc4
Diffstat (limited to 'lava_scheduler_app/templates/lava_scheduler_app')
-rw-r--r-- | lava_scheduler_app/templates/lava_scheduler_app/devicedictionary.html | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/lava_scheduler_app/templates/lava_scheduler_app/devicedictionary.html b/lava_scheduler_app/templates/lava_scheduler_app/devicedictionary.html index a93d04f4a..458d55a37 100644 --- a/lava_scheduler_app/templates/lava_scheduler_app/devicedictionary.html +++ b/lava_scheduler_app/templates/lava_scheduler_app/devicedictionary.html @@ -33,8 +33,6 @@ i.e., its equivalent to get-pipeline-device-config in lava-tool."> </div> <div class="col-md-6"> <dl class="dl-horizontal"> - <dt>Exclusive</dt> - <dd>{{ device.is_exclusive }}</dd> <dt>Extends</dt> <dd>{{ device.get_extends }}</dd> </dl> @@ -43,6 +41,7 @@ i.e., its equivalent to get-pipeline-device-config in lava-tool."> <div class="container-fluid"> +{% if dictionary %} <div class="row"> <h4 class="modal-header">Commands</h4> <dl class="dl-horizontal"> @@ -52,6 +51,19 @@ i.e., its equivalent to get-pipeline-device-config in lava-tool."> {% endfor %} </dl> </div> +{% endif %} + +{% if connections %} +<div class="row"> + <h4 class="modal-header">Connections</h4> + <dl class="dl-horizontal"> + {% for key, value in connections.items %} + <dt>{{ key }}</dt> + <dd><pre>{{ value }}</pre></dd> + {% endfor %} + </dl> +</div> +{% endif %} {% if extra %} <div class="row"> @@ -67,7 +79,7 @@ i.e., its equivalent to get-pipeline-device-config in lava-tool."> {% if vland %} <div class="row"> - <h4 class="modal-header">VLANd parameters</h4> + <h4 class="modal-header">Networking parameters</h4> <dl class="dl-horizontal"> {% for key, value in vland.items %} <dt>{{ key }}</dt> |