Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This part two from the 2.2 release. Make use of the throttling variable within the new vmware modules.
- Check to see if management node throttle is configured
#get Throttle value from database if set
my $xcat_throttle = 0;
my $variable_name = $self->data->get_management_node_hostname() . "|xcat|throttle";
if($self->data->is_variable_set($variable_name)){
notify($ERRORS {'DEBUG'}, 0, "throttle is set for $variable_name");
#fetch variable
$xcat_throttle = $self->data->get_variable($variable_name);
}
else{
notify($ERRORS{'DEBUG'}, 0, "throttle is not set for $variable_name");
$xcat_throttle = 0;
}