Skip to content

Commit

Permalink
chore: promote new sims
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Dec 4, 2024
1 parent a483731 commit f0fdc90
Show file tree
Hide file tree
Showing 7 changed files with 157 additions and 160 deletions.
3 changes: 0 additions & 3 deletions netsim/scripts/project_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ cp ../../fixtures/direct_relay.cfg direct_relay.cfg
cp ../../fixtures/relay.direct.config.toml relay.direct.config.toml
cp ../../fixtures/1MB.bin 1MB.bin
cp ../../fixtures/hello.bin hello.bin
cp ../../fixtures/generate_files.sh generate_files.sh
cp ../../fixtures/bulk_files_test_setup.sh bulk_files_test_setup.sh
./bulk_files_test_setup.sh
24 changes: 12 additions & 12 deletions netsim/sims/integration/iroh.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 1,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -39,18 +39,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 3,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -68,18 +68,18 @@
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 2,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -97,18 +97,18 @@
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 4,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand Down
24 changes: 12 additions & 12 deletions netsim/sims/integration/relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh --config data/relay.config.toml start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M --relay-url=\"http://10.0.0.1:3340\"",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s --relay-url=\"http://10.0.0.1:3340\"",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -60,18 +60,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh --config data/relay.config.toml start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M --relay-url=\"http://10.0.0.1:3340\"",
"type": "nat",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s --relay-url=\"http://10.0.0.1:3340\"",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -101,18 +101,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh --config data/relay.config.toml start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M --relay-url=\"http://10.0.0.1:3340\"",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s --relay-url=\"http://10.0.0.1:3340\"",
"type": "nat",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -142,18 +142,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh --config data/relay.config.toml start --add data/1MB.bin",
"cmd": "./bins/iroh-transfer provide --size=1M --relay-url=\"http://10.0.0.1:3340\"",
"type": "nat",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s --relay-url=\"http://10.0.0.1:3340\"",
"type": "nat",
"connect": {
"strategy": "params",
Expand Down
48 changes: 24 additions & 24 deletions netsim/sims/iroh/iroh.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 1,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -37,18 +37,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 3,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -66,18 +66,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 5,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -95,18 +95,18 @@
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 10,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -124,18 +124,18 @@
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 2,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -153,18 +153,18 @@
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 4,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -182,18 +182,18 @@
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 6,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -211,18 +211,18 @@
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh start --add data/1G.bin",
"cmd": "./bins/iroh-transfer provide --size=1G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket"
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 10,
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
Expand Down
Loading

0 comments on commit f0fdc90

Please sign in to comment.