From c16a9a31d75069ad991ad64efdffe5524de7ac4d Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 28 Mar 2013 08:04:37 +0000 Subject: [PATCH] support rspconfig system-x-node network=* git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15693 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; }