RackableUnit#
- class RackableUnit(id=None, serial=None, model=None, model_name=None, nodes=None, rack=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModelRackable Unit configuration.
- Parameters:
- property id#
Rackable unit Id.
- Type:
int
- property model#
- Type:
- property model_name#
Rackable unit model name.
- Type:
str
- property nodes#
List of node information registered to the block.
- Type:
list[
RackableUnitNode]
- property rack#
- Type:
- property serial#
Rackable unit serial name.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model