git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add sorting tables to the pcu view.
[monitor.git]
/
monitor
/
wrapper
/
plccache.py
diff --git
a/monitor/wrapper/plccache.py
b/monitor/wrapper/plccache.py
index
d4cfbbc
..
45f879c
100755
(executable)
--- a/
monitor/wrapper/plccache.py
+++ b/
monitor/wrapper/plccache.py
@@
-74,6
+74,7
@@
l_nodenetworks = None
plcdb_hn2lb = None
plcdb_lb2hn = None
plcdb_netid2ip = None
plcdb_hn2lb = None
plcdb_lb2hn = None
plcdb_netid2ip = None
+plcdb_id2lb = None
def init():
global l_sites
def init():
global l_sites
@@
-83,6
+84,7
@@
def init():
global plcdb_hn2lb
global plcdb_lb2hn
global plcdb_netid2ip
global plcdb_hn2lb
global plcdb_lb2hn
global plcdb_netid2ip
+ global plcdb_id2lb
api = plc.getCachedAuthAPI()
l_sites = api.GetSites({'peer_id':None},
api = plc.getCachedAuthAPI()
l_sites = api.GetSites({'peer_id':None},
@@
-101,6
+103,7
@@
def init():
plcdb_hn2lb = hn2lb
plcdb_lb2hn = lb2hn
plcdb_netid2ip = netid2ip
plcdb_hn2lb = hn2lb
plcdb_lb2hn = lb2hn
plcdb_netid2ip = netid2ip
+ plcdb_id2lb = id2lb
return l_nodes
return l_nodes