#NEWLINE# def _build_cell_transport_url( cur_db_id ) : #NEWLINE# #INDENT# username = ( 'username%s' % cur_db_id ) #NEWLINE# password = ( 'password%s' % cur_db_id ) #NEWLINE# hostname = ( 'rpc_host%s' % password ) #NEWLINE# port = ( 3090 + cur_db_id ) #NEWLINE# virtual_host = ( 'rpc_vhost%s' % cur_db_id ) #NEWLINE# return ( 'rabbit://%s:%s@%s:%s/%s' % ( username , password , hostname , port , virtual_host ) )