diff options
author | kwadronaut <kwadronaut@autistici.org> | 2021-02-23 15:44:34 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-05-27 20:45:06 +0200 |
commit | bbe82d29b8f97bda48ea27e76d0a60d1caa99b85 (patch) | |
tree | 2c37c2ea1d14b659b719950514407ff86a874812 /scripts/templates/eip-service.json.jinja | |
parent | b32696ea1c07c823b806b00b44ee71d1e9d09c30 (diff) |
- Closes: #16
Diffstat (limited to 'scripts/templates/eip-service.json.jinja')
-rw-r--r-- | scripts/templates/eip-service.json.jinja | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/scripts/templates/eip-service.json.jinja b/scripts/templates/eip-service.json.jinja deleted file mode 100644 index 5d55168..0000000 --- a/scripts/templates/eip-service.json.jinja +++ /dev/null @@ -1,33 +0,0 @@ -{ - "serial": 3, - "version": 3, - "locations": { {% for loc in locations %} - "{{loc}}": { - "name": "{{ locations[loc]['name'] }}", - "country_code": "{{ locations[loc]['country_code'] }}", - "hemisphere": "{{ locations[loc]['hemisphere'] }}", - "timezone": "{{ locations[loc]['timezone'] }}" - }{{ "," if not loop.last }}{% endfor %} - }, - "gateways": [ {% for gw in gateways %} - { - "host": "{{ gateways[gw]["host"] }}", - "ip_address": "{{ gateways[gw]["ip_address"] }}", - "location": "{{ gateways[gw]["location"] }}", - "capabilities": { - "adblock": false, - "filter_dns": false, - "limited": false, - "transport": [ {% for tr, proto, port, options in gateways[gw]["transports"] %} - {"type": "{{ tr }}", - "protocols": ["{{ proto }}"],{% if options %} - "options": {{ options | tojson }},{% endif %} - "ports": ["{{ port }}"] - }{{ "," if not loop.last }}{% endfor %} - ] - } - }{{ "," if not loop.last }}{% endfor %} - ], - "auth": "{{ auth }}", - "openvpn_configuration": {{ openvpn|tojson(indent=8) }} -} |