Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
verktoy
PyMetric
Commits
10f6f1ae
Commit
10f6f1ae
authored
Jan 14, 2020
by
Otto Jonassen Wittner
Browse files
Made linkloads operative again
parent
639671af
Changes
3
Hide whitespace changes
Inline
Side-by-side
config.py
View file @
10f6f1ae
...
...
@@ -8,7 +8,7 @@ class Config():
'max_metric'
:
63
,
'use_areas'
:
1
,
'use_linkloads'
:
1
,
'linkloads_host'
:
'
drift
.uninett.no'
,
'linkloads_host'
:
'
stats
.uninett.no'
,
'linkloads_url'
:
'/nett/ip-nett/load-now'
}
...
...
requirements.txt
View file @
10f6f1ae
matplotlib
networkx
=
=2.2
networkx
>
=2.2
gnureadline
utils.py
View file @
10f6f1ae
...
...
@@ -95,6 +95,8 @@ def read_linkloads(G, host, url):
return
{}
conn
.
close
()
data1
=
data1
.
decode
(
"utf-8"
)
# Convert input data to string
loads_by_descr
=
{}
retloads
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment