Skip to content

Commit

Permalink
chore: change cli args to drop addr field (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu authored Nov 24, 2023
1 parent be6bd39 commit dd49f4d
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 52 deletions.
6 changes: 3 additions & 3 deletions netsim/sims/example/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"name": "server",
"count": 1,
"cmd": "sendme server /var/lib/netsim/128MB.bin /var/lib/netsim/1GB.bin -a 0.0.0.0:4433",
"cmd": "sendme server /var/lib/netsim/128MB.bin /var/lib/netsim/1GB.bin",
"type": "public",
"wait": 5,
"connect": {
Expand All @@ -34,7 +34,7 @@
{
"name": "server",
"count": 1,
"cmd": "sendme server /var/lib/netsim/128MB.bin /var/lib/netsim/1GB.bin -a 0.0.0.0:4433",
"cmd": "sendme server /var/lib/netsim/128MB.bin /var/lib/netsim/1GB.bin",
"type": "public",
"wait": 5,
"connect": {
Expand Down Expand Up @@ -66,7 +66,7 @@
{
"name": "server",
"count": 1,
"cmd": "sendme server /var/lib/netsim/128MB.bin /var/lib/netsim/1GB.bin -a 0.0.0.0:4433",
"cmd": "sendme server /var/lib/netsim/128MB.bin /var/lib/netsim/1GB.bin",
"type": "public",
"wait": 5,
"connect": {
Expand Down
2 changes: 1 addition & 1 deletion netsim/sims/example/sendme.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"name": "server",
"count": 1,
"cmd": "./bins/sendme provide -a 0.0.0.0:4433 --key keys/server_%d.key --auth-token gu2-RPLM7g86T66_qsib5xvAX7n_Wso6C51A5EL8qDY data/1G.bin",
"cmd": "./bins/sendme provide --key keys/server_%d.key --auth-token gu2-RPLM7g86T66_qsib5xvAX7n_Wso6C51A5EL8qDY data/1G.bin",
"type": "public",
"wait": 10,
"connect": {
Expand Down
8 changes: 4 additions & 4 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 --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin",
"cmd": "./bins/iroh --config data/derp.config.toml start --add data/1MB.bin",
"type": "public",
"wait": 10,
"connect": {
Expand Down Expand Up @@ -60,7 +60,7 @@
{
"name": "iroh_srv",
"count": 1,
"cmd": "./bins/iroh --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin",
"cmd": "./bins/iroh --config data/derp.config.toml start --add data/1MB.bin",
"type": "nat",
"wait": 10,
"connect": {
Expand Down Expand Up @@ -101,7 +101,7 @@
{
"name": "iroh_srv",
"count": 1,
"cmd": "./bins/iroh --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin",
"cmd": "./bins/iroh --config data/derp.config.toml start --add data/1MB.bin",
"type": "public",
"wait": 10,
"connect": {
Expand Down Expand Up @@ -142,7 +142,7 @@
{
"name": "iroh_srv",
"count": 1,
"cmd": "./bins/iroh --config data/derp.config.toml start -a 0.0.0.0:4433 --add data/1MB.bin",
"cmd": "./bins/iroh --config data/derp.config.toml start --add data/1MB.bin",
"type": "nat",
"wait": 10,
"connect": {
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 --add data/1MB.bin",
"cmd": "./bins/iroh start --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 --add data/1MB.bin",
"cmd": "./bins/iroh start --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 --add data/1MB.bin",
"cmd": "./bins/iroh start --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 --add data/1MB.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --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 --add data/1G.bin",
"cmd": "./bins/iroh start --add data/1G.bin",
"type": "public",
"wait": 10,
"connect": {
Expand Down
Loading

0 comments on commit dd49f4d

Please sign in to comment.