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