Merge "Enable public network for all nodes for cli tests"

This commit is contained in:
Jenkins 2017-03-09 09:40:01 +00:00 committed by Gerrit Code Review
commit deaf27199e
3 changed files with 10 additions and 0 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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'])