internet node

This commit is contained in:
notplants 2023-07-17 15:10:15 +02:00
parent ad6069361e
commit 6fcd4b2b36
7 changed files with 50 additions and 5 deletions

View File

@ -18,4 +18,5 @@ HOST_TO_IP = {
"thimmanayaka": "10.56.39.34",
"bambino": "10.56.0.102",
"ddhills": "10.56.39.66",
"bangalore": "165.22.213.86"
}

View File

@ -115,8 +115,12 @@ class CowmeshRouterIperfTester:
except:
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_b in NODES:
for node_b in destination_nodes:
if node_a == node_b:
await self.debug_log("skip self")
continue

14
iruway-data/plotly.html Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
test,date,mbps
jaaga->redcottage,2023-05-01,43.5
jaaga->new-gazebo2,2023-05-01,30.2
jaaga->guard,2023-05-01,3.72

1 jaaga->redcottage test 2023-05-01 date 43.5 mbps
1 test date mbps
2 jaaga->redcottage jaaga->redcottage 2023-05-01 43.5 43.5
3 jaaga->new-gazebo2 jaaga->new-gazebo2 2023-05-01 30.2 30.2
4 jaaga->guard jaaga->guard 2023-05-01 3.72 3.72

View File

@ -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()

10
scatter_plot.py Normal file
View File

@ -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")