use fsp_api_action in FSPUtils

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2010-08-09 06:05:35 +00:00
parent 75cdd9afbd
commit 9318fb42e3

View File

@ -6,7 +6,8 @@ use Getopt::Long;
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
use xCAT::Usage;
use xCAT::PPCinv;
use Data::Dumper;
use xCAT::FSPUtils;
#use Data::Dumper;
##########################################
# Maps fsp-api attributes to text
@ -86,7 +87,7 @@ sub firmware {
@$d[4] = "fsp";
@$d[0] = 0;
}
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 $Rc = @$values[2];
my $data = @$values[1];
#print "values";