Skip to content

Commit

Permalink
api: Add state_logical_cpus extension
Browse files Browse the repository at this point in the history
Covers changes introduced with canonical#14294

Signed-off-by: Wesley Hershberger <[email protected]>
  • Loading branch information
MggMuggins authored and hamistao committed Oct 25, 2024
1 parent 02454d2 commit c6144a2
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 c6144a2

Please sign in to comment.