cleanup descriptions
This commit is contained in:
@ -229,7 +229,7 @@ __PACKAGE__->register_method ({
|
|||||||
permissions => {
|
permissions => {
|
||||||
check => ['perm', '/', ['Sys.Modify', 'Datastore.Allocate']],
|
check => ['perm', '/', ['Sys.Modify', 'Datastore.Allocate']],
|
||||||
},
|
},
|
||||||
description => "Create an LVM thinpool",
|
description => "Create an LVM thinpool.",
|
||||||
parameters => {
|
parameters => {
|
||||||
additionalProperties => 0,
|
additionalProperties => 0,
|
||||||
properties => {
|
properties => {
|
||||||
@ -242,7 +242,7 @@ __PACKAGE__->register_method ({
|
|||||||
},
|
},
|
||||||
devices => {
|
devices => {
|
||||||
type => 'string', format => 'string-list',
|
type => 'string', format => 'string-list',
|
||||||
description => 'The block device you want to create the thinpool on',
|
description => 'The block device you want to create the thinpool on.',
|
||||||
},
|
},
|
||||||
ashift => {
|
ashift => {
|
||||||
type => 'integer',
|
type => 'integer',
|
||||||
@ -250,7 +250,7 @@ __PACKAGE__->register_method ({
|
|||||||
maximum => 16,
|
maximum => 16,
|
||||||
optional => 1,
|
optional => 1,
|
||||||
default => 12,
|
default => 12,
|
||||||
description => 'Pool sector size exponent. '
|
description => 'Pool sector size exponent.',
|
||||||
},
|
},
|
||||||
compression => {
|
compression => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
@ -260,7 +260,7 @@ __PACKAGE__->register_method ({
|
|||||||
default => 'on',
|
default => 'on',
|
||||||
},
|
},
|
||||||
add_storage => {
|
add_storage => {
|
||||||
description => "Configure storage using the thinpool",
|
description => "Configure storage using the thinpool.",
|
||||||
type => 'boolean',
|
type => 'boolean',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
default => 0,
|
default => 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user