From 44269d276916a50d2cb154703f57d21bfc5fbe9a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 18 Apr 2014 07:44:32 +0200 Subject: [PATCH] add remaining options to VM API --- src/PVE/API2/Firewall/VM.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 { -- 2.39.2