]>
git.proxmox.com Git - pmg-api.git/blob - PMG/RuleDB/Rule.pm
1 package PMG
::RuleDB
::Rule
;
9 # FIXME: log failures ?
12 my ($type, $name, $priority, $active, $direction) = @_;
16 priority
=> $priority,
20 if (!defined($direction)) {
21 $self->{direction
} = 2;
23 $self->{direction
} = $direction;
45 $self->{priority
} = $v;
55 $self->{direction
} = $v;