Class: OpsManagerUiDrivers::Version16::Settings::Vcloud
- Inherits:
-
Object
- Object
- OpsManagerUiDrivers::Version16::Settings::Vcloud
- Defined in:
- lib/ops_manager_ui_drivers/version16/settings.rb
Class Method Summary collapse
Instance Method Summary collapse
- #advanced_infrastructure_config_fields ⇒ Object
- #iaas_configuration_fields ⇒ Object
-
#initialize(test_settings) ⇒ Vcloud
constructor
A new instance of Vcloud.
Constructor Details
#initialize(test_settings) ⇒ Vcloud
Returns a new instance of Vcloud.
16 17 18 |
# File 'lib/ops_manager_ui_drivers/version16/settings.rb', line 16 def initialize(test_settings) @test_settings = test_settings end |
Class Method Details
.works_with?(iaas_type) ⇒ Boolean
12 13 14 |
# File 'lib/ops_manager_ui_drivers/version16/settings.rb', line 12 def self.works_with?(iaas_type) iaas_type == 'vcloud' end |
Instance Method Details
#advanced_infrastructure_config_fields ⇒ Object
32 33 34 |
# File 'lib/ops_manager_ui_drivers/version16/settings.rb', line 32 def advanced_infrastructure_config_fields { } end |
#iaas_configuration_fields ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/ops_manager_ui_drivers/version16/settings.rb', line 20 def iaas_configuration_fields { 'vcd_url' => test_settings.ops_manager.vcloud.creds.url, 'organization' => test_settings.ops_manager.vcloud.creds.organization, 'vcd_username' => test_settings.ops_manager.vcloud.creds.user, 'vcd_password' => test_settings.ops_manager.vcloud.creds.password, 'datacenter' => test_settings.ops_manager.vcloud.vdc.name, 'storage_profile' => test_settings.ops_manager.vcloud.vdc.storage_profile, 'catalog_name' => test_settings.ops_manager.vcloud.vdc.catalog_name, } end |