Skip to content

Commit

Permalink
fix cli commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Nov 17, 2023
1 parent c63d5ee commit 8a8b1f3
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 52 deletions.
16 changes: 8 additions & 8 deletions netsim/sims/integration/derper.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -30,7 +30,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml blob get --start %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",
Expand Down Expand Up @@ -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": {
Expand All @@ -71,7 +71,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml blob get --start %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",
Expand Down Expand Up @@ -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": {
Expand All @@ -112,7 +112,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml blob get --start %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",
Expand Down Expand Up @@ -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": {
Expand All @@ -153,7 +153,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --keylog --cfg data/derp.config.toml blob get --start %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",
Expand Down
8 changes: 4 additions & 4 deletions netsim/sims/integration/iroh.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
16 changes: 8 additions & 8 deletions netsim/sims/iroh/iroh.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
16 changes: 8 additions & 8 deletions netsim/sims/iroh/iroh_200ms.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
16 changes: 8 additions & 8 deletions netsim/sims/iroh/iroh_20ms.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
16 changes: 8 additions & 8 deletions netsim/sims/lossy/iroh.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
Loading

0 comments on commit 8a8b1f3

Please sign in to comment.