From a4837316e7da4f489ed301e496ea5fecc07f5635 Mon Sep 17 00:00:00 2001 From: Asmir Avdicevic Date: Tue, 26 Nov 2024 16:50:35 +0100 Subject: [PATCH] feat: 10gb tests --- netsim/sims/iroh_v2/iroh_10gb.json | 237 +++++++++++++++++++++++++++++ 1 file changed, 237 insertions(+) create mode 100644 netsim/sims/iroh_v2/iroh_10gb.json diff --git a/netsim/sims/iroh_v2/iroh_10gb.json b/netsim/sims/iroh_v2/iroh_10gb.json new file mode 100644 index 0000000..978d7da --- /dev/null +++ b/netsim/sims/iroh_v2/iroh_10gb.json @@ -0,0 +1,237 @@ +{ + "name": "iroh_cust_10gb", + "cases": [ + { + "name": "1_to_1", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 1, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 1, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + }, + { + "name": "1_to_3", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 1, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 3, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + }, + { + "name": "1_to_5", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 1, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 5, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + }, + { + "name": "1_to_10", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 1, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 10, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + }, + { + "name": "2_to_2", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 2, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 2, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + }, + { + "name": "2_to_4", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 2, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 4, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + }, + { + "name": "2_to_6", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 2, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 6, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + }, + { + "name": "2_to_10", + "description": "", + "nodes": [ + { + "name": "i_srv", + "count": 2, + "cmd": "./bins/iroh-transfer provide --size=10G", + "type": "public", + "wait": 10, + "connect": { + "strategy": "none" + }, + "param_parser": "iroh_ticket_v2" + }, + { + "name": "i_get", + "count": 10, + "cmd": "time ./bins/iroh-transfer fetch %s", + "type": "public", + "connect": { + "strategy": "params", + "node": "i_srv" + }, + "process": "short", + "parser": "iroh_cust_10gb" + } + ] + } + ] +}