Add timestamps to Nodes, PCUs and Interfaces to make concrete
[plcapi.git] / PLC / Methods / RebootNodeWithPCU.py
index 2a31e2b..88c2225 100644 (file)
@@ -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"