From 8cb793e7adaae30d1fae280b4e845f67342309db Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Mon, 4 May 2026 15:17:01 +0800 Subject: [PATCH] feat: add class type colume for usb device (#839) Signed-off-by: Jack Yu --- .../VirtualMachineUSBDevices/DeviceList.vue | 6 ++++++ pkg/harvester/l10n/en-us.yaml | 1 + 2 files changed, 7 insertions(+) diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineUSBDevices/DeviceList.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineUSBDevices/DeviceList.vue index 60001e9c..76b74d19 100644 --- a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineUSBDevices/DeviceList.vue +++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineUSBDevices/DeviceList.vue @@ -64,6 +64,12 @@ export default { value: 'status.productID', sort: ['status.productID', 'status.vendorID'] }, + { + name: 'classType', + labelKey: 'harvester.usb.classType', + value: 'status.classType', + sort: ['status.classType'] + }, ]; if (!isSingleProduct) { diff --git a/pkg/harvester/l10n/en-us.yaml b/pkg/harvester/l10n/en-us.yaml index 5e59c991..f0537908 100644 --- a/pkg/harvester/l10n/en-us.yaml +++ b/pkg/harvester/l10n/en-us.yaml @@ -1958,6 +1958,7 @@ harvester: title: Cannot Disable Passthrough message: Please detach the device from the VM and save it first before disabling passthrough. enablePassthroughWarning: 'Please re-enable the USB device if the device path changes in the following situations:
 1) Re-plugging the USB device.
 2) Rebooting the node.

An incorrect device path may cause passthrough to fail.' + classType: Class Type harvesterVlanConfigMigrateDialog: targetClusterNetwork: