Skip to content

Commit 4edff4e

Browse files
Merge branch 'main' into surbhi/device-db
2 parents 57cea88 + 5953a6b commit 4edff4e

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

buf.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,17 @@ lint:
1616
use:
1717
- STANDARD
1818
breaking:
19+
ignore_only:
20+
FIELD_SAME_NAME:
21+
- protect/control/v1/
22+
FIELD_SAME_JSON_NAME:
23+
- protect/control/v1/
24+
EXTENSION_NO_DELETE:
25+
- protect/control/v1/
26+
ENUM_VALUE_NO_DELETE:
27+
- protect/control/v1/
28+
FIELD_NO_DELETE:
29+
- protect/control/v1/
1930
use:
31+
- WIRE_JSON
2032
- FILE

protect/control/v1/common.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ message ProcessSpec {
133133
bool stdout = 9;
134134
bool stderr = 10;
135135
reserved 11, 12;
136+
repeated int64 additional_gids = 13;
136137
}
137138

138139
message MountSpec {
@@ -183,7 +184,8 @@ enum ZoneState {
183184
ZONE_STATE_CREATING = 1;
184185
ZONE_STATE_CREATED = 2;
185186
ZONE_STATE_READY = 3;
186-
ZONE_STATE_EXITED = 4;
187+
reserved 4;
188+
reserved "ZONE_STATE_EXITED";
187189
ZONE_STATE_DESTROYING = 5;
188190
ZONE_STATE_DESTROYED = 6;
189191
ZONE_STATE_FAILED = 7;
@@ -323,6 +325,7 @@ message WorkloadSpec {
323325
repeated CgroupLimit cgroup_limits = 9;
324326
string hostname = 10;
325327
repeated WorkloadBlockDeviceSpec block_devices = 11;
328+
optional int32 oom_score_adj = 12;
326329
}
327330

328331
message CgroupLimit {

protect/control/v1/control.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ message GetHostStatusReply {
7272
string host_ipv6 = 5;
7373
string host_mac = 6;
7474
optional uint64 hyp_free_mem = 7;
75+
optional string protect_git_sha = 8;
76+
optional string protect_last_tag = 9;
77+
optional uint64 protect_revs_since_tag = 10;
78+
optional string protect_branch = 11;
7579
}
7680

7781
message UpdateDeviceStateRequest {

0 commit comments

Comments
 (0)