{% set int = d.get("device").get("INTERFACE", "") %}
{% if int %}
{% set testcase = d.get("name") + "-" + int %}
{% else %}
{% set testcase = d.get("name") %}
{% endif %}
{% if d.get("run") %}
{% set result = d.get("status") %}
{% else %}
{% set result = "" %}
{% endif %}