From 875183516fecfe759eae3efe1880fd245fba9fd1 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 29 Jan 2008 20:35:25 +0000 Subject: [PATCH] use plcsh instead of xmlrpc --- qaapi/qa/tests/boot_node.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qaapi/qa/tests/boot_node.py b/qaapi/qa/tests/boot_node.py index 036ab9c..5d043c5 100644 --- a/qaapi/qa/tests/boot_node.py +++ b/qaapi/qa/tests/boot_node.py @@ -1,3 +1,5 @@ +#!/usr/bin/env /usr/share/plc_api/plcsh + import os,sys import base64 from Test import Test @@ -11,16 +13,14 @@ class boot_node(Test): """ def call(self, hostname, image_type = 'node-iso', disk_size="4G"): - api = self.config.api - auth = self.config.auth tdir = "/tmp/" # validate hostname - nodes = api.GetNodes(auth, [hostname], ['hostname']) + nodes = GetNodes([hostname], ['hostname']) if not nodes: raise Exception, "No such node %(hostname)s" % locals() - bootimage = api.GetBootMedium(auth, hostname, image_type, '') + bootimage = GetBootMedium(hostname, image_type, '') bootimage_path = '/%(tdir)s/%(hostname)s-bootcd.iso' % locals() if self.config.verbose: -- 2.47.0