Skip to content
Merged
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

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions proto/fleetnodegateway/v1/fleetnodegateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ message MinerCommand {
GetErrorsAction get_errors = 12;
UpdateMinerPasswordAction update_miner_password = 13;
DownloadLogsAction download_logs = 14;
FirmwareUpdateAction firmware_update = 15;
GetFirmwareUpdateStatusAction get_firmware_update_status = 16;
}
}

Expand All @@ -340,6 +342,7 @@ message BlinkLedAction {}
message UncurtailAction {}
message GetMiningPoolsAction {}
message GetErrorsAction {}
message GetFirmwareUpdateStatusAction {}

message DownloadLogsAction {
string batch_log_uuid = 1 [(buf.validate.field).string = {min_len: 1, max_len: 128}];
Expand Down Expand Up @@ -367,6 +370,10 @@ message UpdateMinerPasswordResult {
EncryptedCredentials encrypted_credentials = 1 [(buf.validate.field).required = true];
}

message FirmwareUpdateAction {
CommandArtifactRef artifact = 1 [(buf.validate.field).required = true];
}

message CurtailAction {
curtailment.v1.CurtailmentLevel level = 1;
}
Expand Down Expand Up @@ -399,6 +406,12 @@ message GetMiningPoolsResult {
repeated MiningPoolConfig pools = 1 [(buf.validate.field).repeated.max_items = 3];
}

message FirmwareUpdateStatusResult {
string state = 1 [(buf.validate.field).string.max_len = 64];
optional int32 progress = 2;
optional string error = 3 [(buf.validate.field).string.max_len = 4096];
}

message MinerErrorReport {
errors.v1.MinerError miner_error = 1 [(buf.validate.field).enum.defined_only = true];
string cause_summary = 2 [(buf.validate.field).string.max_len = 4096];
Expand Down
Loading
Loading