Since I didn't know where to publish my script for generating configuration
files for all tinc hosts in a testbed's management network, and Marc pointed
out that people used to ask for repositories for very small projects, we
decided to create the confine-utils project and repository for hosting
assorted utilities related with CONFINE testbeds. We reused the repo of Pau's
firmware generator conFW (now in the confw
subdir) and I also uploaded my
script there (under fetch-tinc-hosts
). I wanted the script to use no external
dependencies but it turned out that urllib2
isn't well suited for REST API
programming, so I used the excellent requests library. Now you can generate
all the tinc host configuration files needed by e.g. a gateway by running
python fetch_tinc_hosts.py REST_API_BASE_URI
.