git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add timestamps to Nodes, PCUs and Interfaces to make concrete
[plcapi.git]
/
PLC
/
Methods
/
RebootNodeWithPCU.py
diff --git
a/PLC/Methods/RebootNodeWithPCU.py
b/PLC/Methods/RebootNodeWithPCU.py
index
2a31e2b
..
88c2225
100644
(file)
--- a/
PLC/Methods/RebootNodeWithPCU.py
+++ b/
PLC/Methods/RebootNodeWithPCU.py
@@
-75,6
+75,8
@@
class RebootNodeWithPCU(Method):
# p = pcu['ports'][i]
ret = reboot.reboot_api(node, pcu, testrun)
+ node.update_last_pcu_reboot(commit=True) # commits new timestamp to node
+
self.event_objects = {'Node': [node['node_id']]}
self.message = "RebootNodeWithPCU called"