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

Service {{ service.service_id.service_uuid.uuid }}

Update
UUID: {{ service.service_id.service_uuid.uuid }}

Type: {{ ste.Name(service.service_type).replace('SERVICETYPE_', '') }}

Status: {{ sse.Name(service.service_status.service_status).replace('SERVICESTATUS_', '') }}

{% for endpoint in service.service_endpoint_ids %} {% endfor %}
Endpoints Device
{{ endpoint.endpoint_uuid.uuid }} {{ endpoint.device_id.device_uuid.uuid }}
Constraints: {% for constraint in service.service_constraints %} {% endfor %}
Type Value
{{ constraint.custom.constraint_type }}
    {{ constraint.custom.constraint_value }}
Configurations: {% for config in service.service_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 %}
{% for connections in connections.connections %} {% for i in range(connections.path_hops_endpoint_ids|length) %} {% endfor %} {% endfor %}
Connection Id Sub-service Path
{{ connections.connection_id.connection_uuid.uuid }} {{ connections.sub_service_ids|map(attribute='service_uuid')|map(attribute='uuid')|join(', ') }} {{ connections.path_hops_endpoint_ids[i].device_id.device_uuid.uuid }} / {{ connections.path_hops_endpoint_ids[i].endpoint_uuid.uuid }}
{% endblock %}