From e215c27a3c1154fd28fd4e6d4c402cbd3fee7932 Mon Sep 17 00:00:00 2001 From: WangXiaoPeng Date: Wed, 22 Apr 2015 23:43:19 -0400 Subject: [PATCH] energy.pm, remove the stanby fsp/bmc check since CIM interface has problem to do it. So that means if some attributes cannot be supported on stanby fsp, there might be issues. Will fix it when really encounter it. --- xCAT-server/lib/xcat/plugins/energy.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/energy.pm b/xCAT-server/lib/xcat/plugins/energy.pm index 528ca128b..c39b43ab9 100644 --- a/xCAT-server/lib/xcat/plugins/energy.pm +++ b/xCAT-server/lib/xcat/plugins/energy.pm @@ -774,12 +774,6 @@ sub run_cim } } delete $http_params->{timeout}; - # check whether the primary ip of fsp is the IP we are accessing - if (defined ($value->[0]->{property}->{PrimaryFSP_IP}->{value}) && $value->[0]->{property}->{PrimaryFSP_IP}->{value} ne $http_params->{ip}) { - # run against the standby fsp, do the next one - return 11; - } - # ======start to handle the query and setting======