From 72be03e99d76c2852887a517edd7692270a8b009 Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 9 Aug 2010 06:40:45 +0000 Subject: [PATCH] use fsp_api_action in FSPUtils git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPflash.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perl-xCAT/xCAT/FSPflash.pm b/perl-xCAT/xCAT/FSPflash.pm index ead7bad76..e7c4146f7 100644 --- a/perl-xCAT/xCAT/FSPflash.pm +++ b/perl-xCAT/xCAT/FSPflash.pm @@ -11,8 +11,8 @@ use xCAT::Table; use Getopt::Long; use File::Spec; use xCAT::PPCrflash; -use Data::Dumper; -use xCAT::Utils; +#use Data::Dumper; +use xCAT::FSPUtils; use xCAT::FSPinv; use POSIX "WNOHANG"; use Storable qw(freeze thaw); @@ -320,7 +320,7 @@ sub fork_cmd { close( $parent ); $pipe = $child; - $res = xCAT::Utils::fsp_api_action( $node_name, $attrs, $action ); + $res = xCAT::FSPUtils::fsp_api_action( $node_name, $attrs, $action ); print "res\n"; print Dumper($res); my %output; @@ -423,7 +423,7 @@ sub rflash { if($flag2 > 1) { last; } - my $values = xCAT::Utils::fsp_api_action( $name, $d, "list_firmware_level"); + my $values = xCAT::FSPUtils::fsp_api_action( $name, $d, "list_firmware_level"); # my $level = xCAT::PPCcli::lslic( $exp, $d, $timeout ); my $Rc = @$values[2]; my $level = @$values[1];