class MiqDevUtil::EMS
The External Management System (EMS
) class holds methods that apply to EMS
objects in ManageIQ.
Public Class Methods
get_credentials(ems, insecure=true)
click to toggle source
Return a hash containing the attributes that are commonly used to connect directly to the EMS
.
-
:host
-
:user
-
:password
-
:insecure
# File lib/miq_dev_util/ems.rb, line 11 def self.get_credentials(ems, insecure=true) { host: ems.hostname, user: ems.authentication_userid, password: ems.authentication_password, insecure: insecure } end