File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,6 +161,10 @@ message WorkloadBlockDeviceSpec {
161161 BlockDeviceMountOptions mount_options = 3 ;
162162}
163163
164+ message WorkloadPciDeviceSpec {
165+ string location = 1 ;
166+ }
167+
164168message BlockDeviceMountOptions {
165169 bool readonly = 1 ;
166170 string permissions = 2 ;
@@ -326,6 +330,7 @@ message WorkloadSpec {
326330 string hostname = 10 ;
327331 repeated WorkloadBlockDeviceSpec block_devices = 11 ;
328332 optional int32 oom_score_adj = 12 ;
333+ repeated WorkloadPciDeviceSpec pci_devices = 13 ;
329334}
330335
331336message CgroupLimit {
@@ -368,6 +373,7 @@ message WorkloadStatus {
368373 WorkloadBlockDeviceStatus block_device_status = 4 ;
369374 WorkloadMountStatus mount_status = 5 ;
370375 google.protobuf.Timestamp created_at = 6 ;
376+ WorkloadPciDeviceStatus pci_device_status = 7 ;
371377}
372378
373379message WorkloadBlockDeviceInfo {
@@ -378,10 +384,18 @@ message WorkloadBlockDeviceInfo {
378384 bool loop_dev = 5 ;
379385}
380386
387+ message WorkloadPciDeviceInfo {
388+ string location = 1 ;
389+ }
390+
381391message WorkloadBlockDeviceStatus {
382392 repeated WorkloadBlockDeviceInfo devices = 1 ;
383393}
384394
395+ message WorkloadPciDeviceStatus {
396+ repeated WorkloadPciDeviceInfo devices = 1 ;
397+ }
398+
385399message WorkloadMountInfo {
386400 string tag = 2 ;
387401 string host_path = 3 ;
You can’t perform that action at this time.
0 commit comments