Skip to content

Commit

Permalink
feat: update iroh commands
Browse files Browse the repository at this point in the history
* blob -> blobs
  • Loading branch information
dignifiedquire authored Jul 22, 2024
1 parent 6b6fc40 commit 1bad7aa
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 58 deletions.
8 changes: 4 additions & 4 deletions netsim/sims/example/relay_direct.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -71,7 +71,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -112,7 +112,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "nat",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -153,7 +153,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.direct.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "nat",
"connect": {
"strategy": "params",
Expand Down
10 changes: 5 additions & 5 deletions netsim/sims/integration/iroh.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -50,7 +50,7 @@
{
"name": "iroh_get",
"count": 3,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -79,7 +79,7 @@
{
"name": "iroh_get",
"count": 2,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -108,7 +108,7 @@
{
"name": "iroh_get",
"count": 4,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -120,4 +120,4 @@
]
}
]
}
}
8 changes: 4 additions & 4 deletions netsim/sims/integration/relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -71,7 +71,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -112,7 +112,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "nat",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -153,7 +153,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh --config data/relay.config.toml blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh --config data/relay.config.toml blobs get --start %s --out STDOUT > /dev/null",
"type": "nat",
"connect": {
"strategy": "params",
Expand Down
18 changes: 9 additions & 9 deletions netsim/sims/iroh/iroh.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -48,7 +48,7 @@
{
"name": "iroh_get",
"count": 3,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -77,7 +77,7 @@
{
"name": "iroh_get",
"count": 5,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -106,7 +106,7 @@
{
"name": "iroh_get",
"count": 10,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -135,7 +135,7 @@
{
"name": "iroh_get",
"count": 2,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -164,7 +164,7 @@
{
"name": "iroh_get",
"count": 4,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -193,7 +193,7 @@
{
"name": "iroh_get",
"count": 6,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -222,7 +222,7 @@
{
"name": "iroh_get",
"count": 10,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -234,4 +234,4 @@
]
}
]
}
}
18 changes: 9 additions & 9 deletions netsim/sims/iroh/iroh_200ms.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -53,7 +53,7 @@
{
"name": "iroh_get",
"count": 3,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -87,7 +87,7 @@
{
"name": "iroh_get",
"count": 5,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -121,7 +121,7 @@
{
"name": "iroh_get",
"count": 10,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -155,7 +155,7 @@
{
"name": "iroh_get",
"count": 2,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -189,7 +189,7 @@
{
"name": "iroh_get",
"count": 4,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -223,7 +223,7 @@
{
"name": "iroh_get",
"count": 6,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -257,7 +257,7 @@
{
"name": "iroh_get",
"count": 10,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -274,4 +274,4 @@
]
}
]
}
}
18 changes: 9 additions & 9 deletions netsim/sims/iroh/iroh_20ms.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"name": "iroh_get",
"count": 1,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -53,7 +53,7 @@
{
"name": "iroh_get",
"count": 3,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -87,7 +87,7 @@
{
"name": "iroh_get",
"count": 5,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -121,7 +121,7 @@
{
"name": "iroh_get",
"count": 10,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -155,7 +155,7 @@
{
"name": "iroh_get",
"count": 2,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -189,7 +189,7 @@
{
"name": "iroh_get",
"count": 4,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -223,7 +223,7 @@
{
"name": "iroh_get",
"count": 6,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand Down Expand Up @@ -257,7 +257,7 @@
{
"name": "iroh_get",
"count": 10,
"cmd": "time ./bins/iroh blob get --start %s --out STDOUT > /dev/null",
"cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null",
"type": "public",
"connect": {
"strategy": "params",
Expand All @@ -274,4 +274,4 @@
]
}
]
}
}
Loading

0 comments on commit 1bad7aa

Please sign in to comment.