diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-04-12 13:51:29 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-04-12 13:51:29 -0300 |
commit | d84e2a7b30b23f20ed832c447f1bcfa325f9510d (patch) | |
tree | f0069ecb01ba8cd3a56dd7044b0745d72907440f /src | |
parent | 2930cfdcb0a14177ad57394466ccbeaba2debfc9 (diff) |
Add service levels to the config spec
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/config/provider_spec.py | 30 |
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 + } } } } |