From 536da9df52e791f48fb5596cd052a4d965e39103 Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 9 Aug 2010 06:56:18 +0000 Subject: [PATCH] modified the comments git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPUtils.pm | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/perl-xCAT/xCAT/FSPUtils.pm b/perl-xCAT/xCAT/FSPUtils.pm index 65a32de0b..619571d77 100644 --- a/perl-xCAT/xCAT/FSPUtils.pm +++ b/perl-xCAT/xCAT/FSPUtils.pm @@ -57,7 +57,7 @@ my $utildata; #data to persist locally Error: none Example: - my $res = xCAT::Utils::fsp_api_action( $node_name, $d, "add_connection", $tooltype ); + my $res = xCAT::FSPUtils::fsp_api_action( $node_name, $d, "add_connection", $tooltype ); Comments: =cut @@ -159,7 +159,7 @@ sub fsp_api_action { Error: none Example: - my $res = xCAT::Utils::fsp_state_action( $cec_bpa, $type, $action, $tooltype ); + my $res = xCAT::FSPUtils::fsp_state_action( $cec_bpa, $type, $action, $tooltype ); Comments: =cut @@ -187,15 +187,6 @@ sub fsp_state_action { $fsp_name = $node_name; - #my %objhash = (); - #$objhash{$fsp_name} = "node"; - #my %myhash = xCAT::DBobjUtils->getobjdefs(\%objhash); - #my $password = $myhash{$fsp_name}{"passwd.HMC"}; - #if(!$password ) { - # $res = "The password.HMC of $fsp_name in ppcdirect table is empty"; - # return ([$node_name, $res, -1]); - #} - #my $user = "HMC"; if($type_name =~ /^fsp$/ || $type_name =~ /^lpar$/) { $type = 0;