def get_location_path(location=DEFAULT_LOCATION, api_host_suffix=JOYENT_API_HOST_SUFFIX):
    return '{0}://{1}{2}'.format(_get_proto(), location, api_host_suffix)
create url from location variable
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/joyent.py/get_location_path