Merge "Enable public network for all nodes for cli tests"
This commit is contained in:
commit
deaf27199e
|
@ -493,3 +493,10 @@ class CommandLine(TestBasic):
|
|||
file_path=settings_file,
|
||||
ip=self.ssh_manager.admin_ip,
|
||||
).get_content()
|
||||
|
||||
@logwrap
|
||||
def set_public_networks_for_all_nodes(self, cluster_id):
|
||||
settings = self.download_settings(cluster_id)
|
||||
settings['editable']['public_network_assignment'][
|
||||
'assign_to_all_nodes']['value'] = True
|
||||
self.upload_settings(cluster_id, settings)
|
||||
|
|
|
@ -68,6 +68,7 @@ class CommandLineAcceptanceDeploymentTests(test_cli_base.CommandLine):
|
|||
self.update_cli_network_configuration(cluster_id)
|
||||
|
||||
self.update_ssl_configuration(cluster_id)
|
||||
self.set_public_networks_for_all_nodes(cluster_id)
|
||||
self.show_step(3)
|
||||
self.show_step(4)
|
||||
self.show_step(5)
|
||||
|
|
|
@ -69,6 +69,7 @@ class CommandLineAcceptanceCephDeploymentTests(test_cli_base.CommandLine):
|
|||
self.update_cli_network_configuration(cluster_id)
|
||||
|
||||
self.update_ssl_configuration(cluster_id)
|
||||
self.set_public_networks_for_all_nodes(cluster_id)
|
||||
self.show_step(3)
|
||||
self.use_ceph_for_volumes(cluster_id)
|
||||
self.use_ceph_for_images(cluster_id)
|
||||
|
@ -149,6 +150,7 @@ class CommandLineAcceptanceCephDeploymentTests(test_cli_base.CommandLine):
|
|||
jsonify=True
|
||||
)['stdout_json']
|
||||
|
||||
self.set_public_networks_for_all_nodes(cluster['id'])
|
||||
self.show_step(3)
|
||||
self.use_ceph_for_volumes(cluster['id'])
|
||||
self.use_ceph_for_images(cluster['id'])
|
||||
|
|
Loading…
Reference in New Issue