{% extends 'base.html' %} {% block content %}

Device {{ device.device_id.device_uuid.uuid }}

Update

UUID: {{ device.device_id.device_uuid.uuid }}

Type: {{ device.device_type }}

Status: {{ dose.Name(device.device_operational_status).replace('DEVICEOPERATIONALSTATUS_', '') }}
Drivers:
{% for endpoint in device.device_endpoints %} {% endfor %}
Endpoints Type
{{ endpoint.endpoint_id.endpoint_uuid.uuid }} {{ endpoint.endpoint_type }}
Configurations: {% for config in device.device_config.config_rules %} {% if config.WhichOneof('config_rule') == 'custom' %} {% endif %} {% endfor %}
Key Value
{{ config.custom.resource_key }}
    {% for key, value in (config.custom.resource_value | from_json).items() %}
  • {{ key }}: {{ value }}
  • {% endfor %}
{% endblock %}