Class: OpsManagerUiDrivers::Version15::Settings::Vsphere
- Inherits:
-
Object
- Object
- OpsManagerUiDrivers::Version15::Settings::Vsphere
- Defined in:
- lib/ops_manager_ui_drivers/version15/settings.rb
Class Method Summary collapse
Instance Method Summary collapse
- #advanced_infrastructure_config_fields ⇒ Object
- #iaas_configuration_fields ⇒ Object
-
#initialize(test_settings) ⇒ Vsphere
constructor
A new instance of Vsphere.
Constructor Details
#initialize(test_settings) ⇒ Vsphere
Returns a new instance of Vsphere.
46 47 48 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 46 def initialize(test_settings) @test_settings = test_settings end |
Class Method Details
.works_with?(iaas_type) ⇒ Boolean
42 43 44 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 42 def self.works_with?(iaas_type) iaas_type == 'vsphere' end |
Instance Method Details
#advanced_infrastructure_config_fields ⇒ Object
63 64 65 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 63 def advanced_infrastructure_config_fields { } end |
#iaas_configuration_fields ⇒ Object
50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 50 def iaas_configuration_fields { 'vcenter_ip' => test_settings.ops_manager.vcenter.creds.ip, 'vcenter_username' => test_settings.ops_manager.vcenter.creds.username, 'vcenter_password' => test_settings.ops_manager.vcenter.creds.password, 'datacenter' => test_settings.ops_manager.vcenter.datacenter, 'datastores_string' => test_settings.ops_manager.vcenter.persistent_datastore, 'microbosh_vm_folder' => test_settings.ops_manager.vcenter.bosh_vm_folder, 'microbosh_template_folder' => test_settings.ops_manager.vcenter.bosh_template_folder, 'microbosh_disk_path' => test_settings.ops_manager.vcenter.bosh_disk_path, } end |