Skip to content

Commit

Permalink
feat: 10gb tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Nov 26, 2024
1 parent edde2f0 commit a483731
Showing 1 changed file with 237 additions and 0 deletions.
237 changes: 237 additions & 0 deletions netsim/sims/iroh_v2/iroh_10gb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
{
"name": "iroh_cust_10gb",
"cases": [
{
"name": "1_to_1",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 1,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
},
{
"name": "1_to_3",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 3,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
},
{
"name": "1_to_5",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 5,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
},
{
"name": "1_to_10",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 1,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 10,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
},
{
"name": "2_to_2",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 2,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
},
{
"name": "2_to_4",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 4,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
},
{
"name": "2_to_6",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 6,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
},
{
"name": "2_to_10",
"description": "",
"nodes": [
{
"name": "i_srv",
"count": 2,
"cmd": "./bins/iroh-transfer provide --size=10G",
"type": "public",
"wait": 10,
"connect": {
"strategy": "none"
},
"param_parser": "iroh_ticket_v2"
},
{
"name": "i_get",
"count": 10,
"cmd": "time ./bins/iroh-transfer fetch %s",
"type": "public",
"connect": {
"strategy": "params",
"node": "i_srv"
},
"process": "short",
"parser": "iroh_cust_10gb"
}
]
}
]
}

0 comments on commit a483731

Please sign in to comment.