diff options
Diffstat (limited to 'tools/compileconfig.py')
-rwxr-xr-x | tools/compileconfig.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py index 44db767..c2463df 100755 --- a/tools/compileconfig.py +++ b/tools/compileconfig.py @@ -372,6 +372,8 @@ def gen_config(nodename, config, localconfig): services = set() storage_sign_quorum = config.get("storage-sign-quorum-size", 0) + allnodenames = set(signingnodenames + mergenodenames + frontendnodenames + statusservernames + storagenodenames) + if "frontendnodes" in nodetype: reloadableplopconfig.append((Symbol("storage_nodes"), storagenodeaddresses)) reloadableplopconfig.append((Symbol("storage_nodes_quorum"), config["storage-quorum-size"])) @@ -445,6 +447,7 @@ def gen_config(nodename, config, localconfig): ("/plop/v1/status/merge_fetch", statusservernames), ("/plop/v1/status/storage", statusservernames), ("/plop/v1/status/merge_errors", statusservernames), + ("/plop/v1/status/heartbeat", statusservernames), ] if "statusservers" in nodetype: @@ -454,7 +457,8 @@ def gen_config(nodename, config, localconfig): ("/plop/v1/status/merge_sth", mergenodenames), ("/plop/v1/status/merge_fetch", mergenodenames), ("/plop/v1/status/merge_errors", mergenodenames), - ("/plop/v1/status/storage", list(storagenodenames)), + ("/plop/v1/status/storage", storagenodenames), + ("/plop/v1/status/heartbeat", list(allnodenames)), ("/status", Symbol("noauth")), ] |