Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8285 from nachandr/reenable_server_roles
Browse files Browse the repository at this point in the history
[RFR] Re-enable server roles for chargeback report validation tests
  • Loading branch information
izapolsk committed Dec 18, 2018
2 parents 012eb29 + bf894f5 commit ee3cccf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,14 @@ def verify_records_metrics_table(appliance, provider):
# Convert storage used in bytes to GB
average_storage_used = average_storage_used * math.pow(2, -30)

return {"average_cpu_used_in_mhz": average_cpu_used_in_mhz,
yield {"average_cpu_used_in_mhz": average_cpu_used_in_mhz,
"average_memory_used_in_mb": average_memory_used_in_mb,
"average_network_io": average_network_io,
"average_disk_io": average_disk_io,
"average_storage_used": average_storage_used,
"consumed_hours": consumed_hours}
appliance.server.settings.enable_server_roles(
'ems_metrics_coordinator', 'ems_metrics_collector')


def resource_cost(appliance, provider, metric_description, usage, description, rate_type,
Expand Down

0 comments on commit ee3cccf

Please sign in to comment.