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 Oct 27, 2023
1 parent 765fd14 commit 3ae6324
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
expose :number_of_cpus_for_request

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 3ae6324

Please sign in to comment.