]> git.proxmox.com Git - pve-ha-manager.git/commit
groups: register groups directly
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 28 Sep 2018 10:48:51 +0000 (12:48 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 Sep 2018 12:06:59 +0000 (14:06 +0200)
commit7d33cb12de638a2b7f2e3cb2eb83e2d47c0b7b65
tree3af577e8f48b2710907841ca248529d3f4d0337d
parentf503a7bf77fc5796b25e468ff7ea7dfd196a6fcc
groups: register groups directly

and use PVE::HA::Groups to parse the config when testing/simulating.

this allows us to drop the dependency on PVE::HA::Config, which would
otherwise pull in a lot of additional depdendencies that we don't want
in the simulator.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/HA/Config.pm
src/PVE/HA/Groups.pm
src/PVE/HA/Sim/Hardware.pm
src/pve-ha-tester
src/test/test_failover1.pl