From 03eb28bb4612906b70e8c6b25acd472f6218402b Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 28 Mar 2013 08:17:39 +0000 Subject: [PATCH] lsslp --flexdiscover enhancement git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index d5abd26ed..5bfb5a12b 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -3231,19 +3231,22 @@ sub filter_nodes{ # common power node push @commonfsp, $_; } elsif (defined ($ipmitabhash->{$_}->[0]) && defined ($ipmitabhash->{$_}->[0]->{'bmc'})) { - # common power node + # common bmc node push @commonbmc, $_; } else { push @unknow, $_; } } - push @{$mpnodes}, @mp; + push @{$mpnodes}, @mp;#blade.pm push @{$fspnodes}, @commonfsp; push @{$bmcnodes}, @commonbmc; if (@args && ($cmd eq "rspconfig")) { if (!(grep /^(cec_off_policy|pending_power_on_side)/, @args)) { push @{$mpnodes}, @ngpfsp; + if (grep /^(network=)/, @args) { + push @{$mpnodes}, @ngpbmc; + } } else { push @{$fspnodes}, @ngpfsp; }