git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
077f8b5
)
comments
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sat, 9 Mar 2013 23:29:16 +0000
(18:29 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sat, 9 Mar 2013 23:29:16 +0000
(18:29 -0500)
PLC/Nodes.py
patch
|
blob
|
history
diff --git
a/PLC/Nodes.py
b/PLC/Nodes.py
index
a023742
..
aad0c81
100644
(file)
--- a/
PLC/Nodes.py
+++ b/
PLC/Nodes.py
@@
-346,6
+346,9
@@
class Nodes(list):
self.append(node)
def refresh(self, api):
+ """
+ Import node records from nova.
+ """
from PLC.Sites import Sites
default_site = Sites(api, site_filter={'login_base': 'default'})[0]
# get current list of compute nodes