Skip to content

Commit 95d01df

Browse files
committed
wip
1 parent 304a988 commit 95d01df

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

protect/control/v1/common.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ message WorkloadBlockDeviceSpec {
160160
BlockDeviceMountOptions mount_options = 3;
161161
}
162162

163+
message WorkloadPciDeviceSpec {
164+
string location = 1;
165+
}
166+
163167
message BlockDeviceMountOptions {
164168
bool readonly = 1;
165169
string permissions = 2;
@@ -323,6 +327,7 @@ message WorkloadSpec {
323327
repeated CgroupLimit cgroup_limits = 9;
324328
string hostname = 10;
325329
repeated WorkloadBlockDeviceSpec block_devices = 11;
330+
repeated WorkloadPciDeviceSpec pci_devices = 12;
326331
}
327332

328333
message CgroupLimit {
@@ -365,6 +370,7 @@ message WorkloadStatus {
365370
WorkloadBlockDeviceStatus block_device_status = 4;
366371
WorkloadMountStatus mount_status = 5;
367372
google.protobuf.Timestamp created_at = 6;
373+
WorkloadPciDeviceStatus pci_device_status = 7;
368374
}
369375

370376
message WorkloadBlockDeviceInfo {
@@ -375,10 +381,18 @@ message WorkloadBlockDeviceInfo {
375381
bool loop_dev = 5;
376382
}
377383

384+
message WorkloadPciDeviceInfo {
385+
string location = 1;
386+
}
387+
378388
message WorkloadBlockDeviceStatus {
379389
repeated WorkloadBlockDeviceInfo devices = 1;
380390
}
381391

392+
message WorkloadPciDeviceStatus {
393+
repeated WorkloadPciDeviceInfo devices = 1;
394+
}
395+
382396
message WorkloadMountInfo {
383397
string tag = 2;
384398
string host_path = 3;

0 commit comments

Comments
 (0)