[pve-devel] Properties in plugins

Dietmar Maurer dietmar at proxmox.com
Sun Oct 13 15:02:40 CEST 2013


> And BTW. the two plugins did use the same syntax but never the less the error
> was displayed. If you study the code in SectionConfig.pm it does not care
> whether the syntax is identical or not it merely checks whether a property has
> been defined or not.
> 'die "duplicate property" if defined($propertyList->{$p});'

It is clearly possible to reuse the same property for multiple plugins,
for example we have 'shared, 'path', 'disabled', ...

AFAIR that is why we have 'sub options' to define the list.

The property needs to be defined only once.



More information about the pve-devel mailing list