1. simplified the 'bytes' info to just be bytes
2. prefix all the members of the components_info with 'num_'

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
1. Removed name of the pool from pool_metadata
2. Included pool type in pool_metadata
3. Renamed rep_size attribute to size in pool_metadata

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Made crush_types to be a map of type to count, so we can tell how many racks/rows/hosts/etc are there

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Removed nw_info from sysinfo

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Broke down sysinfo's format into a histogram with a value and count
so that we just see how many of each version/distro/kernel/os/arch/cpu/etc are running

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Modified num_bytes attribute in components_count to be a raw integer

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Removed all regular expression parsing and used '-f json' instead

Signed-off-by: Babu Shanmugam <anbu@enovance.com>
Merge branch 'master' of https://github.com/enovance/ceph-brag into firefly
Merge pull request #1409 from enovance/wip-brag

ceph-brag enhancements

Reviewed-by: Sage Weil <sage@inktank.com>