diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index f3b601e6d..bb6b52dca 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -3276,12 +3276,14 @@ sub filter_nodes{ 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; } + if (grep /^(network|textid)/, @args) { + push @{$mpnodes}, @ngpbmc; + } else { + push @{$bmcnodes}, @ngpbmc; + } } elsif($cmd eq "getmacs") { if (@args && (grep /^-D$/,@args)) { push @{$fspnodes}, @ngpfsp; @@ -3295,7 +3297,11 @@ sub filter_nodes{ push @{$mpnodes}, @ngpfsp; } } elsif ($cmd eq "renergy") { - push @{$mpnodes}, @ngpbmc; + if (grep /^(relhistogram)/, @args) { + push @{$bmcnodes}, @ngpbmc; + } else { + push @{$mpnodes}, @ngpbmc; + } push @{$mpnodes}, @ngpfsp; } else { push @{$fspnodes}, @ngpfsp;