Skip to content

Commit

Permalink
Expose quota request calculation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcarman committed Aug 31, 2023
1 parent 77362e6 commit f6ebd29
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class MiqAeServiceVmOrTemplate < MiqAeServiceModelBase
expose :changed_vm_value?
expose :refresh, :method => :refresh_ems
expose :evacuate
expose :memory_for_request # TODO: Move into Template only class
expose :number_of_cpus_for_request # TODO: Move into Template only class

METHODS_WITH_NO_ARGS = %w[start stop suspend unregister collect_running_processes shutdown_guest standby_guest reboot_guest].freeze
METHODS_WITH_NO_ARGS.each do |m|
Expand Down

0 comments on commit f6ebd29

Please sign in to comment.