mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-06 10:18:20 +00:00
Skip scanning an mpa if nodetype is not blade
To many things are using mp table. Use nodetype blade to indicate it's really a 'blade' (specifically the BladeCenter/Flex variety).
This commit is contained in:
@@ -4255,6 +4255,9 @@ sub preprocess_request {
|
||||
foreach my $node (@$noderange) {
|
||||
my $ent = $mptabhash->{$node}->[0]; #$mptab->getNodeAttribs($node,['mpa', 'id']);
|
||||
my $mpaent;
|
||||
if ($request->{command}->[0] eq 'findme' and $ent->{nodetype} ne 'blade') {
|
||||
next;
|
||||
}
|
||||
if (defined($ent->{mpa})) {
|
||||
push @{ $mpa_hash{ $ent->{mpa} }{nodes} }, $node;
|
||||
unless ($mpatype{ $ent->{mpa} }) {
|
||||
|
Reference in New Issue
Block a user