]> git.proxmox.com Git - pve-firewall.git/commitdiff
add remaining options to VM API
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 18 Apr 2014 05:44:32 +0000 (07:44 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 18 Apr 2014 05:44:32 +0000 (07:44 +0200)
src/PVE/API2/Firewall/VM.pm

index 6bfecf80154b9214ca548a1049ac01f3d0ff6fdf..75b851852e8dc9535dc5d3a5acc5c80edb77c99e 100644 (file)
@@ -54,6 +54,16 @@ my $option_properties = {
        type => 'boolean',
        optional => 1,
     },
        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',
     policy_in => {
        description => "Input policy.",
        type => 'string',
@@ -66,6 +76,11 @@ my $option_properties = {
        optional => 1,
        enum => ['ACCEPT', 'REJECT', 'DROP'],
     },
        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 {
 };
 
 my $add_option_properties = sub {