Skip to content

Commit

Permalink
Add a method to get webmks tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Feb 9, 2017
1 parent 7c7db50 commit dad0246
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/manageiq/providers/vmware/infra_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ def vm_acquire_ticket(vm, options = {})
end
alias_method :vm_remote_console_acquire_ticket, :vm_acquire_ticket

def vm_acquire_webmks_ticket(vm, options = {})
vm_acquire_ticket(vm, options.merge(:ticket_type => 'webmks'))
end
alias_method :vm_remote_console_acquire_webmks_ticket, :vm_acquire_webmks_ticket

def vm_add_miq_alarm(vm, _options = {})
result = nil
vm.with_provider_object do |vim_vm|
Expand Down

0 comments on commit dad0246

Please sign in to comment.