Skip to content

Commit 46601a3

Browse files
update static/schema information
Signed-off-by: Thomas Lamprecht <[email protected]>
1 parent 9078606 commit 46601a3

File tree

4 files changed

+16
-44
lines changed

4 files changed

+16
-44
lines changed

api-viewer/apidata.js

Lines changed: 10 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20746,12 +20746,6 @@ const apiSchema = [
2074620746
"description" : "Enable support for extended attributes for this mount.",
2074720747
"optional" : 1,
2074820748
"type" : "boolean"
20749-
},
20750-
"writeback" : {
20751-
"default" : 0,
20752-
"description" : "Enable writeback cache. If enabled, writes may be cached in the guest until the file is closed or an fsync is performed.",
20753-
"optional" : 1,
20754-
"type" : "boolean"
2075520749
}
2075620750
},
2075720751
"optional" : 1,
@@ -23248,17 +23242,11 @@ const apiSchema = [
2324823242
"description" : "Enable support for extended attributes for this mount.",
2324923243
"optional" : 1,
2325023244
"type" : "boolean"
23251-
},
23252-
"writeback" : {
23253-
"default" : 0,
23254-
"description" : "Enable writeback cache. If enabled, writes may be cached in the guest until the file is closed or an fsync is performed.",
23255-
"optional" : 1,
23256-
"type" : "boolean"
2325723245
}
2325823246
},
2325923247
"optional" : 1,
2326023248
"type" : "string",
23261-
"typetext" : "[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>] [,writeback=<1|0>]"
23249+
"typetext" : "[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>]"
2326223250
},
2326323251
"vmgenid" : {
2326423252
"default" : "1 (autogenerated)",
@@ -25768,17 +25756,11 @@ const apiSchema = [
2576825756
"description" : "Enable support for extended attributes for this mount.",
2576925757
"optional" : 1,
2577025758
"type" : "boolean"
25771-
},
25772-
"writeback" : {
25773-
"default" : 0,
25774-
"description" : "Enable writeback cache. If enabled, writes may be cached in the guest until the file is closed or an fsync is performed.",
25775-
"optional" : 1,
25776-
"type" : "boolean"
2577725759
}
2577825760
},
2577925761
"optional" : 1,
2578025762
"type" : "string",
25781-
"typetext" : "[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>] [,writeback=<1|0>]"
25763+
"typetext" : "[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>]"
2578225764
},
2578325765
"vmgenid" : {
2578425766
"default" : "1 (autogenerated)",
@@ -32146,17 +32128,11 @@ const apiSchema = [
3214632128
"description" : "Enable support for extended attributes for this mount.",
3214732129
"optional" : 1,
3214832130
"type" : "boolean"
32149-
},
32150-
"writeback" : {
32151-
"default" : 0,
32152-
"description" : "Enable writeback cache. If enabled, writes may be cached in the guest until the file is closed or an fsync is performed.",
32153-
"optional" : 1,
32154-
"type" : "boolean"
3215532131
}
3215632132
},
3215732133
"optional" : 1,
3215832134
"type" : "string",
32159-
"typetext" : "[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>] [,writeback=<1|0>]"
32135+
"typetext" : "[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>]"
3216032136
},
3216132137
"vmgenid" : {
3216232138
"default" : "1 (autogenerated)",
@@ -47213,7 +47189,7 @@ const apiSchema = [
4721347189
"info" : {
4721447190
"POST" : {
4721547191
"allowtoken" : 1,
47216-
"description" : "Upload templates, ISO images and OVAs.",
47192+
"description" : "Upload templates, ISO images, OVAs and VM images.",
4721747193
"method" : "POST",
4721847194
"name" : "upload",
4721947195
"parameters" : {
@@ -47300,7 +47276,7 @@ const apiSchema = [
4730047276
"info" : {
4730147277
"POST" : {
4730247278
"allowtoken" : 1,
47303-
"description" : "Download templates, ISO images and OVAs by using an URL.",
47279+
"description" : "Download templates, ISO images, OVAs and VM images by using an URL.",
4730447280
"method" : "POST",
4730547281
"name" : "download_url",
4730647282
"parameters" : {
@@ -52514,8 +52490,8 @@ const apiSchema = [
5251452490
"default" : "login",
5251552491
"description" : "Run specific command or default to login (requires 'root@pam')",
5251652492
"enum" : [
52517-
"upgrade",
5251852493
"ceph_install",
52494+
"upgrade",
5251952495
"login"
5252052496
],
5252152497
"optional" : 1,
@@ -52609,8 +52585,8 @@ const apiSchema = [
5260952585
"default" : "login",
5261052586
"description" : "Run specific command or default to login (requires 'root@pam')",
5261152587
"enum" : [
52612-
"upgrade",
5261352588
"ceph_install",
52589+
"upgrade",
5261452590
"login"
5261552591
],
5261652592
"optional" : 1,
@@ -52734,8 +52710,8 @@ const apiSchema = [
5273452710
"default" : "login",
5273552711
"description" : "Run specific command or default to login (requires 'root@pam')",
5273652712
"enum" : [
52737-
"upgrade",
5273852713
"ceph_install",
52714+
"upgrade",
5273952715
"login"
5274052716
],
5274152717
"optional" : 1,
@@ -56744,7 +56720,7 @@ const apiSchema = [
5674456720
"description" : "OpenID claim used to retrieve groups with.",
5674556721
"maxLength" : 256,
5674656722
"optional" : 1,
56747-
"pattern" : "(?^:A-Za-z0-9\\.\\-_)",
56723+
"pattern" : "(?^:[A-Za-z0-9\\.\\-_]+)",
5674856724
"type" : "string"
5674956725
},
5675056726
"groups-overwrite" : {
@@ -57110,7 +57086,7 @@ const apiSchema = [
5711057086
"description" : "OpenID claim used to retrieve groups with.",
5711157087
"maxLength" : 256,
5711257088
"optional" : 1,
57113-
"pattern" : "(?^:A-Za-z0-9\\.\\-_)",
57089+
"pattern" : "(?^:[A-Za-z0-9\\.\\-_]+)",
5711457090
"type" : "string"
5711557091
},
5711657092
"groups-overwrite" : {

pveum.1-synopsis.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ LDAP attribute representing a groups name. If not set or found, the first value
290290

291291
Automatically create groups if they do not exist.
292292

293-
`--groups-claim` `(?^:A-Za-z0-9\.\-_)` ::
293+
`--groups-claim` `(?^:[A-Za-z0-9\.\-_]+)` ::
294294

295295
OpenID claim used to retrieve groups with.
296296

@@ -482,7 +482,7 @@ LDAP attribute representing a groups name. If not set or found, the first value
482482

483483
Automatically create groups if they do not exist.
484484

485-
`--groups-claim` `(?^:A-Za-z0-9\.\-_)` ::
485+
`--groups-claim` `(?^:[A-Za-z0-9\.\-_]+)` ::
486486

487487
OpenID claim used to retrieve groups with.
488488

qm.1-synopsis.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ Configure the VGA hardware.
473473

474474
Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
475475

476-
`--virtiofs[n]` `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>] [,writeback=<1|0>]` ::
476+
`--virtiofs[n]` `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>]` ::
477477

478478
Configuration for sharing a directory between host and guest using Virtio-fs.
479479

@@ -1068,7 +1068,7 @@ Configure the VGA hardware.
10681068

10691069
Use volume as VIRTIO hard disk (n is 0 to 15).
10701070

1071-
`--virtiofs[n]` `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>] [,writeback=<1|0>]` ::
1071+
`--virtiofs[n]` `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>]` ::
10721072

10731073
Configuration for sharing a directory between host and guest using Virtio-fs.
10741074

@@ -1664,7 +1664,7 @@ Configure the VGA hardware.
16641664

16651665
Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
16661666

1667-
`--virtiofs[n]` `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>] [,writeback=<1|0>]` ::
1667+
`--virtiofs[n]` `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>]` ::
16681668

16691669
Configuration for sharing a directory between host and guest using Virtio-fs.
16701670

qm.conf.5-opts.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ Force disk geometry bios translation mode.
14581458

14591459
Write error action.
14601460

1461-
`virtiofs[n]`: `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>] [,writeback=<1|0>]` ::
1461+
`virtiofs[n]`: `[dirid=]<mapping-id> [,cache=<enum>] [,direct-io=<1|0>] [,expose-acl=<1|0>] [,expose-xattr=<1|0>]` ::
14621462

14631463
Configuration for sharing a directory between host and guest using Virtio-fs.
14641464

@@ -1482,10 +1482,6 @@ Enable support for POSIX ACLs (enabled ACL implies xattr) for this mount.
14821482

14831483
Enable support for extended attributes for this mount.
14841484

1485-
`writeback`=`<boolean>` ('default =' `0`);;
1486-
1487-
Enable writeback cache. If enabled, writes may be cached in the guest until the file is closed or an fsync is performed.
1488-
14891485
`vmgenid`: `<UUID>` ('default =' `1 (autogenerated)`)::
14901486

14911487
The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.

0 commit comments

Comments
 (0)