Skip to content

Commit

Permalink
api: Add limits_cpu_pin_strategy API extension.
Browse files Browse the repository at this point in the history
Signed-off-by: Kadin Sayani <[email protected]>
  • Loading branch information
kadinsayani committed Oct 1, 2024
1 parent 82305a6 commit 7d85357
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2480,3 +2480,7 @@ 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.

## `limits_cpu_pin_strategy`

Adds a new {config:option}`instance-resource-limits:limits.cpu.pin_strategy` configuration option for virtual machines. This option controls the CPU pinning strategy. When set to `none`, CPU auto pinning is disabled. When set to `auto`, CPU auto pinning is enabled.
1 change: 1 addition & 0 deletions shared/version/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ var APIExtensions = []string{
"projects_limits_disk_pool",
"ubuntu_pro_guest_attach",
"metadata_configuration_entity_types",
"limits_cpu_pin_strategy",
}

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

0 comments on commit 7d85357

Please sign in to comment.