File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,6 +160,10 @@ message WorkloadBlockDeviceSpec {
160160 BlockDeviceMountOptions mount_options = 3 ;
161161}
162162
163+ message WorkloadPciDeviceSpec {
164+ string location = 1 ;
165+ }
166+
163167message 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
328333message 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
370376message WorkloadBlockDeviceInfo {
@@ -375,10 +381,18 @@ message WorkloadBlockDeviceInfo {
375381 bool loop_dev = 5 ;
376382}
377383
384+ message WorkloadPciDeviceInfo {
385+ string location = 1 ;
386+ }
387+
378388message WorkloadBlockDeviceStatus {
379389 repeated WorkloadBlockDeviceInfo devices = 1 ;
380390}
381391
392+ message WorkloadPciDeviceStatus {
393+ repeated WorkloadPciDeviceInfo devices = 1 ;
394+ }
395+
382396message WorkloadMountInfo {
383397 string tag = 2 ;
384398 string host_path = 3 ;
You can’t perform that action at this time.
0 commit comments