Skip to content

Commit

Permalink
api: Add vm_zfs_storage_disk_live_resize and `vm_lvm_storage_disk_l…
Browse files Browse the repository at this point in the history
…ive_resize` API extension

Signed-off-by: Kadin Sayani <[email protected]>
  • Loading branch information
kadinsayani committed Oct 8, 2024
1 parent e4cd82b commit eb1b3a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2480,3 +2480,11 @@ When set to `on`, if the host has guest attachment enabled, the guest can reques

This adds entity type metadata to `GET /1.0/metadata/configuration`.
The entity type metadata is a JSON object under the `entities` key.

## `vm_zfs_storage_disk_live_resize`

This enables resizing of virtual machine zfs disks without requiring a restart for the changes to take effect.

## `vm_lvm_storage_disk_live_resize`

This enables resizing of virtual machine lvm disks without requiring a restart for the changes to take effect.
2 changes: 2 additions & 0 deletions shared/version/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ var APIExtensions = []string{
"projects_limits_disk_pool",
"ubuntu_pro_guest_attach",
"metadata_configuration_entity_types",
"vm_zfs_storage_disk_live_resize",
"vm_lvm_storage_disk_live_resize",
}

// APIExtensionsCount returns the number of available API extensions.
Expand Down

0 comments on commit eb1b3a6

Please sign in to comment.