From 949524697e031146a033980940412d4e3faad050 Mon Sep 17 00:00:00 2001 From: Seki Xu Date: Fri, 11 Sep 2026 22:02:31 +0800 Subject: [PATCH] feat(gpu): document a pgpu card's device profile GET /nodes/{nodeName}/gpuCards now reports deviceProfile on each card: the Cyborg device profile a flavor's accel:device_profile has to name in order to be scheduled onto that card. Only a pgpu card has one -- sriovVgpu and migBackedVgpu are scheduled through the PCI alias already reported per profile -- so the field is null on every other resource type, and null on a pgpu card whose profile has not been created yet. It is never an empty string. Refs bigstack-oss/cubecos#818 Co-Authored-By: Claude Opus 5 (1M context) Signed-off-by: Seki Xu --- docs.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs.yaml b/docs.yaml index a40475a..526c507 100644 --- a/docs.yaml +++ b/docs.yaml @@ -15725,6 +15725,7 @@ components: - profiles - sriovVgpuProfileCountLimit - attachedInstances + - deviceProfile - links - status - degraded @@ -15872,6 +15873,16 @@ components: vramHistory: type: string nullable: true + deviceProfile: + type: string + nullable: true + description: >- + The Cyborg device profile a flavor's accel:device_profile must + name to be scheduled onto this card. Only a pgpu card has one: + sriovVgpu and migBackedVgpu cards are scheduled through the PCI + alias reported on each of their profiles. Null on every other + resource type, and on a pgpu card whose profile has not been + created yet or could not be looked up. links: type: object description: >-