fix bug 3185: rvitals NODE lcds has no output on rhels6.2 and NGP Flex blades
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
933b5e0983
commit
7c754c200e
@ -429,7 +429,7 @@ sub lcds {
|
||||
}
|
||||
}
|
||||
|
||||
if( $type =~ /lpar/ ) {
|
||||
if( $type =~ /lpar|blade/ ) {
|
||||
$action = "query_lcds";
|
||||
} else {
|
||||
$action = "cec_query_lcds";
|
||||
|
@ -3874,7 +3874,11 @@ sub filter_nodes{
|
||||
push @{$mpnodes}, @ngpfsp;
|
||||
}
|
||||
} elsif ($cmd eq "rvitals") {
|
||||
push @{$mpnodes}, @ngpfsp;
|
||||
if (@args && (grep /^lcds$/,@args)) {
|
||||
push @{$fspnodes},@ngpfsp;
|
||||
} else {
|
||||
push @{$mpnodes}, @ngpfsp;
|
||||
}
|
||||
} else {
|
||||
push @{$fspnodes}, @ngpfsp;
|
||||
}
|
||||
|
@ -176,7 +176,11 @@ sub filter_nodes{
|
||||
push @{$mpnodes}, @ngpfsp;
|
||||
}
|
||||
} elsif ($cmd eq "rvitals") {
|
||||
push @{$mpnodes},@ngpfsp;
|
||||
if (@args && (grep /^lcds$/,@args)) {
|
||||
push @{$fspnodes}, @ngpfsp;
|
||||
} else {
|
||||
push @{$mpnodes},@ngpfsp;
|
||||
}
|
||||
} else {
|
||||
push @{$fspnodes}, @ngpfsp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user