Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion api/v1/hypervisor_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,13 @@ type OperatingSystemStatus struct {
}

// Current capabilities reported by libvirt.
//
// The keys provided here should correspond to the capabilities expected
// by openstack's flavor extra specs, like 'capabilities:arch'.
type CapabilitiesStatus struct {
// +kubebuilder:default:=unknown
// The hosts CPU architecture (not the guests).
HostCpuArch string `json:"cpuArch,omitempty"`
HostCpuArch string `json:"arch,omitempty"`
// Total host memory available as a sum of memory over all numa cells.
HostMemory resource.Quantity `json:"memory,omitempty"`
// Total host cpus available as a sum of cpus over all numa cells.
Expand Down
2 changes: 1 addition & 1 deletion applyconfigurations/api/v1/capabilitiesstatus.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ spec:
capabilities:
description: The capabilities of the hypervisors as reported by libvirt.
properties:
cpuArch:
arch:
default: unknown
description: The hosts CPU architecture (not the guests).
type: string
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kvm.cloud.sap_hypervisors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ spec:
capabilities:
description: The capabilities of the hypervisors as reported by libvirt.
properties:
cpuArch:
arch:
default: unknown
description: The hosts CPU architecture (not the guests).
type: string
Expand Down