Skip to content

Commit

Permalink
api: Add state_logical_cpus extension (#14314)
Browse files Browse the repository at this point in the history
As requested in #14294
  • Loading branch information
tomponline authored Oct 21, 2024
2 parents 2f952c9 + fead980 commit 01fa0c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2511,3 +2511,8 @@ And lastly, adds a `project` field on leases, leases can be retrieved via `/1.0/
## `network_ovn_uplink_vlan`

Adds support for using a bridge network with a specified VLAN ID as an OVN uplink.

## `state_logical_cpus`

Adds `logical_cpus` field to `GET /1.0/cluster/members/{name}/state` which
contains the total available logical CPUs available when LXD started.
1 change: 1 addition & 0 deletions shared/version/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ var APIExtensions = []string{
"access_management_tls",
"network_allocations_ovn_uplink",
"network_ovn_uplink_vlan",
"state_logical_cpus",
}

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

0 comments on commit 01fa0c2

Please sign in to comment.