pass $rule_env (cluster/host/vm/ct) to rule parser.
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 26 May 2014 06:09:02 +0000 (08:09 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 26 May 2014 06:09:02 +0000 (08:09 +0200)
commitb6b8e6ade708f964c215ec94920025d07fce932f
treeae7dc0a09cbbb052ba1f4081eb1ae4530672960d
parentd4cda423ca8122954bd7921a07c8e2fffa01e1fb
pass $rule_env (cluster/host/vm/ct) to rule parser.

So that we can correctly verify 'iface' parameter.

Also add new API classes for CTs (because we need to pass $rule_env).
src/PVE/API2/Firewall/Aliases.pm
src/PVE/API2/Firewall/Rules.pm
src/PVE/API2/Firewall/VM.pm
src/PVE/Firewall.pm