[pve-devel] [PATCH ha-manager 0/7] new HA simulator features

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jan 13 14:22:12 CET 2017

The other series fixed and enhanced small stuff in the HA Simulator,
this series adds new features and refactors out common code between
regression and realtime environment. This is a major step forwards as it
brings the simulator and regression test system on par.
Hardware abilities are now shared and we avoid the problem where stuff gets
added to the regression test system but not to the simulator more easily
(but not completely - the simulator GUI must be adopted none the less).

Allows setting the new resource request states (started, stopped, disabled)
Allows adding and deleting services through the GUI

Thomas Lamprecht (7):
  sim: allocate HA Env only once per service and node
  sim: use HA envs after_fork to close all inherited FDs
  factor out and unify sim_hardware_cmd
  sim: allow new service request states over gui
  sim: allow deleting service via GUI
  sim: factor out service gui entry addition
  sim: allow adding service on runtime

 src/PVE/HA/Sim/Hardware.pm     | 146 +++++++++++++++++
 src/PVE/HA/Sim/RTEnv.pm        |  13 ++
 src/PVE/HA/Sim/RTHardware.pm   | 347 ++++++++++++++++++++++++++++++-----------
 src/PVE/HA/Sim/TestHardware.pm | 156 +++---------------
 4 files changed, 444 insertions(+), 218 deletions(-)


More information about the pve-devel mailing list