internet node
This commit is contained in:
parent
ad6069361e
commit
6fcd4b2b36
|
@ -18,4 +18,5 @@ HOST_TO_IP = {
|
||||||
"thimmanayaka": "10.56.39.34",
|
"thimmanayaka": "10.56.39.34",
|
||||||
"bambino": "10.56.0.102",
|
"bambino": "10.56.0.102",
|
||||||
"ddhills": "10.56.39.66",
|
"ddhills": "10.56.39.66",
|
||||||
|
"bangalore": "165.22.213.86"
|
||||||
}
|
}
|
|
@ -115,8 +115,12 @@ class CowmeshRouterIperfTester:
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# destination nodes includes all routers plus an additional node in bangalore
|
||||||
|
# to test the connection the public internet
|
||||||
|
destination_nodes = NODES + "bangalore"
|
||||||
|
|
||||||
for node_a in NODES:
|
for node_a in NODES:
|
||||||
for node_b in NODES:
|
for node_b in destination_nodes:
|
||||||
if node_a == node_b:
|
if node_a == node_b:
|
||||||
await self.debug_log("skip self")
|
await self.debug_log("skip self")
|
||||||
continue
|
continue
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,4 @@
|
||||||
|
test,date,mbps
|
||||||
jaaga->redcottage,2023-05-01,43.5
|
jaaga->redcottage,2023-05-01,43.5
|
||||||
jaaga->new-gazebo2,2023-05-01,30.2
|
jaaga->new-gazebo2,2023-05-01,30.2
|
||||||
jaaga->guard,2023-05-01,3.72
|
jaaga->guard,2023-05-01,3.72
|
||||||
|
|
|
|
@ -1,4 +0,0 @@
|
||||||
import plotly.express as px
|
|
||||||
df = px.data.gapminder().query("continent == 'Oceania'")
|
|
||||||
fig = px.line(df, x='date', y='mbps', color='test', markers=True)
|
|
||||||
fig.show()
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
import plotly.express as px
|
||||||
|
|
||||||
|
import pandas as pd
|
||||||
|
csv_path = "/home/notplants/computer/projects/janastu-mesh/cowmesh-network-test/iruway-data/results.csv"
|
||||||
|
df = pd.read_csv(csv_path)
|
||||||
|
# print(df)
|
||||||
|
|
||||||
|
fig = px.scatter(df, x='date', y='mbps', color='test')
|
||||||
|
# fig.show()
|
||||||
|
fig.write_html("/home/notplants/computer/projects/janastu-mesh/cowmesh-network-test/iruway-data/plotly.html")
|
Loading…
Reference in New Issue