'Helps to initialize the connection.
To share common codes with initialize_connection_snapshot.
:param volume: `common.Volume` object with volume information.
:param connector: connector information from Nova.'

def _initialize_connection(self, volume, connector):

    host = self.build_host(connector)
    (sg, is_new_sg) = self.assure_storage_group(host)
    hlu = self.assure_host_access(sg, host, volume, is_new_sg)
    return self.prepare_target_data(sg, host, volume, hlu)
