From: Dietmar Maurer Date: Fri, 18 Apr 2014 05:44:32 +0000 (+0200) Subject: add remaining options to VM API X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=44269d276916a50d2cb154703f57d21bfc5fbe9a add remaining options to VM API --- diff --git a/src/PVE/API2/Firewall/VM.pm b/src/PVE/API2/Firewall/VM.pm index 6bfecf8..75b8518 100644 --- a/src/PVE/API2/Firewall/VM.pm +++ b/src/PVE/API2/Firewall/VM.pm @@ -54,6 +54,16 @@ my $option_properties = { type => 'boolean', optional => 1, }, + macfilter => { + description => "Enable/disable MAC address filter.", + type => 'boolean', + optional => 1, + }, + dhcp => { + description => "Enable DHCP.", + type => 'boolean', + optional => 1, + }, policy_in => { description => "Input policy.", type => 'string', @@ -66,6 +76,11 @@ my $option_properties = { optional => 1, enum => ['ACCEPT', 'REJECT', 'DROP'], }, + log_level_in => get_standard_option('pve-fw-loglevel', { + description => "Log level for incoming traffic." }), + log_level_out => get_standard_option('pve-fw-loglevel', { + description => "Log level for outgoing traffic." }), + }; my $add_option_properties = sub {