items => {
type => "object",
properties => {
- name => { type => 'string' },
addr => { type => 'string', optional => 1 },
- host => { type => 'string', optional => 1 },
+ ceph_version => { type => 'string', optional => 1 },
+ ceph_version_short => { type => 'string', optional => 1 },
+ direxists => { type => 'string', optional => 1 },
+ host => { type => 'boolean', optional => 1 },
+ name => { type => 'string' },
+ quorum => { type => 'boolean', optional => 1 },
+ rank => { type => 'integer', optional => 1 },
+ service => { type => 'integer', optional => 1 },
+ state => { type => 'string', optional => 1 },
},
},
links => [ { rel => 'child', href => "{name}" } ],
# fixme: return a list instead of extjs tree format ?
returns => {
type => "object",
+ items => {
+ type => "object",
+ properties => {
+ flags => { type => "string" },
+ root => {
+ type => "object",
+ description => "Tree with OSDs in the CRUSH map structure.",
+ },
+ },
+ },
},
code => sub {
my ($param) = @_;
description => "Flag name.",
type => 'string', enum => $possible_flags_list,
},
+ description => {
+ description => "Flag description.",
+ type => 'string',
+ },
+ value => {
+ description => "Flag value.",
+ type => 'boolean',
+ },
},
},
links => [ { rel => 'child', href => "{name}" } ],