summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-xlavalab-gen.py33
1 files changed, 31 insertions, 2 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index 55020d4..521deda 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -114,7 +114,21 @@ def main():
else:
masters = workers["masters"]
for master in masters:
- keywords_master = [ "name", "type", "host", "users", "groups", "tokens", "webadmin_https", "persistent_db", "zmq_auth", "zmq_auth_key", "zmq_auth_key_secret", "http_fqdn", "slave_keys", "slaveenv", "loglevel", "allowed_hosts", "lava-coordinator", "healthcheck_url", "smtp", "version", "build_args" ]
+ keywords_master = [
+ "allowed_hosts",
+ "build_args",
+ "groups",
+ "healthcheck_url", "host", "http_fqdn",
+ "loglevel", "lava-coordinator",
+ "name",
+ "persistent_db",
+ "slave_keys", "slaveenv", "smtp",
+ "tokens", "type",
+ "users",
+ "version",
+ "webadmin_https",
+ "zmq_auth", "zmq_auth_key", "zmq_auth_key_secret",
+ ]
for keyword in master:
if not keyword in keywords_master:
print("WARNING: unknown keyword %s" % keyword)
@@ -373,7 +387,22 @@ def main():
else:
slaves = workers["slaves"]
for slave in slaves:
- keywords_slaves = [ "name", "host", "dispatcher_ip", "remote_user", "remote_master", "remote_address", "remote_rpc_port", "remote_proto", "extra_actions", "zmq_auth_key", "zmq_auth_key_secret", "default_slave", "export_ser2net", "expose_ser2net", "remote_user_token", "zmq_auth_master_key", "expose_ports", "env", "bind_dev", "loglevel", "use_nfs", "arch", "devices", "lava-coordinator", "use_tap", "host_healthcheck", "use_tftp", "use_nbd", "use_overlay_server", "tags", "use_docker", "version", "custom_volumes","build_args" ]
+ keywords_slaves = [
+ "arch",
+ "bind_dev", "build_args",
+ "custom_volumes",
+ "devices", "dispatcher_ip", "default_slave",
+ "extra_actions", "export_ser2net", "expose_ser2net", "expose_ports", "env",
+ "host", "host_healthcheck",
+ "loglevel", "lava-coordinator",
+ "name",
+ "remote_user", "remote_master", "remote_address", "remote_rpc_port", "remote_proto", "remote_user_token",
+ "tags",
+ "use_docker", "use_nfs", "use_nbd", "use_overlay_server", "use_tftp", "use_tap",
+ "version",
+ "zmq_auth_key", "zmq_auth_key_secret",
+ "zmq_auth_master_key",
+ ]
for keyword in slave:
if not keyword in keywords_slaves:
print("WARNING: unknown keyword %s" % keyword)