-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OrbCommand protos for Fleet Commander
- Loading branch information
Paul Quinn
committed
Dec 29, 2024
1 parent
6de9722
commit 99897b1
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
syntax = "proto3"; | ||
|
||
package orb_commands.v1; | ||
|
||
message OrbCommandIssue { | ||
uint64 command_id = 1; | ||
oneof command { | ||
OrbDetailsRequest orb_details = 2; | ||
RebootRequest reboot = 3; | ||
} | ||
} | ||
|
||
message OrbCommandResult { | ||
uint64 command_id = 1; | ||
oneof result { | ||
OrbCommandSuccess success = 2; | ||
OrbCommandError error = 3; | ||
OrbDetailsResponse orb_details = 4; | ||
} | ||
} | ||
|
||
message OrbCommandSuccess {} | ||
|
||
message OrbCommandError { | ||
string error = 1; | ||
} | ||
|
||
message OrbDetailsRequest {} | ||
|
||
message OrbDetailsResponse { | ||
string orb_id = 1; | ||
string orb_name = 2; | ||
string jabil_id = 3; | ||
string hardware_version = 4; | ||
string software_version = 5; | ||
string software_update_version = 6; | ||
string os_release_type = 7; | ||
string active_slot = 8; | ||
uint64 uptime_seconds = 9; | ||
} | ||
|
||
message RebootRequest { | ||
uint64 delay_seconds = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters