Commit ca40ed29 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

ci: Remove 'deploy_on_io' option

Remove the 'deploy_on_io' option. Instead check if you will need to
compute manually the ssh port by the domain of the cyclades url.
parent c269367b
......@@ -29,9 +29,6 @@ temporary_config = /tmp/ci_temp_conf
# Choose the 'cloud' to use from .kamakirc
kamaki_cloud =
# If we deploy on we have to set this to True
# The server will reside besides a NAT and we have to compute ssh port
deploy_on_io = True
# Server name to use for our machine
server_name = Synnefo Deployment
# Flavor ID to use
......@@ -260,9 +260,8 @@ class SynnefoCI(object):
def _get_server_ip_and_port(self, server):
"""Compute server's IPv4 and ssh port number""""Get server connection details..")
# XXX: check if this IP is from public network
server_ip = server['attachments'][0]['ipv4']
if self.config.get('Deployment', 'deploy_on_io') == "True":
if "" in self.cyclades_client.base_url:
tmp1 = int(server_ip.split(".")[2])
tmp2 = int(server_ip.split(".")[3])
server_ip = ""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment