]> git.proxmox.com Git - pve-ha-manager.git/commit - src/PVE/HA/Tools.pm
rename request state 'enabled' to 'started'
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Nov 2016 15:53:01 +0000 (16:53 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 19 Nov 2016 08:59:22 +0000 (09:59 +0100)
commitbb07bd2ca72c927af7b8440aebdb77ad6c3ba91d
treed6c6233b681e5758bb0a9152a6e84db895fa4bac
parentcb6741fbd4451bb345ff563ad0a2f39c2e935eda
rename request state 'enabled' to 'started'

with the new 'stopped' state there was a possible confusion what each
state could do. Rename enabled to started to started to address this.

Enabled can still be used for backward compatibility and will be
removed on the next major release.

The TestHardware does not recognizes the "service enable" command
anymore, the regression test which made use of it were ported to
"service started" command.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
21 files changed:
src/PVE/HA/Config.pm
src/PVE/HA/Manager.pm
src/PVE/HA/Resources.pm
src/PVE/HA/Sim/Hardware.pm
src/PVE/HA/Sim/RTHardware.pm
src/PVE/HA/Sim/TestHardware.pm
src/PVE/HA/Tools.pm
src/test/test-relocate-policy-default-group/cmdlist
src/test/test-relocate-policy-default-group/log.expect
src/test/test-relocate-policy1/cmdlist
src/test/test-relocate-policy1/log.expect
src/test/test-resource-failure1/cmdlist
src/test/test-resource-failure1/log.expect
src/test/test-resource-failure2/cmdlist
src/test/test-resource-failure2/log.expect
src/test/test-resource-failure5/cmdlist
src/test/test-resource-failure5/log.expect
src/test/test-resource-failure6/cmdlist
src/test/test-resource-failure6/log.expect
src/test/test-service-command1/cmdlist
src/test/test-service-command1/log.expect