- if not node.is_alive():
- print "*** WARNING: Skipping test %s: Node %s is not alive\n" % (
- name, node.get("hostname"))
- return
+ if len(args) >= 3:
+ user = args[2]
+
+ if len(args) >= 4:
+ identity = args[3]
+
+ node, ec = create_node(host, user, identity)
+
+ if not node.is_alive():
+ print "*** WARNING: Skipping test %s: Node %s is not alive\n" % (
+ name, node.get("hostname"))
+ return