Eddie Zaneski 5ba1df4695
chore: add java package to protos
This option must be defined at the proto level in order to have an
import path that is reasonably usable

Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-26 15:23:21 +04:00

59 lines
1.4 KiB
Protocol Buffer
Executable File

syntax = "proto3";
package talos.resource.definitions.hardware;
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/hardware";
option java_package = "dev.talos.api.resource.definitions.hardware";
// MemoryModuleSpec represents a single Memory.
message MemoryModuleSpec {
uint32 size = 1;
string device_locator = 2;
string bank_locator = 3;
uint32 speed = 4;
string manufacturer = 5;
string serial_number = 6;
string asset_tag = 7;
string product_name = 8;
}
// PCIDeviceSpec represents a single processor.
message PCIDeviceSpec {
string class = 1;
string subclass = 2;
string vendor = 3;
string product = 4;
string class_id = 5;
string subclass_id = 6;
string vendor_id = 7;
string product_id = 8;
}
// ProcessorSpec represents a single processor.
message ProcessorSpec {
string socket = 1;
string manufacturer = 2;
string product_name = 3;
uint32 max_speed = 4;
uint32 boot_speed = 5;
uint32 status = 6;
string serial_number = 7;
string asset_tag = 8;
string part_number = 9;
uint32 core_count = 10;
uint32 core_enabled = 11;
uint32 thread_count = 12;
}
// SystemInformationSpec represents the system information obtained from smbios.
message SystemInformationSpec {
string manufacturer = 1;
string product_name = 2;
string version = 3;
string serial_number = 4;
string uuid = 5;
string wake_up_type = 6;
string sku_number = 7;
}