Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com>
---
 data/PVE/Cluster.pm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 7569abc..149bbda 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -1346,6 +1346,19 @@ my $migration_format = {
     },
 };
 
+our $u2f_format = {
+    appid => {
+       type => 'string',
+       description => "Top level domain of PVE hosts for which U2F 
authentication is available.",
+       format_description => 'APPID',
+    },
+    origin => {
+       type => 'string',
+       description => "U2F Origin.",
+       format_description => 'APPID',
+    },
+};
+
 my $datacenter_schema = {
     type => "object",
     additionalProperties => 0,
@@ -1416,6 +1429,12 @@ my $datacenter_schema = {
            description => 'Prefix for autogenerated MAC addresses.',
        },
        bwlimit => PVE::JSONSchema::get_standard_option('bwlimit'),
+       u2f => {
+           optional => 1,
+           type => 'string',
+           format => $u2f_format,
+           description => 'u2f',
+       },
     },
 };
 
-- 
2.11.0


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to