summaryrefslogtreecommitdiff
path: root/tools/configschema.py
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2017-07-26 00:40:13 +0200
committerLinus Nordberg <linus@nordu.net>2017-07-26 13:19:18 +0200
commite0be874a28c9ee9c9b07e3cff89301cd58cfd31f (patch)
tree7c4968f83ecf7184a76fbf7efcb2cb850649b07f /tools/configschema.py
parentde7ddf3257b6217bc8c22d1ddfb402eb73a94384 (diff)
Allow optional reading only for optional configuration keys
Add storage-sign-quorum-size configuration key. Add default for dbbackend configuration key.
Diffstat (limited to 'tools/configschema.py')
-rw-r--r--tools/configschema.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/configschema.py b/tools/configschema.py
index 9f4a468..e78c8c7 100644
--- a/tools/configschema.py
+++ b/tools/configschema.py
@@ -52,6 +52,7 @@ globalconfigschema = [
("primarymergenode", "string", "nodename"),
("storage-quorum-size", "integer", "number of nodes"),
("backup-quorum-size", "integer", "number of nodes"),
+ ("storage-sign-quorum-size", "integer", "number of nodes"),
("logpublickey", "string", "key"),
("cafingerprint", "string", "fingerprint"),
("version", "integer", "version"),
@@ -60,4 +61,12 @@ globalconfigschema = [
globalconfigdefaults = [
("statusservers", []),
+ ("storage-sign-quorum-size", 0),
]
+
+localconfigdefaults = [
+ ("dbbackend", "fsdb"),
+]
+
+localconfigoptionals = set(["storageaddress", "frontendaddress", "signingaddress", "mergeaddress", "ctapiaddress", "publichttpaddress", "hsm"])
+globalconfigoptionals = set()