Re: [pve-devel] [PATCH] Document PVE::Storage::Plugin public methods

2017-01-17 Thread Dmitry Petuhov
17.01.2017 10:28, Jasmin J. wrote: Hi! THX for describing it, it would have been very helpful when I was writing my DRBD8 plugin. On 01/16/2017 09:46 PM, Dmitry Petuhov wrote: +# public +# returns $path to image/directory to be passed to qemu/lxc. sub path { my ($class, $scfg, $volname,

Re: [pve-devel] [PATCH] Document PVE::Storage::Plugin public methods

2017-01-16 Thread Jasmin J.
Hi! THX for describing it, it would have been very helpful when I was writing my DRBD8 plugin. On 01/16/2017 09:46 PM, Dmitry Petuhov wrote: +# public +# returns $path to image/directory to be passed to qemu/lxc. sub path { my ($class, $scfg, $volname, $storeid, $snapname) = @_;

[pve-devel] [PATCH] Document PVE::Storage::Plugin public methods

2017-01-16 Thread Dmitry Petuhov
Add comments for base class's methods to be reloaded in custom storage plugins. Also add comment at end of file with exmaples of methods that must be in child classes, but not present in base class. Signed-off-by: Dmitry Petuhov --- Described returning values where