Class: GPU_group

A group of compatible GPUs across the resource pool




string set GPU_types [RO/runtime]
PGPU ref set PGPUs [RO/runtime]
VGPU ref set VGPUs [RO/runtime]
enum allocation_algorithm allocation_algorithm [RW]
VGPU_type ref set enabled_VGPU_types [RO/runtime]
string name_description [RW]
string name_label [RW]
(string → string) map other_config [RW]
VGPU_type ref set supported_VGPU_types [RO/runtime]
string uuid [RO/runtime]


void add_to_other_config (session ref, GPU_group ref, string, string)
GPU_group ref create (session ref, string, string, (string → string) map)
void destroy (session ref, GPU_group ref)
string set get_GPU_types (session ref, GPU_group ref)
PGPU ref set get_PGPUs (session ref, GPU_group ref)
VGPU ref set get_VGPUs (session ref, GPU_group ref)
GPU_group ref set get_all (session ref)
(GPU_group ref → GPU_group record) map get_all_records (session ref)
enum allocation_algorithm get_allocation_algorithm (session ref, GPU_group ref)
GPU_group ref set get_by_name_label (session ref, string)
GPU_group ref get_by_uuid (session ref, string)
VGPU_type ref set get_enabled_VGPU_types (session ref, GPU_group ref)
string get_name_description (session ref, GPU_group ref)
string get_name_label (session ref, GPU_group ref)
(string → string) map get_other_config (session ref, GPU_group ref)
GPU_group record get_record (session ref, GPU_group ref)
int get_remaining_capacity (session ref, GPU_group ref, VGPU_type ref)
VGPU_type ref set get_supported_VGPU_types (session ref, GPU_group ref)
string get_uuid (session ref, GPU_group ref)
void remove_from_other_config (session ref, GPU_group ref, string)
void set_allocation_algorithm (session ref, GPU_group ref, enum allocation_algorithm)
void set_name_description (session ref, GPU_group ref, string)
void set_name_label (session ref, GPU_group ref, string)
void set_other_config (session ref, GPU_group ref, (string → string) map)