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 (Hardware).
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(-) -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel