HostGpu#
- class HostGpu(node_uuid=None, node_id=None, cluster=None, number_of_vgpus_allocated=None, config=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModelHost GPU details.
- Parameters:
node_uuid – (
node_uuid) UUID of the host.node_id – (
node_id) Controller VM Id.cluster – (
cluster)number_of_vgpus_allocated – (
number_of_vgpus_allocated) Number of vGPUs allocated.config – (
config)
- property cluster#
- Type:
- property config#
- Type:
- property node_id#
Controller VM Id.
- Type:
str
- property node_uuid#
UUID of the host.
- Type:
str
- property number_of_vgpus_allocated#
Number of vGPUs allocated.
- Type:
int
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model