Skip to content

Commit 96cd113

Browse files
authored
Versioning details in exporter to controller and client
Add driver version and cli version requirements on reports Report exporter version to both server and clients
1 parent 4f8035c commit 96cd113

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

proto/jumpstarter/v1/jumpstarter.proto

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ message RegisterRequest {
6161
// jumpstarter.dev/hostname=
6262
// jumpstarter.dev/name=
6363
repeated DriverInstanceReport reports = 2;
64+
string version = 3;
6465
}
6566

6667
message DriverInstanceReport {
@@ -69,6 +70,8 @@ message DriverInstanceReport {
6970
map<string, string> labels = 3;
7071
optional string description = 4; // optional custom driver description for CLI
7172
map<string, string> methods_description = 5; // method name -> help text for CLI
73+
string version = 6; // driver software version
74+
string minimum_cli_version = 7; // the oldest compatible software version for the client side
7275
}
7376

7477
message RegisterResponse {
@@ -143,6 +146,7 @@ message GetReportResponse {
143146
// jumpstarter.dev/name=
144147
repeated DriverInstanceReport reports = 3;
145148
repeated Endpoint alternative_endpoints = 4;
149+
string version = 5; // exporter software version
146150
}
147151

148152
message Endpoint {
@@ -223,4 +227,4 @@ message GetStatusRequest {}
223227
message GetStatusResponse {
224228
ExporterStatus status = 1;
225229
optional string message = 2;
226-
}
230+
}

0 commit comments

Comments
 (0)