nodedistro_f22 and step reset-node
Thierry Parmentelat [Wed, 24 Jun 2015 06:16:45 +0000 (08:16 +0200)]
system/TestNode.py
system/TestPlc.py
system/macros.py

index dad8546..f3f5d21 100644 (file)
@@ -228,6 +228,8 @@ class TestNode:
         return self.nodedistro_set('f20')
     def nodedistro_f21(self):
         return self.nodedistro_set('f21')
+    def nodedistro_f22(self):
+        return self.nodedistro_set('f22')
     def nodedistro_set(self, distro):
         "set the fcdistro tag to distro, passed in arg"
         self.test_plc.apiserver.SetNodeFcdistro(self.test_plc.auth_root(),
index 8d37f86..65d05de 100644 (file)
@@ -1213,6 +1213,8 @@ class TestPlc:
     @node_mapper
     def nodedistro_f21(self): pass
     @node_mapper
+    def nodedistro_f22(self): pass
+    @node_mapper
     def nodeflavour_show(self): pass
     @node_mapper
     def nodeplain_on(self): pass
index 714797f..04a0af6 100644 (file)
@@ -189,7 +189,7 @@ qemu_kill_mine nodestate_reinstall qemu_local_init bootcd qemu_local_config
 qemu_clean_mine qemu_export qemu_start qemu_timestamp qemu_nodefamily
 """.split()
 
-sequences['reset_node'] = "qemu-kill-mine qemu-start"
+sequences['reset_node'] = "qemu-kill-mine qemu-start".split()
 
 sequences['bonding_node'] = 'node start-node'.split()