Skip to content

Commit

Permalink
Merge pull request #22951 from agrare/fix_container_manager_aggregate…
Browse files Browse the repository at this point in the history
…_cpu_memory_methods

Fix aggregate_cpu/memory utilization methods for Containers

(cherry picked from commit 5a25f61)
  • Loading branch information
Fryguy committed Mar 28, 2024
1 parent b22eb25 commit e4479a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/manageiq/providers/container_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ class ContainerManager < BaseManager
:dependent => :destroy

virtual_column :port_show, :type => :string
virtual_sum :aggregate_cpu_speed, :computer_system_hardwares, :aggregate_cpu_speed
virtual_sum :aggregate_cpu_total_cores, :computer_system_hardwares, :cpu_total_cores
virtual_sum :aggregate_disk_capacity, :computer_system_hardwares, :disk_capacity
virtual_sum :aggregate_memory, :computer_system_hardwares, :memory_mb
virtual_sum :aggregate_physical_cpus, :computer_system_hardwares, :cpu_sockets

supports :authentication_status
supports :metrics
Expand Down

0 comments on commit e4479a1

Please sign in to comment.