]> git.proxmox.com Git - pve-firewall.git/commitdiff
add missing parameter descriptions
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 5 Sep 2016 08:22:51 +0000 (10:22 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 5 Sep 2016 08:22:51 +0000 (10:22 +0200)
src/PVE/Firewall.pm

index b52d324330e4bf6625ec76029e0eda2903b329af..22bf61dd7315a166f898bd0a79a4e514f186449f 100644 (file)
@@ -1240,6 +1240,7 @@ my $rule_properties = {
     },
     digest => get_standard_option('pve-config-digest'),
     type => {
     },
     digest => get_standard_option('pve-config-digest'),
     type => {
+       description => "Rule type.",
        type => 'string',
        optional => 1,
        enum => ['in', 'out', 'group'],
        type => 'string',
        optional => 1,
        enum => ['in', 'out', 'group'],
@@ -1253,6 +1254,7 @@ my $rule_properties = {
        minLength => 2,
     },
     macro => {
        minLength => 2,
     },
     macro => {
+       description => "Use predefined standard macro.",
        type => 'string',
        optional => 1,
        maxLength => 128,
        type => 'string',
        optional => 1,
        maxLength => 128,
@@ -1277,6 +1279,7 @@ my $rule_properties = {
        optional => 1,
     },
     enable => {
        optional => 1,
     },
     enable => {
+       description => "Flag to enable/disable a rule.",
         type => 'integer',
        minimum => 0,
        optional => 1,
         type => 'integer',
        minimum => 0,
        optional => 1,
@@ -1292,6 +1295,7 @@ my $rule_properties = {
        optional => 1,
     },
     comment => {
        optional => 1,
     },
     comment => {
+       description => "Descriptive comment.",
        type => 'string',
        optional => 1,
     },
        type => 'string',
        optional => 1,
     },