Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update cli args #45

Merged
merged 4 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading