{% if result %}

{{object.name}} ({{object.address}}) CDP neighbors

{% for n in result.neighbors %} {% endfor %}
Local Interface Remote System Remote Interface
{{n.local_interface}} {{n.device_id}} {{n.remote_interface}}
{% else %} No data!!! {% endif %}