syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "google/protobuf/field_mask.proto"; import "onprem/user/v1/redfish_action.proto"; import "onprem/user/v1/redfish_chassis.proto"; import "onprem/user/v1/redfish_computer_system.proto"; message FilterFields { map bools = 1; map strings = 2; map floats = 3; map ints = 4; } message RedfishFindChassesRequest { reserved 1; oneof filter_type { bool filter_type_all = 2; string filter_type_id = 3; string filter_type_name = 4; string filter_type_asset_tag = 5; FilterFields filter_type_fields = 6; } google.protobuf.FieldMask field_mask = 7; } message RedfishFindChassesResponse { reserved 1; repeated RedfishChassis chasses = 2; } message RedfishFindSystemsRequest { reserved 1; oneof filter_type { bool filter_type_all = 2; string filter_type_id = 3; string filter_type_name = 4; string filter_type_asset_tag = 5; FilterFields filter_type_fields = 6; } google.protobuf.FieldMask field_mask = 7; } message RedfishFindSystemsResponse { message ComputerSystem { string id = 1; optional string name = 2; optional string description = 3; optional string asset_tag = 11; optional string bios_version = 12; optional string host_name = 13; optional string last_reset_time = 14; optional string manufacturer = 15; optional string model = 16; optional string part_number = 17; optional string serial_number = 18; optional string sku = 19; optional string sub_model = 20; optional string uuid = 21; optional string oem_json = 22; optional RedfishMemorySummary memory_summary = 23; optional RedfishProcessorSummary processor_summary = 24; optional string chassis_id = 25; repeated RedfishAction actions = 26; } repeated ComputerSystem computer_systems = 1; } message RedfishResetSystemRequest { enum Type { ForceOff = 0; ForceOn = 1; ForceRestart = 2; GracefulRestart = 3; GracefulShutdown = 4; Nmi = 5; On = 6; Pause = 7; PowerCycle = 8; PushPowerButton = 9; Resume = 10; Suspend = 11; } string id = 1; Type reset_type = 2; } message RedfishResetSystemResponse {} message RedfishSetChassisAssetTagRequest { string id = 1; string asset_tag = 2; } message RedfishSetChassisAssetTagResponse {} message RedfishSetSystemAssetTagRequest { string id = 1; string asset_tag = 2; } message RedfishSetSystemAssetTagResponse {} message RedfishSetSystemIndicatorLEDRequest { string id = 1; RedfishComputerSystem.IndicatorLED indicator_led = 2; } message RedfishSetSystemIndicatorLEDResponse {}