Re: [pve-devel] [PATCH ha-manager 04/15] add rules section config base plugin

2025-04-25 Thread Daniel Kral
On 4/25/25 11:12, Fiona Ebner wrote: Am 25.04.25 um 10:29 schrieb Daniel Kral: On 4/24/25 15:03, Fiona Ebner wrote: Am 25.03.25 um 16:12 schrieb Daniel Kral: + +    $func->($rule, $ruleid); +    } +} + +sub canonicalize { +    my ($class, $rules, $groups, $services) = @_; + +    die "implement

Re: [pve-devel] [PATCH ha-manager 04/15] add rules section config base plugin

2025-04-25 Thread Fiona Ebner
Am 25.04.25 um 10:29 schrieb Daniel Kral: > On 4/24/25 15:03, Fiona Ebner wrote: >> Am 25.03.25 um 16:12 schrieb Daniel Kral: >>> + >>> +    $func->($rule, $ruleid); >>> +    } >>> +} >>> + >>> +sub canonicalize { >>> +    my ($class, $rules, $groups, $services) = @_; >>> + >>> +    die "implement

Re: [pve-devel] [PATCH ha-manager 04/15] add rules section config base plugin

2025-04-25 Thread Daniel Kral
On 4/24/25 15:03, Fiona Ebner wrote: Am 25.03.25 um 16:12 schrieb Daniel Kral: Add a rules section config base plugin to allow users to specify different kinds of rules in a single configuration file. The interface is designed to allow sub plugins to implement their own {decode,encode}_value()

Re: [pve-devel] [PATCH ha-manager 04/15] add rules section config base plugin

2025-04-24 Thread Fiona Ebner
Am 25.03.25 um 16:12 schrieb Daniel Kral: > Add a rules section config base plugin to allow users to specify > different kinds of rules in a single configuration file. > > The interface is designed to allow sub plugins to implement their own > {decode,encode}_value() methods and also offer a canon

[pve-devel] [PATCH ha-manager 04/15] add rules section config base plugin

2025-03-25 Thread Daniel Kral
Add a rules section config base plugin to allow users to specify different kinds of rules in a single configuration file. The interface is designed to allow sub plugins to implement their own {decode,encode}_value() methods and also offer a canonicalized version of their rules with canonicalize(),