summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-04-12 13:51:29 -0300
committerTomas Touceda <chiiph@leap.se>2013-04-12 13:51:29 -0300
commitd84e2a7b30b23f20ed832c447f1bcfa325f9510d (patch)
treef0069ecb01ba8cd3a56dd7044b0745d72907440f /src/leap
parent2930cfdcb0a14177ad57394466ccbeaba2debfc9 (diff)
Add service levels to the config spec
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/config/provider_spec.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/leap/config/provider_spec.py b/src/leap/config/provider_spec.py
index 958f7846..cf942c7b 100644
--- a/src/leap/config/provider_spec.py
+++ b/src/leap/config/provider_spec.py
@@ -70,6 +70,36 @@ leap_provider_spec = {
'languages': {
'type': list,
'default': ['en']
+ },
+ 'service': {
+ 'levels': {
+ 'type': list
+ },
+ 'default_service_level': {
+ 'type': int,
+ 'default': 1
+ },
+ 'allow_free': {
+ 'type': unicode
+ },
+ 'allow_paid': {
+ 'type': unicode
+ },
+ 'allow_anonymous': {
+ 'type': unicode
+ },
+ 'allow_registration': {
+ 'type': unicode
+ },
+ 'bandwidth_limit': {
+ 'type': int
+ },
+ 'allow_limited_bandwidth': {
+ 'type': unicode
+ },
+ 'allow_unlimited_bandwidth': {
+ 'type': unicode
+ }
}
}
}