]> git.proxmox.com Git - pve-manager.git/commitdiff
API extension: allow to set comments inside network interfaces file
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Feb 2014 10:28:53 +0000 (11:28 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Feb 2014 10:28:53 +0000 (11:28 +0100)
PVE/API2/Network.pm

index eeaa50839d9eb468f0ff57178851401dbc754474..72c493fd3d5352a6d08a3899247b9e67ca2b5500 100644 (file)
@@ -40,6 +40,10 @@ my $confdesc = {
        type => 'string',
        enum => [@$network_type_enum, 'unknown'],
     },
+    comments => {
+       description => "Comments",
+       type => 'string',
+    },
     autostart => {
        description => "Automatically start interface on boot.",
        type => 'boolean',