by introducing a get_derived_property() method for the configuration
plugins. The derived properties are calculated by the plugins and will
stay the same regardless of changes to the configuration structure.
For example, this will allow turning QemuConfig's 'memory' into a
property string (still requires a versioned Breaks for older HA
manager).
Dependency bumps ha-manager -> container,qemu-server are needed.
guest-common:
Fiona Ebner (1):
abstract config: add method to calculate derived properties from a
config
src/PVE/AbstractConfig.pm | 9 +++++++++
1 file changed, 9 insertions(+)
container:
Fiona Ebner (1):
config: implement method to calculate derived properties from a config
src/PVE/LXC/Config.pm | 12 ++++++++++++
1 file changed, 12 insertions(+)
qemu-server:
Fiona Ebner (1):
config: implement method to calculate derived properties from a config
PVE/QemuConfig.pm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
ha-manager:
Fiona Ebner (1):
resources: pve: avoid relying on internal configuration details
src/PVE/HA/Resources/PVECT.pm | 4 ++--
src/PVE/HA/Resources/PVEVM.pm | 7 ++-----
2 files changed, 4 insertions(+), 7 deletions(-)
--
2.30.2
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel