PyMetric merge requestshttps://scm.uninett.no/verktoy/PyMetric/-/merge_requests2023-09-15T10:19:25+02:00https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/19model.py: apply int() conversion when getting capacity.2023-09-15T10:19:25+02:00Håvard Eidnesmodel.py: apply int() conversion when getting capacity.Should fix issue#19:
(sim) >>> linkinfo notodden-gw2 drammen-gw3
Information for link (notodden-gw2,drammen-gw3):
name : notodden-drammen
betweenness : 0.004 (4.75% of max, 38.47% of avg)
capacity : 10Gbit/s
load ...Should fix issue#19:
(sim) >>> linkinfo notodden-gw2 drammen-gw3
Information for link (notodden-gw2,drammen-gw3):
name : notodden-drammen
betweenness : 0.004 (4.75% of max, 38.47% of avg)
capacity : 10Gbit/s
load : NA
utilization : NA
(sim) >>>https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/18Deal with deprecations in python networkx 3.1.2023-09-07T16:32:25+02:00Håvard EidnesDeal with deprecations in python networkx 3.1.edge_betweenness() became edge_betweenness_centrality(),
and is_string_like() became isinstance(obj, str).edge_betweenness() became edge_betweenness_centrality(),
and is_string_like() became isinstance(obj, str).https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/17pymetric: make "python" be a variable, and use it.2023-03-17T13:17:49+01:00Håvard Eidnespymetric: make "python" be a variable, and use it.Set here to python3, as the current code is adapted to it.Set here to python3, as the current code is adapted to it.https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/16Adapt to newer networkx, which refuses hold=True argument.2022-03-04T10:55:40+01:00Håvard EidnesAdapt to newer networkx, which refuses hold=True argument.https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/15Fix netsplit2019-12-03T13:19:17+01:00Runar BorgeFix netsplitFix #18 and #5 Allow for split-brain-net without tracebackingFix #18 and #5 Allow for split-brain-net without tracebackinghttps://scm.uninett.no/verktoy/PyMetric/-/merge_requests/14Python32019-12-02T09:47:55+01:00Runar BorgePython3This is a merge on the current status of the PyMetric python3 repository,
for now this branch is partly tested but this needs more verification and testing to be confirmed.This is a merge on the current status of the PyMetric python3 repository,
for now this branch is partly tested but this needs more verification and testing to be confirmed.https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/11Fixes #9 integer displayed as float2019-12-02T14:41:09+01:00Morten KnutsenFixes #9 integer displayed as float*Created by: runborg*
in `info [router]` costs in the longest path field is displayed as floats.
As for in pymetric all weights are whole numbers, thous the decimal is not needed.*Created by: runborg*
in `info [router]` costs in the longest path field is displayed as floats.
As for in pymetric all weights are whole numbers, thous the decimal is not needed.https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/8Added exit command2019-12-03T13:21:10+01:00Morten KnutsenAdded exit command*Created by: runborg*
for now only `quit` and `ctrl+d` is supported. added support for `exit`*Created by: runborg*
for now only `quit` and `ctrl+d` is supported. added support for `exit`https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/10Fixes #3 and #4 G.neighbors return iter and not list2019-12-03T13:20:11+01:00Morten KnutsenFixes #3 and #4 G.neighbors return iter and not list*Created by: runborg*
After upgrade of networkx G.neighbors returns a iter object and not a
list, this makes the code fail on some point.*Created by: runborg*
After upgrade of networkx G.neighbors returns a iter object and not a
list, this makes the code fail on some point.https://scm.uninett.no/verktoy/PyMetric/-/merge_requests/13Fixes #12 Missing variables on string formatting2019-12-02T14:31:58+01:00Morten KnutsenFixes #12 Missing variables on string formatting*Created by: runborg*
In the "No valid path" strings it prints %s instead of node names*Created by: runborg*
In the "No valid path" strings it prints %s instead of node nameshttps://scm.uninett.no/verktoy/PyMetric/-/merge_requests/2Work also with newer networkx (tested with 2.1).2018-10-17T10:25:37+02:00Morten KnutsenWork also with newer networkx (tested with 2.1).*Created by: he32*
Reportedly still works with old version.
This a suggested fix for isue #1.
*Created by: he32*
Reportedly still works with old version.
This a suggested fix for isue #1.