https://blueprints.launchpad.net/karbor/+spec/file-system-bank
Currently we only suppport Swift as a bank implementation. This means that anyone that uses Karbor must also install Swift. This might be unacceptable or over complicated for some deployments. Furthe more, having a many options for bank backends is always a good things.
I suggest adding an FS based implementation. It will use files for objects storing objects and object metadata.
As explained, deployers might not want or will be unable to install Swift in their cloud.
Objects would be stored under a file name with their ID having / be defined as a directory separator.
Since object names might contain chars that are unavailable as regular files we will need to escape some chars so that they can be used as file names.
We propose the following encoding escape sequence non ascii chars would be modified to %[XX..] where XX are Hex representations of the utf-8 encodinf of the characters.
This avoids using back-slash for escape.
The metadata files will be in a JSON format. The name and format of these files are same as the meatadata objects in the swift bank.
Do nothing, this is not a mission critical feature.
None.
None
None
None
None
This API might be fasterslower than Swift depending on use case.
None
None
None
Unit tests in Karbor.
New docs to explain how to use and configure the alternative Bank implementation.
None
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.