HardwareModel#
- class HardwareModel(vendor=None, model=None, cpus=None, rams=None, hdds=None, ssds=None, nvmes=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModelMetadata about the model. For example, all the parts (CPU, memory and storage) available in the model and their capacity.
- Parameters:
- property cpus#
CPU parts in a model.
- Type:
list[
HardwarePart]
- property hdds#
HDD parts in a model.
- Type:
list[
HardwarePart]
- property model#
Name of the model.
- Type:
str
- property nvmes#
NVMe part details in a model.
- Type:
list[
HardwarePart]
- property rams#
RAM parts in a model.
- Type:
list[
HardwarePart]
- property ssds#
SSD parts in a model.
- Type:
list[
HardwarePart]
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model