25.8. Working with the Object Store
For more information on Swift operations, see OpenStack Object Storage API Reference Guide available at http://docs.openstack.org/api/openstack-object-storage/1.0/content/ .
25.8.1. Creating Containers and Objects Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Creating container and objects in Red Hat Gluster Storage Object Store is very similar to OpenStack swift. For more information on Swift operations, see OpenStack Object Storage API Reference Guide available at http://docs.openstack.org/api/openstack-object-storage/1.0/content/.
25.8.2. Creating Subdirectory under Containers Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
You can create a subdirectory object under a container using the headers
Content-Type: application/directory
and Content-Length: 0
. However, the current behavior of Object Store returns 200 OK
on a GET
request on subdirectory but this does not list all the objects under that subdirectory.
25.8.3. Working with Swift ACLs Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Swift ACLs work with users and accounts. ACLs are set at the container level and support lists for read and write access. For more information on Swift ACLs, see http://docs.openstack.org/user-guide/content/managing-openstack-object-storage-with-swift-cli.html.