modified some special nodes' name

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-02-16 10:32:45 +00:00
parent d220152db1
commit 7482910243
2 changed files with 5 additions and 5 deletions

View File

@ -113,7 +113,7 @@ sub enumerate {
push @values, $data;
next;
}
if($data !~ "Connected") {
if($data !~ "Connected" && $data !~ "LINE UP" ) {
$data = "please check if the $node_name is coneected to the hardware server";
#push @output, [$node_name,$data,$Rc];
push @values, $data;
@ -160,13 +160,13 @@ sub enumerate {
foreach my $lpar (@list) {
$lpar =~ /lparname:\s+(\w+),\s+lparid:\s+(\d+),\s+state:/;
my $name = $1;
$name =~ s/\-//g;
$name =~ tr/A-Z/a-z/;
my $lparid = $2;
my $prof = $1;
my $server = $fsp;
my $ips = "";
my $port = "";
$name =~ s/\-//g;
$name =~ tr/A-Z/a-z/;
#####################################
# Save LPAR information

View File

@ -193,7 +193,7 @@ sub mkvm_parse_args {
}
$opt{target} = @{$request->{node}};
$opt{target} = $request->{node};
####################################
# No operands - add command name
@ -1389,7 +1389,7 @@ sub create {
my $profile;
my $starting_lpar_id = $opt->{i};
my $octant_conf_value = $opt->{o};
my $node_number =$opt->{target};
my $node_number =@{$opt->{target}};
#####################################
# Get source node information
#####################################