]> git.proxmox.com Git - pve-ha-manager.git/commit
sim: allow new service request states over gui
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 Jan 2017 12:32:47 +0000 (13:32 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 24 Jan 2017 08:51:14 +0000 (09:51 +0100)
commita59ac4178e95cb9a46fa9e100b20748cb60bf419
tree3c69a8db0e452ba9569695a71a94d2e07b9e64a5
parente08a0717de46cc67bcf22472ab874698df41c31b
sim: allow new service request states over gui

Change the old enabled/disabled GTK "Switch" element to a ComboBox
one and add all possible service states, so we can simulate the real
world behaviour with its new states better.

As we do not need to map a the boolean swicth value to our states
anymore, we may drop the set_setvice_state method from the RTHardware
class and use the one from the Hardware base class instead.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Sim/RTHardware.pm