doc: Updated terminology. Added librados intro to index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added librados introduction doc. Still wip.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Modified doc examples to use rados_create2.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added python example of handle, and closing session examples.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
first commit
Initial version of the source code. Statistics extraction is done
Added update_metadata, clear_metadata, and usage description code
Corrected ownership info which was presented as string, added stub code for unpublish
Updated README with How-to-use instructions
called sysinfo.append(meta) in get_sysinfo within the while loop
Fix trailing space

Fix trailing space and indentation.
If 'ceph osd metadata' isn't working, inform the user about it via stderr
1. Updated README.md with sample output
2. Remove 'osd_hosts' entry from json and added that information as part of sys_info
3. In the 'num_components' entry, 'bytes' entry is replaced to contain an object with 'count' and 'scale' members
Corrected the sample output in README.md
conf: add options for librados timeouts

These will be implemented in subsequent patches.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
librados: add timeout to wait_for_osdmap()

This is used by several pool operations independent of the objecter,
including rados_ioctx_create() to look up the pool id in the first
osdmap.

Unfortunately we can't just rely on WaitInterval returning ETIMEDOUT,
since it may also get interrupted by a signal, so we can't avoid
keeping track of time explicitly here.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Intial version of the server code.
1. Database modelling is done
2. PUT request is completed
Some suggested changes, both errors and rewordings

Python and C code examples tweaked a bit

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Completed model and controller code
1. GET, PUT and DELETE request are added
2. Removed public folder as it will never be used
mon: s/ENOSYS/ENOTSUP/

On Linux ENOTSUP is remapped
/usr/include/x86_64-linux-gnu/bits/errno.h

    /* Linux has no ENOTSUP error code.  */
    # define ENOTSUP EOPNOTSUPP

and should have different values on other operating systems. On Ubuntu
precise the string returned when translating the error value of ENOTSUP
or EOPNOTSUPP is always EOPNOTSUPP but on Ubuntu saucy it is always
ENOTSUP.

Replace ENOSYS with ENOTSUP because the expected semantic is very
similar and modify the test to not check on the string translation of
the error.

Rework the check_response shell function to optionaly check the return
code. The erasure coded pool size change test verifies the error message
only but not the error code.

Signed-off-by: Loic Dachary <loic@dachary.org>