public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH-SERIES guest-common/container/qemu-server/ha-manager] make HA manager not depend on internal configuration details
@ 2023-02-28 10:54 Fiona Ebner
  2023-02-28 10:54 ` [pve-devel] [PATCH guest-common 1/1] abstract config: add method to calculate derived properties from a config Fiona Ebner
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Fiona Ebner @ 2023-02-28 10:54 UTC (permalink / raw)
  To: pve-devel

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-09  5:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-28 10:54 [pve-devel] [PATCH-SERIES guest-common/container/qemu-server/ha-manager] make HA manager not depend on internal configuration details Fiona Ebner
2023-02-28 10:54 ` [pve-devel] [PATCH guest-common 1/1] abstract config: add method to calculate derived properties from a config Fiona Ebner
2023-06-07 17:40   ` [pve-devel] applied: " Thomas Lamprecht
2023-02-28 10:54 ` [pve-devel] [PATCH container 1/1] config: implement " Fiona Ebner
2023-06-09  5:50   ` [pve-devel] applied: " Thomas Lamprecht
2023-02-28 10:54 ` [pve-devel] [PATCH qemu-server " Fiona Ebner
2023-06-08 15:59   ` [pve-devel] applied: " Thomas Lamprecht
2023-02-28 10:54 ` [pve-devel] [PATCH ha-manager 1/1] resources: pve: avoid relying on internal configuration details Fiona Ebner
2023-06-06  6:42 ` [pve-devel] [PATCH-SERIES guest-common/container/qemu-server/ha-manager] make HA manager not depend " Fiona Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal