},
"returns" : {
"properties" : {
+ "ebtables" : {
+ "default" : 1,
+ "description" : "Enable ebtables rules cluster wide.",
+ "optional" : 1,
+ "type" : "boolean"
+ },
"enable" : {
"description" : "Enable or disable the firewall cluster wide.",
"minimum" : 0,
"type" : "string",
"typetext" : "<string>"
},
+ "ebtables" : {
+ "default" : 1,
+ "description" : "Enable ebtables rules cluster wide.",
+ "optional" : 1,
+ "type" : "boolean",
+ "typetext" : "<boolean>"
+ },
"enable" : {
"description" : "Enable or disable the firewall cluster wide.",
"minimum" : 0,
}
}
},
+ "permissions" : {
+ "user" : "all"
+ },
"returns" : {
"description" : "ACME TermsOfService URL.",
"type" : "string"
"parameters" : {
"additionalProperties" : 0
},
+ "permissions" : {
+ "user" : "all"
+ },
"returns" : {
"items" : {
"additionalProperties" : 0,
},
"keyboard" : {
"default" : null,
- "description" : "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.It should not be necessary to set it.",
+ "description" : "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.",
"enum" : [
"de",
"de-ch",
},
"shares" : {
"default" : 1000,
- "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning",
+ "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
"maximum" : 50000,
"minimum" : 0,
"optional" : 1,
},
"keyboard" : {
"default" : null,
- "description" : "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.It should not be necessary to set it.",
+ "description" : "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.",
"enum" : [
"de",
"de-ch",
},
"shares" : {
"default" : 1000,
- "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning",
+ "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
"maximum" : 50000,
"minimum" : 0,
"optional" : 1,
},
"keyboard" : {
"default" : null,
- "description" : "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.It should not be necessary to set it.",
+ "description" : "Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.",
"enum" : [
"de",
"de-ch",
},
"shares" : {
"default" : 1000,
- "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning",
+ "description" : "Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.",
"maximum" : 50000,
"minimum" : 0,
"optional" : 1,
"type" : "string",
"typetext" : "<string>"
},
+ "start" : {
+ "default" : 0,
+ "description" : "Start VM after it was created successfully.",
+ "optional" : 1,
+ "type" : "boolean",
+ "typetext" : "<boolean>"
+ },
"startdate" : {
"default" : "now",
"description" : "Set the initial date of the real time clock. Valid format for date are: 'now' or '2006-06-17T16:01:21' or '2006-06-17'.",
"type" : "string",
"typetext" : "<string>"
},
+ "start" : {
+ "default" : 0,
+ "description" : "Start the CT after its creation finished successfully.",
+ "optional" : 1,
+ "type" : "boolean",
+ "typetext" : "<boolean>"
+ },
"startup" : {
"description" : "Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.",
"format" : "pve-startup-order",
]
]
},
- "returns" : {}
+ "returns" : {
+ "type" : "object"
+ }
},
"PUT" : {
"description" : "Update storage configuration.",
"type" : "string",
"typetext" : "<string>"
},
+ "fuse" : {
+ "description" : "Mount CephFS through FUSE.",
+ "optional" : 1,
+ "type" : "boolean",
+ "typetext" : "<boolean>"
+ },
"is_mountpoint" : {
"default" : "no",
"description" : "Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field.",
"typetext" : "<boolean>"
},
"smbversion" : {
- "description" : "",
+ "description" : "SMB protocol version",
+ "enum" : [
+ "2.0",
+ "2.1",
+ "3.0"
+ ],
"optional" : 1,
- "type" : "string",
- "typetext" : "<string>"
+ "type" : "string"
},
"sparse" : {
"description" : "use sparse volumes",
"type" : "string",
"typetext" : "<string>"
},
+ "subdir" : {
+ "description" : "Subdir to mount.",
+ "format" : "pve-storage-path",
+ "optional" : 1,
+ "type" : "string",
+ "typetext" : "<string>"
+ },
"tagged_only" : {
"description" : "Only use logical volumes tagged with 'pve-vm-ID'.",
"optional" : 1,
"type" : {
"description" : "Only list storage of specific type",
"enum" : [
+ "cephfs",
"cifs",
"dir",
"drbd",
"type" : "string",
"typetext" : "<string>"
},
+ "fuse" : {
+ "description" : "Mount CephFS through FUSE.",
+ "optional" : 1,
+ "type" : "boolean",
+ "typetext" : "<boolean>"
+ },
"is_mountpoint" : {
"default" : "no",
"description" : "Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field.",
"typetext" : "<boolean>"
},
"smbversion" : {
- "description" : "",
+ "description" : "SMB protocol version",
+ "enum" : [
+ "2.0",
+ "2.1",
+ "3.0"
+ ],
"optional" : 1,
- "type" : "string",
- "typetext" : "<string>"
+ "type" : "string"
},
"sparse" : {
"description" : "use sparse volumes",
"type" : "string",
"typetext" : "<string>"
},
+ "subdir" : {
+ "description" : "Subdir to mount.",
+ "format" : "pve-storage-path",
+ "optional" : 1,
+ "type" : "string",
+ "typetext" : "<string>"
+ },
"tagged_only" : {
"description" : "Only use logical volumes tagged with 'pve-vm-ID'.",
"optional" : 1,
"type" : {
"description" : "Storage type.",
"enum" : [
+ "cephfs",
"cifs",
"dir",
"drbd",
OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.
-`--password` ::
+`--password` `<password>` ::
Sets root password inside container.
Setup public SSH keys (one key per line, OpenSSH format).
+`--start` `<boolean>` ('default =' `0`)::
+
+Start the CT after its creation finished successfully.
+
`--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.
-`--password` ::
+`--password` `<password>` ::
Sets root password inside container.
Setup public SSH keys (one key per line, OpenSSH format).
+`--start` `<boolean>` ('default =' `0`)::
+
+Start the CT after its creation finished successfully.
+
`--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
+`ebtables`: `<boolean>` ('default =' `1`)::
+
+Enable ebtables rules cluster wide.
+
`enable`: `<integer> (0 - N)` ::
Enable or disable the firewall cluster wide.
Verbose output format.
+*pvenode migrateall* `<target>` `[OPTIONS]`
+
+Migrate all VMs and Containers.
+
+`<target>`: `<string>` ::
+
+Target node.
+
+`--maxworkers` `<integer> (1 - N)` ::
+
+Maximal number of parallel migration job. If not set use 'max_workers' from datacenter.cfg, one of both must be set!
+
+`--vms` `<string>` ::
+
+Only consider Guests with these IDs.
+
+*pvenode startall* `[OPTIONS]`
+
+Start all VMs and containers (when onboot=1).
+
+`--force` `<boolean>` ::
+
+force if onboot=0.
+
+`--vms` `<string>` ::
+
+Only consider Guests with these IDs.
+
+*pvenode stopall* `[OPTIONS]`
+
+Stop all VMs and Containers.
+
+`--vms` `<string>` ::
+
+Only consider Guests with these IDs.
+
Create a new storage.
-`<type>`: `<cifs | dir | drbd | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | rbd | sheepdog | zfs | zfspool>` ::
+`<type>`: `<cephfs | cifs | dir | drbd | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | rbd | sheepdog | zfs | zfspool>` ::
Storage type.
Default image format.
+`--fuse` `<boolean>` ::
+
+Mount CephFS through FUSE.
+
`--is_mountpoint` `<string>` ('default =' `no`)::
Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field.
NFS mount options (see 'man nfs')
-`--password` ::
+`--password` `<password>` ::
Password for CIFS share.
Mark storage as shared.
-`--smbversion` `<string>` ::
+`--smbversion` `<2.0 | 2.1 | 3.0>` ::
-no description available
+SMB protocol version
`--sparse` `<boolean>` ::
use sparse volumes
+`--subdir` `<string>` ::
+
+Subdir to mount.
+
`--tagged_only` `<boolean>` ::
Only use logical volumes tagged with 'pve-vm-ID'.
no description available
-`--password` ::
+`--password` `<password>` ::
no description available
Default image format.
+`--fuse` `<boolean>` ::
+
+Mount CephFS through FUSE.
+
`--is_mountpoint` `<string>` ('default =' `no`)::
Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field.
NFS mount options (see 'man nfs')
-`--password` ::
+`--password` `<string>` ::
Password for CIFS share.
Mark storage as shared.
-`--smbversion` `<string>` ::
+`--smbversion` `<2.0 | 2.1 | 3.0>` ::
-no description available
+SMB protocol version
`--sparse` `<boolean>` ::
use sparse volumes
+`--subdir` `<string>` ::
+
+Subdir to mount.
+
`--tagged_only` `<boolean>` ::
Only use logical volumes tagged with 'pve-vm-ID'.
no description available
-`--password` ::
+`--password` `<password>` ::
Initial password.
`--keyboard` `<da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr>` ::
-Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.It should not be necessary to set it.
+Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.
`--kvm` `<boolean>` ('default =' `1`)::
`--shares` `<integer> (0 - 50000)` ('default =' `1000`)::
-Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning
+Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.
`--smbios1` `[family=<string>] [,manufacturer=<string>] [,product=<string>] [,serial=<string>] [,sku=<string>] [,uuid=<UUID>] [,version=<string>]` ::
cloud-init: Setup public SSH keys (one key per line, OpenSSH format).
+`--start` `<boolean>` ('default =' `0`)::
+
+Start VM after it was created successfully.
+
`--startdate` `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
Set the initial date of the real time clock. Valid format for date are: 'now' or '2006-06-17T16:01:21' or '2006-06-17'.
`--keyboard` `<da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr>` ::
-Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.It should not be necessary to set it.
+Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.
`--kvm` `<boolean>` ('default =' `1`)::
`--shares` `<integer> (0 - 50000)` ('default =' `1000`)::
-Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning
+Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.
`--skiplock` `<boolean>` ::
`keyboard`: `<da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr>` ::
-Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.It should not be necessary to set it.
+Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.
`kvm`: `<boolean>` ('default =' `1`)::
`shares`: `<integer> (0 - 50000)` ('default =' `1000`)::
-Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning
+Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.
`smbios1`: `[family=<string>] [,manufacturer=<string>] [,product=<string>] [,serial=<string>] [,sku=<string>] [,uuid=<UUID>] [,version=<string>]` ::