[Openstack] can swift create child container?
rgbkrk at gmail.com
Sat Aug 31 02:01:49 UTC 2013
The object names (full "path" so to speak) are actually just keys in the
Depending on how you are accessing the objects, just make
Let's say you're using python-swiftclient to post an object
put_object(*container*, *"myobject"*, *contents*)
Make the key/directory "mydir" come before "myobject"
put_object(*container*, *"mydir/myobject"*, *contents*)
Ok, so this isn't a subcontainer. It's really just organization of your
object blobs in directory like structure (there are no actual directories
in swift, even if the UI you might be using presents it that way).
Hope this helps,
On Fri, Aug 30, 2013 at 8:41 PM, pangj <pangj at laposte.net> wrote:
> I know for swift the sotrage url could be:
> But if I want a subdir under the container, for example,
> How will we do this?
> Mailing list:
> Post to : openstack at lists.openstack.org
> Unsubscribe :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack