Skip to content

Commit

Permalink
chore: update cli args (#45)
Browse files Browse the repository at this point in the history
* chore: update cli args

* fix cli commands

* force debug logs

* remove tmp debug

---------

Co-authored-by: Franz Heinzmann (Frando) <[email protected]>
  • Loading branch information
Arqu and Frando authored Nov 17, 2023
1 parent e5d72a1 commit be6bd39
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 96 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 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",
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 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",
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 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",
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 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",
Expand Down
16 changes: 8 additions & 8 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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand Down
32 changes: 16 additions & 16 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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand All @@ -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 All @@ -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",
Expand Down
Loading

0 comments on commit be6bd39

Please sign in to comment.