git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't advertise peer nodes in the RSpec
[sfa.git]
/
sfa
/
plc
/
network.py
diff --git
a/sfa/plc/network.py
b/sfa/plc/network.py
index
ffa643f
..
c6dad6e
100644
(file)
--- a/
sfa/plc/network.py
+++ b/
sfa/plc/network.py
@@
-454,7
+454,7
@@
class Network:
"""
def get_sites(self, api):
tmp = []
"""
def get_sites(self, api):
tmp = []
- for site in api.plshell.GetSites(api.plauth):
+ for site in api.plshell.GetSites(api.plauth
, {'peer_id': None}
):
t = site['site_id'], Site(self, site)
tmp.append(t)
return dict(tmp)
t = site['site_id'], Site(self, site)
tmp.append(t)
return dict(tmp)
@@
-465,7
+465,7
@@
class Network:
"""
def get_nodes(self, api):
tmp = []
"""
def get_nodes(self, api):
tmp = []
- for node in api.plshell.GetNodes(api.plauth):
+ for node in api.plshell.GetNodes(api.plauth
, {'peer_id': None}
):
t = node['node_id'], Node(self, node)
tmp.append(t)
return dict(tmp)
t = node['node_id'], Node(self, node)
tmp.append(t)
return dict(tmp)