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
Don't enable the "Pending Sites". PLE is using 'enabled' key to mark the pending...
[monitor.git]
/
monitor
/
getsshkeys.py
diff --git
a/monitor/getsshkeys.py
b/monitor/getsshkeys.py
index
7b7d271
..
686252b
100755
(executable)
--- a/
monitor/getsshkeys.py
+++ b/
monitor/getsshkeys.py
@@
-143,9
+143,9
@@
class SSHKnownHosts:
for net in node["interface_ids"]:
nodenetworks.append(net)
for net in node["interface_ids"]:
nodenetworks.append(net)
- plcnodenetworks = self.api.GetInterfaces(self.auth,nodenetworks,["
nodenetwork
_id","ip"])
+ plcnodenetworks = self.api.GetInterfaces(self.auth,nodenetworks,["
interface
_id","ip"])
for n in plcnodenetworks:
for n in plcnodenetworks:
- self.nodenetworks[n["
nodenetwork
_id"]]=n
+ self.nodenetworks[n["
interface
_id"]]=n
return nodes
def _record_from_node(self, node, nokey_list=None):
return nodes
def _record_from_node(self, node, nokey_list=None):