mirror of
https://github.com/vacp2p/wakurtosis.git
synced 2026-01-09 23:07:57 -05:00
* Changed gennet to generate simple nomos topology * Added nomos node to build.sh * Updated nomos yaml trait * Added nomos variables to system_variables.star * Prepared nomos_builder.star * Modify gennet to work with nomos topology and traits * Gennet currently doesn't support mixed topologies between waku and nomos nodes. * Restructured config.json to add separated testing and simulation functionalities * Added assertions.star file * Modified wakurtosis to set up integration tests * Updated kurtosis version in README.md
69 lines
1.6 KiB
JSON
69 lines
1.6 KiB
JSON
{
|
|
"general": {
|
|
"prng_seed": 1
|
|
},
|
|
"kurtosis": {
|
|
"enclave_name": "wakurtosis",
|
|
"topology_path": "./config/topology_generated/",
|
|
"jobs": 4,
|
|
"interconnect_nodes": true,
|
|
"interconnection_batch": 10,
|
|
"monitoring": false,
|
|
"injection": false,
|
|
"testing": true,
|
|
"assertions": {
|
|
"nomos": {
|
|
"waiting": 60,
|
|
"nodes_to_check": 1,
|
|
"endpoint": "/carnot/info",
|
|
"jq_extract": ".current_view",
|
|
"expected_value": 10.0
|
|
}
|
|
}
|
|
},
|
|
"gennet": {
|
|
"num_nodes": 5,
|
|
"fanout": 3,
|
|
"num_topics": 1,
|
|
"num_partitions": 1,
|
|
"num_subnets": 1,
|
|
"container_size": "1",
|
|
"node_type_distribution": {
|
|
"nwaku:relay:rpc:metrics:discv5": 0,
|
|
"gowaku:rln:dnsdisc:dns": 0,
|
|
"nomos": 100
|
|
},
|
|
"network_type": "newmanwattsstrogatz",
|
|
"output_dir": "network_data",
|
|
"benchmark": "False"
|
|
},
|
|
"wls": {
|
|
"debug_level": "DEBUG",
|
|
"simulation_time": 20,
|
|
"message_rate": 10,
|
|
"min_packet_size": 2,
|
|
"max_packet_size": 1024,
|
|
"inter_msg_type": "poisson",
|
|
"dist_type": "gaussian",
|
|
"emitters_fraction": 1.0
|
|
},
|
|
"monitoring": {
|
|
"wsl_pattern": "wls",
|
|
"container_str_pattern": "waku",
|
|
"process_str_pattern": "waku",
|
|
"sampling_interval_s": 1,
|
|
"probe_filename": "./probe.sh",
|
|
"metrics_filename": "./cproc_metrics.json"
|
|
},
|
|
"plotting": {
|
|
"by_node": [
|
|
"container_cpu_load_average_10s",
|
|
"container_memory_usage_bytes",
|
|
"container_network_receive_bytes_total",
|
|
"container_network_transmit_bytes_total",
|
|
"container_fs_reads_bytes_total",
|
|
"container_fs_writes_bytes_total"
|
|
]
|
|
}
|
|
}
|