git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename steps for consistency into nodestate_{reinstall,safeboot,boot}
[tests.git]
/
system
/
TestNode.py
diff --git
a/system/TestNode.py
b/system/TestNode.py
index
380d8a9
..
5d8771b
100644
(file)
--- a/
system/TestNode.py
+++ b/
system/TestNode.py
@@
-135,16
+135,21
@@
class TestNode:
file(filename,'w').write(base64.b64decode(encoded))
return True
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
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
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
def configure_qemu(self):
if not self.is_qemu():
return