Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
my $valid_states = {
wait_for_agent_lock => "waiting for agent lock",
active => "got agent_lock",
- maintenance => "got agent_lock (maintenance)",
lost_agent_lock => "lost agent_lock",
};
my $ctime = $haenv->get_time();
- # FIXME:
-
if ($state eq 'wait_for_agent_lock') {
my $service_count = $self->active_service_count();
default => 1,
minimum => 0,
},
- affinity => {
- description => "How the groups member should be located to each other.",
- type => 'string',
- enum => ['none', 'separate', 'together'],
- default => 'none',
- optional => 1,
- },
comment => {
description => "Description.",
type => 'string',