summaryrefslogtreecommitdiff
path: root/provider_base/provider.json
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-27 23:46:58 -0800
committerelijah <elijah@riseup.net>2013-02-27 23:46:58 -0800
commitffb88e54c5e4e30fa61ea1009f3eee62f98ab17c (patch)
tree0d28846e9de15d7580b3b232aac16e2f4e8cb6e4 /provider_base/provider.json
parent5f8b63892ec9d08471a43ac642ed8f291d27c4f5 (diff)
openvpn -- added support for optional "free" rate-limited service via special client certificates with the FREE prefix in the common name.
Diffstat (limited to 'provider_base/provider.json')
-rw-r--r--provider_base/provider.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/provider_base/provider.json b/provider_base/provider.json
index 8ce848f3..14eabdc2 100644
--- a/provider_base/provider.json
+++ b/provider_base/provider.json
@@ -13,6 +13,12 @@
"languages": ["en"],
"default_language": "en",
"enrollment_policy": "open",
+ "service_levels": [
+ {"name": "free", "bandwidth":102400, "storage":50},
+ {"name": "basic", "bandwidth":null, "storage":1000},
+ {"name": "premium", "bandwidth":null, "storage":10000}
+ ],
+ "service_allow_free": false,
"ca": {
"name": "= global.provider.ca.organization + ' Root CA'",
"organization": "= global.provider.name[global.provider.default_language]",
@@ -24,6 +30,12 @@
"bit_size": 3248,
"digest": "SHA256",
"life_span": "1y"
+ },
+ "client_certificates": {
+ "bit_size": 2024,
+ "digest": "SHA256",
+ "life_span": "2m",
+ "free_prefix": "FREE"
}
},
"hiera_sync_destination": "/etc/leap"