feat(xo-server): implement PUSB in xapi-object-to-xo

This commit is contained in:
mathieuRA 2024-02-14 10:24:52 +01:00 committed by Julien Fontanet
parent e54a0bfc80
commit 367fb4d8a6

View File

@ -889,6 +889,17 @@ const TRANSFORMS = {
vm: link(obj, 'VM'),
}
},
pusb(obj) {
return {
type: 'PUSB',
description: obj.description,
host: link(obj, 'host'),
passthroughEnabled: obj.passthrough_enabled,
usbGroup: link(obj, 'USB_group'),
}
},
}
// ===================================================================