Skip to content

Commit d6fc167

Browse files
committed
adding test json
1 parent 21e9004 commit d6fc167

File tree

4 files changed

+102
-1
lines changed

4 files changed

+102
-1
lines changed

webapp/static/js/webapp.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ function requestTraceRouteByTime(form_data) {
494494
handleEndCmdDisplay(d.graph[i].CmdOutput);
495495
}
496496

497-
console.info(JSON.stringify(data));
498497
console.info('continous traceroute', 'duration:',
499498
d.graph[i].ActualDuration, 'ms');
500499

webapp/tests/asviz/bwtester-d.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"graph": [
3+
{
4+
"Inserted": 1562683731800,
5+
"ActualDuration": 5041,
6+
"CSBandwidth": 80000,
7+
"CSThroughput": 80000,
8+
"SCBandwidth": 80000,
9+
"SCThroughput": 80000,
10+
"Error": "",
11+
"Path": "Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450",
12+
"Log": "t=2019-07-09T10:48:46-0400 lvl=dbug msg=\"Path selection algorithm choice\" path=\"Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450\" score=0.993\nt=2019-07-09T10:48:46-0400 lvl=dbug msg=\"Registered with dispatcher\" addr=\"1-ff00:0:111,[127.0.0.1]:30001 (UDP)\"\nClient DC \tNext Hop [127.0.0.74]:31070\tServer Host [127.0.0.2]:30101\nt=2019-07-09T10:48:46-0400 lvl=dbug msg=\"Registered with dispatcher\" addr=\"1-ff00:0:111,[127.0.0.1]:30002 (UDP)\"\n\nTest parameters:\nclientDCAddr -> serverDCAddr 1-ff00:0:111,[127.0.0.1]:30002 (UDP) -> 1-ff00:0:112,[127.0.0.2]:30101 (UDP)\nclient->server: 3 seconds, 1000 bytes, 30 packets\nserver->client: 3 seconds, 1000 bytes, 30 packets\n\nS->C results\nAttempted bandwidth: 80000 bps / 0.08 Mbps\nAchieved bandwidth: 80000 bps / 0.08 Mbps\nLoss rate: 0 %\nInterarrival time variance: 23ms, average interarrival time: 103ms\nInterarrival time min: 82ms, interarrival time max: 127ms\nWe need to sleep for 2 seconds before we can get the results\n\nC->S results\nAttempted bandwidth: 80000 bps / 0.08 Mbps\nAchieved bandwidth: 80000 bps / 0.08 Mbps\nLoss rate: 0 %\nInterarrival time variance: 23ms, average interarrival time: 103ms\nInterarrival time min: 82ms, interarrival time max: 126ms\n"
13+
}
14+
],
15+
"active": false
16+
}

webapp/tests/asviz/echo-d.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"graph": [
3+
{
4+
"Inserted": 1562683883823,
5+
"ActualDuration": 263,
6+
"ResponseTime": 13.352,
7+
"RunTime": 226.525,
8+
"PktLoss": 0,
9+
"CmdOutput": "Using path:\n Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450\n104 bytes from 1-ff00:0:112,[127.0.0.2] scmp_seq=0 time=13.352ms\n\n--- 1-ff00:0:112,[[127.0.0.2]] statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 226.525ms\n",
10+
"Path": "Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450",
11+
"Error": ""
12+
}
13+
],
14+
"active": false
15+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"graph": [
3+
{
4+
"Inserted": 1562179946689,
5+
"ActualDuration": 50,
6+
"TrHops": [
7+
{
8+
"HopIa": "1-ff00:0:111",
9+
"HopAddr": "127.0.0.74",
10+
"IntfID": 103,
11+
"RespTime1": 0.896,
12+
"RespTime2": 1.482,
13+
"RespTime3": 1.915
14+
},
15+
{
16+
"HopIa": "1-ff00:0:112",
17+
"HopAddr": "127.0.0.82",
18+
"IntfID": 4094,
19+
"RespTime1": 1.39,
20+
"RespTime2": 0.772,
21+
"RespTime3": 0.856
22+
},
23+
{
24+
"HopIa": "1-ff00:0:112",
25+
"HopAddr": "127.0.0.2",
26+
"IntfID": -1,
27+
"RespTime1": 1.057,
28+
"RespTime2": 0.85,
29+
"RespTime3": 0.866
30+
}
31+
],
32+
"CmdOutput": "Using path:\n Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450\n0 1-ff00:0:111,[127.0.0.74] IfID=103 896µs 1.482ms 1.915ms\n1 1-ff00:0:112,[127.0.0.82] IfID=4094 1.39ms 772µs 856µs\n2 1-ff00:0:112,[127.0.0.2] 1.057ms 850µs 866µs\n",
33+
"Path": "Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450",
34+
"Error": ""
35+
},
36+
{
37+
"Inserted": 1562179946298,
38+
"ActualDuration": 73,
39+
"TrHops": [
40+
{
41+
"HopIa": "1-ff00:0:111",
42+
"HopAddr": "127.0.0.74",
43+
"IntfID": 103,
44+
"RespTime1": 1.189,
45+
"RespTime2": 0.847,
46+
"RespTime3": 0.707
47+
},
48+
{
49+
"HopIa": "1-ff00:0:112",
50+
"HopAddr": "127.0.0.82",
51+
"IntfID": 4094,
52+
"RespTime1": 5.503,
53+
"RespTime2": 1.127,
54+
"RespTime3": 1.486
55+
},
56+
{
57+
"HopIa": "1-ff00:0:112",
58+
"HopAddr": "127.0.0.2",
59+
"IntfID": -1,
60+
"RespTime1": 1.051,
61+
"RespTime2": 1.331,
62+
"RespTime3": 3.499
63+
}
64+
],
65+
"CmdOutput": "Using path:\n Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450\n0 1-ff00:0:111,[127.0.0.74] IfID=103 1.189ms 847µs 707µs\n1 1-ff00:0:112,[127.0.0.82] IfID=4094 5.503ms 1.127ms 1.486ms\n2 1-ff00:0:112,[127.0.0.2] 1.051ms 1.331ms 3.499ms\n",
66+
"Path": "Hops: [1-ff00:0:111 103>4094 1-ff00:0:112] Mtu: 1450",
67+
"Error": ""
68+
}
69+
],
70+
"active": false
71+
}

0 commit comments

Comments
 (0)