GpuProfile#

class GpuProfile(device_id=None, gpu_config=None, allocated_vm_uuids=None, *args, **kwargs)[source]#

Bases: object

GPU Profile

Parameters:
  • device_id – (device_id) Device Id

  • gpu_config – (gpu_config)

  • allocated_vm_uuids – (allocated_vm_uuids) List of UUIDs of virtual machines with an allocated GPU belonging to this profile

property allocated_vm_uuids#

List of UUIDs of virtual machines with an allocated GPU belonging to this profile

Type:

list[ str ]

property device_id#

Device Id

Type:

str

property gpu_config#
Type:

GpuConfig

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model