Return-Path: Delivered-To: apmail-incubator-libcloud-archive@minotaur.apache.org Received: (qmail 50231 invoked from network); 4 Nov 2010 22:16:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Nov 2010 22:16:45 -0000 Received: (qmail 99195 invoked by uid 500); 4 Nov 2010 22:17:16 -0000 Delivered-To: apmail-incubator-libcloud-archive@incubator.apache.org Received: (qmail 99072 invoked by uid 500); 4 Nov 2010 22:17:15 -0000 Mailing-List: contact libcloud-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: libcloud@incubator.apache.org Delivered-To: mailing list libcloud@incubator.apache.org Received: (qmail 99064 invoked by uid 99); 4 Nov 2010 22:17:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 22:17:15 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of grig.gheorghiu@gmail.com designates 209.85.216.175 as permitted sender) Received: from [209.85.216.175] (HELO mail-qy0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 22:17:08 +0000 Received: by qyk9 with SMTP id 9so1343832qyk.6 for ; Thu, 04 Nov 2010 15:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=z9CGTVapEhcWLyDEkzlYugHMZkwlD2t6hxgYt9hvv0k=; b=vfpnSyqj4I2AEwzRFA9S03IwNfOF5/Ye4qGWaRFXcZXTOcsYYfW4S90Q6ubjR7Rkwi ax3ZDiDi6h1ec+J3m+/Iwxm5VE4a3r/LQSmGiTjuFB4s1V+jftoY0+ox+8DyJbywBMx0 Q8Ro1fuXWotmXThOHb7lVr0Ba6zfBKjbKQARU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EmG5qhwV0L+mVDw9t5dpe+3/iUf2GhnEOl9QXpBily1vlBkxii+d02EOldY2ddh7mF yPdawVQpX3BOGhuT0ixbWqkbVuEp1swXm/D8xx5+X2ADze5Tg9fbk5giCsBNSncD6YX/ l8YC2woRFMiJiYW/BCS/Yr5Ja1WFGO6i1e/O0= MIME-Version: 1.0 Received: by 10.224.179.78 with SMTP id bp14mr307272qab.165.1288909006398; Thu, 04 Nov 2010 15:16:46 -0700 (PDT) Received: by 10.229.32.83 with HTTP; Thu, 4 Nov 2010 15:16:46 -0700 (PDT) In-Reply-To: <5DCD0C08-5890-4FBA-A507-B7168C510856@gmail.com> References: <5DCD0C08-5890-4FBA-A507-B7168C510856@gmail.com> Date: Thu, 4 Nov 2010 15:16:46 -0700 Message-ID: From: Grig Gheorghiu To: libcloud@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [libcloud] Cloud storage providers/drivers On Thu, Nov 4, 2010 at 2:48 PM, Eric Woods wrote: > Hi Grig, > > We did address this in libcloud's Java initiative. =A0After implementing = a Java port of libcloud, we pulled SimpleCloud under the libcloud umbrella = to provide storage, queue, and table services. =A0Following the libcloud de= sign patterns, we've implemented working adapters for Amazon S3 and Nirvani= x. =A0Rackspace has also expressed interest in contributing an adapter for = CloudFiles. =A0Take a look at the Java repository for the implementation: = =A0https://svn.apache.org/repos/asf/incubator/libcloud/sandbox/java/trunk/s= rc/simplecloud/storage > > I think this would be great in the python base, too. > Thanks for the pointers to the Java code. So how would you envision adding storage providers to the python codebase? Would there be a simplecloud directory under the top libcloud directory, in parallel with the libcloud directory which contains base.py? So something like: libcloud/ libcloud/ base.py providers.py drivers/ simplecloud/ storage/ base.py providers.py drivers/ ....and then you would define the base storage classes similarly to the Java interfaces in simplecloud/storage/base.py, and the actual implementations in drivers/S3.py. Would this make sense? Grig