From be6bd39607e53080ffb97c54cebfc74f8c21d4d5 Mon Sep 17 00:00:00 2001 From: Asmir Avdicevic Date: Fri, 17 Nov 2023 21:54:53 +0100 Subject: [PATCH] chore: update cli args (#45) * chore: update cli args * fix cli commands * force debug logs * remove tmp debug --------- Co-authored-by: Franz Heinzmann (Frando) --- netsim/sims/integration/derper.json | 16 +++++++-------- netsim/sims/integration/iroh.json | 16 +++++++-------- netsim/sims/iroh/iroh.json | 32 ++++++++++++++--------------- netsim/sims/iroh/iroh_200ms.json | 32 ++++++++++++++--------------- netsim/sims/iroh/iroh_20ms.json | 32 ++++++++++++++--------------- netsim/sims/lossy/iroh.json | 32 ++++++++++++++--------------- netsim/sims/standard/iroh.json | 32 ++++++++++++++--------------- 7 files changed, 96 insertions(+), 96 deletions(-) diff --git a/netsim/sims/integration/derper.json b/netsim/sims/integration/derper.json index 4e37ae7..efc92e8 100644 --- a/netsim/sims/integration/derper.json +++ b/netsim/sims/integration/derper.json @@ -19,7 +19,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh --keylog --cfg data/derp.config.toml start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "public", "wait": 10, "connect": { @@ -30,7 +30,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh --config data/derp.config.toml blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -60,7 +60,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh --keylog --cfg data/derp.config.toml start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "nat", "wait": 10, "connect": { @@ -71,7 +71,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh --config data/derp.config.toml blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -101,7 +101,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh --keylog --cfg data/derp.config.toml start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "public", "wait": 10, "connect": { @@ -112,7 +112,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh --config data/derp.config.toml blob get --start %s --out STDOUT > /dev/null", "type": "nat", "connect": { "strategy": "params", @@ -142,7 +142,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh --keylog --cfg data/derp.config.toml start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "nat", "wait": 10, "connect": { @@ -153,7 +153,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh --config data/derp.config.toml blob get --start %s --out STDOUT > /dev/null", "type": "nat", "connect": { "strategy": "params", diff --git a/netsim/sims/integration/iroh.json b/netsim/sims/integration/iroh.json index 03058be..6137170 100644 --- a/netsim/sims/integration/iroh.json +++ b/netsim/sims/integration/iroh.json @@ -9,7 +9,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "public", "wait": 10, "connect": { @@ -20,7 +20,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -39,7 +39,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "public", "wait": 10, "connect": { @@ -50,7 +50,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -68,7 +68,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "public", "wait": 10, "connect": { @@ -79,7 +79,7 @@ { "name": "iroh_get", "count": 2, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -97,7 +97,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1MB.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1MB.bin", "type": "public", "wait": 10, "connect": { @@ -108,7 +108,7 @@ { "name": "iroh_get", "count": 4, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", diff --git a/netsim/sims/iroh/iroh.json b/netsim/sims/iroh/iroh.json index 58b7dc0..85d0100 100644 --- a/netsim/sims/iroh/iroh.json +++ b/netsim/sims/iroh/iroh.json @@ -8,7 +8,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -19,7 +19,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -37,7 +37,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -48,7 +48,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -66,7 +66,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -77,7 +77,7 @@ { "name": "iroh_get", "count": 5, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -95,7 +95,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -106,7 +106,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -124,7 +124,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -135,7 +135,7 @@ { "name": "iroh_get", "count": 2, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -153,7 +153,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -164,7 +164,7 @@ { "name": "iroh_get", "count": 4, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -182,7 +182,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -193,7 +193,7 @@ { "name": "iroh_get", "count": 6, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -211,7 +211,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -222,7 +222,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", diff --git a/netsim/sims/iroh/iroh_200ms.json b/netsim/sims/iroh/iroh_200ms.json index 2edc564..131e9d5 100644 --- a/netsim/sims/iroh/iroh_200ms.json +++ b/netsim/sims/iroh/iroh_200ms.json @@ -8,7 +8,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -19,7 +19,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -42,7 +42,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -53,7 +53,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -76,7 +76,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -87,7 +87,7 @@ { "name": "iroh_get", "count": 5, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -110,7 +110,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -121,7 +121,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -144,7 +144,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -155,7 +155,7 @@ { "name": "iroh_get", "count": 2, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -178,7 +178,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -189,7 +189,7 @@ { "name": "iroh_get", "count": 4, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -212,7 +212,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -223,7 +223,7 @@ { "name": "iroh_get", "count": 6, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -246,7 +246,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -257,7 +257,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", diff --git a/netsim/sims/iroh/iroh_20ms.json b/netsim/sims/iroh/iroh_20ms.json index 56075ed..620bb94 100644 --- a/netsim/sims/iroh/iroh_20ms.json +++ b/netsim/sims/iroh/iroh_20ms.json @@ -8,7 +8,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -19,7 +19,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -42,7 +42,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -53,7 +53,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -76,7 +76,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -87,7 +87,7 @@ { "name": "iroh_get", "count": 5, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -110,7 +110,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -121,7 +121,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -144,7 +144,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -155,7 +155,7 @@ { "name": "iroh_get", "count": 2, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -178,7 +178,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -189,7 +189,7 @@ { "name": "iroh_get", "count": 4, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -212,7 +212,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -223,7 +223,7 @@ { "name": "iroh_get", "count": 6, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -246,7 +246,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -257,7 +257,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", diff --git a/netsim/sims/lossy/iroh.json b/netsim/sims/lossy/iroh.json index f8cb8b1..bfcadb1 100644 --- a/netsim/sims/lossy/iroh.json +++ b/netsim/sims/lossy/iroh.json @@ -8,7 +8,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -19,7 +19,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -42,7 +42,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -53,7 +53,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -76,7 +76,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -87,7 +87,7 @@ { "name": "iroh_get", "count": 5, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -110,7 +110,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -121,7 +121,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -144,7 +144,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -155,7 +155,7 @@ { "name": "iroh_get", "count": 2, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -178,7 +178,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -189,7 +189,7 @@ { "name": "iroh_get", "count": 4, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -212,7 +212,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -223,7 +223,7 @@ { "name": "iroh_get", "count": 6, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -246,7 +246,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -257,7 +257,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", diff --git a/netsim/sims/standard/iroh.json b/netsim/sims/standard/iroh.json index 58b7dc0..85d0100 100644 --- a/netsim/sims/standard/iroh.json +++ b/netsim/sims/standard/iroh.json @@ -8,7 +8,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -19,7 +19,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -37,7 +37,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -48,7 +48,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -66,7 +66,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -77,7 +77,7 @@ { "name": "iroh_get", "count": 5, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -95,7 +95,7 @@ { "name": "iroh_srv", "count": 1, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -106,7 +106,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -124,7 +124,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -135,7 +135,7 @@ { "name": "iroh_get", "count": 2, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -153,7 +153,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -164,7 +164,7 @@ { "name": "iroh_get", "count": 4, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -182,7 +182,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -193,7 +193,7 @@ { "name": "iroh_get", "count": 6, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params", @@ -211,7 +211,7 @@ { "name": "iroh_srv", "count": 2, - "cmd": "./bins/iroh start -a 0.0.0.0:4433 --source data/1G.bin", + "cmd": "./bins/iroh start -a 0.0.0.0:4433 --add data/1G.bin", "type": "public", "wait": 10, "connect": { @@ -222,7 +222,7 @@ { "name": "iroh_get", "count": 10, - "cmd": "time ./bins/iroh get --ticket %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null", "type": "public", "connect": { "strategy": "params",