From a8f405c6dbfb3b79f1e868a7b9bae3981a01540a Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 10 Mar 2013 17:46:25 -0700 Subject: added service levels and 'ankara' location --- nodes/aligator.json | 2 +- nodes/snail.json | 2 +- provider.json | 8 +++++++- tags/ankara.json | 8 ++++++++ 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 tags/ankara.json diff --git a/nodes/aligator.json b/nodes/aligator.json index cafe4c9..28d0998 100644 --- a/nodes/aligator.json +++ b/nodes/aligator.json @@ -6,7 +6,7 @@ }, "ip_address": "176.53.69.121", "interface": "eth0", - "tags": "production", + "tags": ["production", "ankara"], "openvpn": { "gateway_address": "176.53.69.123", "allow_free": false, diff --git a/nodes/snail.json b/nodes/snail.json index a973ad1..a1bdd70 100644 --- a/nodes/snail.json +++ b/nodes/snail.json @@ -6,7 +6,7 @@ }, "ip_address": "176.53.69.14", "interface": "eth0", - "tags": "development", + "tags": ["development", "ankara"], "openvpn": { "gateway_address": "176.53.69.19", "allow_free": false, diff --git a/provider.json b/provider.json index a113bad..efbddad 100644 --- a/provider.json +++ b/provider.json @@ -17,5 +17,11 @@ "contacts": { "default": "sysdev at the leap.se domain" }, - "service_allow_free": true + "service":{ + "levels": [ + {"id": 1, "name": "free", "bandwidth":"limited", "storage":50} + ], + // bytes per second + "bandwidth_limit": 400000 + } } diff --git a/tags/ankara.json b/tags/ankara.json new file mode 100644 index 0000000..7152775 --- /dev/null +++ b/tags/ankara.json @@ -0,0 +1,8 @@ +{ + "location": { + "name": "Ankara", + "country_code": "TR", + "timezone": "+2", + "hemisphere": "N" + } +} \ No newline at end of file -- cgit v1.2.3