[Openstack] can swift create child container?

pangj pangj at laposte.net
Sat Aug 31 02:25:21 UTC 2013


Thanks for the helps.

> Let's say you're using python-swiftclient to post an object
>
> Instead of
> 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).





More information about the Openstack mailing list