mirror of
https://github.com/vacp2p/wakurtosis.git
synced 2026-01-09 14:58:02 -05:00
Added name of the node configuration file in gennet.
This commit is contained in:
@@ -244,6 +244,7 @@ def generate_and_write_files(dirname, num_topics, num_subnets, node_type_distrib
|
||||
json_dump[node]["static_nodes"].append(edge[1])
|
||||
json_dump[node][SUBNET_PREFIX] = subnets[node]
|
||||
json_dump[node]["image"] = nodeDockerImageSwitch.get(node_type)
|
||||
json_dump[node]["configuration"] = f"{node}.toml"
|
||||
write_json(dirname, json_dump) # network wide json
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ def run(plan, args):
|
||||
|
||||
kurtosis_config = config['kurtosis']
|
||||
wsl_config = config['wsl']
|
||||
interconnection_batch = config['interconnection_batch']
|
||||
interconnection_batch = kurtosis_config['interconnection_batch']
|
||||
|
||||
# Load network topology
|
||||
waku_topology_json = read_file(src=vars.TOPOLOGIES_LOCATION + vars.DEFAULT_TOPOLOGY_FILE)
|
||||
|
||||
Reference in New Issue
Block a user