rename steps for consistency into nodestate_{reinstall,safeboot,boot}
[tests.git] / system / TestNode.py
index 380d8a9..5d8771b 100644 (file)
@@ -135,16 +135,21 @@ class TestNode:
             file(filename,'w').write(base64.b64decode(encoded))
             return True
 
-    def reinstall_node (self):
+    def nodestate_reinstall (self):
         self.test_plc.apiserver.UpdateNode(self.test_plc.auth_root(),
                                            self.name(),{'boot_state':'reinstall'})
         return True
     
-    def safeboot_node (self):
+    def nodestate_safeboot (self):
         self.test_plc.apiserver.UpdateNode(self.test_plc.auth_root(),
                                            self.name(),{'boot_state':'safeboot'})
         return True
     
+    def nodestate_safeboot (self):
+        self.test_plc.apiserver.UpdateNode(self.test_plc.auth_root(),
+                                           self.name(),{'boot_state':'boot'})
+        return True
+    
     def configure_qemu(self):
         if not self.is_qemu():
             return