...
Test out new templates by doing a dry_run on a device without commiting the new template to git by using template_dry_run.py from https://raw.githubusercontent.com/SUNET/cnaas-nms/develop/src/cnaas_nms/tools/template_dry_run.py
You must have python3 with pip modules: requests, jinja2 and yaml installed. Then export ENV variables CNAASURL (URL to CNaaS API) and JWT_AUTH_TOKEN (a valid JWT token), change directory to the root of your templates and run the script like so:
/path/to/script/template_dry_run.py <dryrun_hostname>
Old config and new config for the device based on your un-commited templates will be printed to stdout.
Easier settings editing
Verify settings syntax inside the VScode editor without saving or committing to git by using https://github.com/SUNET/cnaas-nms-vscode
Download CNaaS-NMS VScode plugin
Better access-control list editing
...
usage: ./sunet-arista-sshkeys.py < ~/.ssh/authorized_keys > users_template.j2