[pve-devel] [PATCH ha-manager v2 0/6] refactoring and new simulator features

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jan 19 13:32:44 CET 2017

changes since v1:
* dropped patch 2/7 "sim: use HA envs after_fork to close all inherited FDs"
  as it was to hacky and could cause problems.
* implement the semantics from the dropped patch in an easier way in the
  "factor out and unify sim_hardware_cmd" patch, simply pass the lock
  filehandle we want to close to the new {c,l}rm_control methods.
* the "sim: allow new service request states over gui" patch drops now the
  set_service_state from RTHardware and uses the method of its base class

Thomas Lamprecht (6):
  sim: allocate HA Env only once per service and node
  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     | 147 +++++++++++++++++
 src/PVE/HA/Sim/RTHardware.pm   | 352 ++++++++++++++++++++++++++++++-----------
 src/PVE/HA/Sim/TestHardware.pm | 156 +++---------------
 3 files changed, 430 insertions(+), 225 deletions(-)


More information about the pve-devel mailing list