[pve-devel] r6000 - pve-common/trunk/data/PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Thu May 19 10:09:52 CEST 2011


Author: dietmar
Date: 2011-05-19 10:09:52 +0200 (Thu, 19 May 2011)
New Revision: 6000

Modified:
   pve-common/trunk/data/PVE/JSONSchema.pm
Log:


Modified: pve-common/trunk/data/PVE/JSONSchema.pm
===================================================================
--- pve-common/trunk/data/PVE/JSONSchema.pm	2011-05-19 08:06:38 UTC (rev 5999)
+++ pve-common/trunk/data/PVE/JSONSchema.pm	2011-05-19 08:09:52 UTC (rev 6000)
@@ -60,6 +60,12 @@
     type => 'string', format => 'pve-node',
 });
 
+register_standard_option('pve-iface', {
+    description => "Network interface name.",
+    type => 'string', format => 'pve-iface',
+    minLength => 2, maxLength => 20,
+});
+
 my $format_list = {};
 
 sub register_format {




More information about the pve-devel mailing list