Files
Vincent Bernat d191613ab8 Initial release
No history. If you have the original history, you can use:

```
git replace THISCOMMIT b0b998bd1c651e308ac71a9158e07e5c3521a281
```
2021-05-15 16:18:03 +02:00

6 lines
233 B
Django/Jinja

devices:
{% for device in devices("environment", "location") if scope(device).get('os') in ("ios", "junos") %}
{{ device }}: {{ scope(device).os }}
{% endfor %}
tftp: {{ lookup("topology", "addresses").oob|ipaddr('address') }}