modified the comments

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2010-08-09 06:56:18 +00:00
parent 72be03e99d
commit 536da9df52

@ -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;