ops_manager_ui_drivers 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e890a3afd7e4e227190c75f0c4d9383952e74b3
|
4
|
+
data.tar.gz: b1180e776c99b69fdcea72fc5bc9d2d41c64dfcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b72c9dbfdc3d16a8eee7154b54284da0c8b907def7fad8c3ceebf2313acb8784c1ac1d5d7e3edf2c70e76029dc8be1b1ecbc99abceb78cb90a2236da538ec7ac
|
7
|
+
data.tar.gz: 9c135b3ecfd131198fbefd542ad49076308caf994b9fad40b552ad85f8ca480e69643739a350022558574e4d6eb3d4dc628d04a63321025c2e81e2c7e2b8dbb0
|
@@ -13,11 +13,9 @@ module OpsManagerUiDrivers
|
|
13
13
|
|
14
14
|
add_availability_zones(test_settings.iaas_type, test_settings.ops_manager.availability_zones)
|
15
15
|
|
16
|
-
assign_availability_zone(test_settings.iaas_type, test_settings.ops_manager.availability_zones)
|
17
|
-
|
18
16
|
add_networks(test_settings)
|
19
17
|
|
20
|
-
|
18
|
+
assign_azs_and_networks(test_settings.iaas_type, test_settings.ops_manager.availability_zones, test_settings.ops_manager)
|
21
19
|
|
22
20
|
customize_resource_config(test_settings.ops_manager.resource_config)
|
23
21
|
|
@@ -90,22 +88,21 @@ module OpsManagerUiDrivers
|
|
90
88
|
browser.click_on 'Save'
|
91
89
|
end
|
92
90
|
|
93
|
-
def
|
94
|
-
return unless iaas_availability_zones
|
91
|
+
def assign_azs_and_networks(iaas_type, iaas_availability_zones, ops_manager)
|
95
92
|
case iaas_type
|
96
93
|
when OpsManagerUiDrivers::AWS_IAAS_TYPE, OpsManagerUiDrivers::OPENSTACK_IAAS_TYPE
|
97
|
-
browser.click_on 'Assign
|
94
|
+
browser.click_on 'Assign AZs and Networks'
|
95
|
+
browser.select(ops_manager.networks[0]['name'], from: 'Network')
|
98
96
|
browser.select(iaas_availability_zones.first['iaas_identifier'])
|
99
|
-
browser.click_on 'Save'
|
100
97
|
when OpsManagerUiDrivers::VSPHERE_IAAS_TYPE
|
101
|
-
browser.click_on 'Assign
|
98
|
+
browser.click_on 'Assign AZs and Networks'
|
99
|
+
browser.select(ops_manager.networks[0]['name'], from: 'Network')
|
102
100
|
browser.select(iaas_availability_zones.first['name'])
|
103
|
-
|
101
|
+
when OpsManagerUiDrivers::VCLOUD_IAAS_TYPE
|
102
|
+
browser.click_on 'Assign Networks'
|
103
|
+
browser.select(ops_manager.networks[0]['name'], from: 'Network')
|
104
104
|
end
|
105
|
-
|
106
|
-
|
107
|
-
def assign_networks(ops_manager)
|
108
|
-
assign_network(ops_manager.networks[0]['name'])
|
105
|
+
browser.click_on 'Save'
|
109
106
|
end
|
110
107
|
|
111
108
|
def customize_resource_config(resource_config)
|
@@ -115,13 +112,6 @@ module OpsManagerUiDrivers
|
|
115
112
|
end
|
116
113
|
end
|
117
114
|
|
118
|
-
def assign_network(network_name)
|
119
|
-
browser.click_on 'Assign Networks'
|
120
|
-
|
121
|
-
browser.select(network_name, from: 'Network')
|
122
|
-
browser.click_on 'Save'
|
123
|
-
end
|
124
|
-
|
125
115
|
def configure_vm_passwords(use_generated_passwords: true)
|
126
116
|
browser.click_on 'Security'
|
127
117
|
if use_generated_passwords
|