2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 10:50:28 +00:00

check stanby fsp ip

This commit is contained in:
daniceexi
2014-12-23 10:12:54 -05:00
parent 06f4eca23b
commit 378c162578

View File

@ -486,6 +486,11 @@ sub run_cim
return 1;
}
}
# 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======