Database Structure Reference
This page contains the reference documentation of RacksDB database structure, with all objects models and properties. The document starts with a legend of some symbols used for schematic representation of properties. Then, the root content of the database is described, followed by all subsequents objects. At the end, the defined types are described.
Symbols legend
Some icons are used in the tables of this page for symbolic representations of advanced data types:
Other symbols are used for attributes of properties:
The optional/required attribute is indicated in the Required column of properties definition table. When defined, the default value attribute is mentioned in the Description column.
Database Root
Library class type: RacksDB
Property | Description | Type | Required |
---|---|---|---|
|
Datacenter equipments types definitions. |
||
|
List of datacenters definitions. |
||
|
List of infrastructures definitions. |
Objects
Datacenter
Library class type: RacksDBDatacenter
Property | Description | Type | Required |
---|---|---|---|
|
Unique name of the datacenter. |
str |
|
|
List of rooms in this datacenter. |
||
|
The list of tags associated to this datacenter. |
str |
- |
DatacenterRoom
Library class type: RacksDBDatacenterRoom
Property | Description | Type | Required |
---|---|---|---|
|
Unique name of the room in this datacenter. |
str |
|
|
Dimensions of this room. |
||
|
List of racks rows on this room. |
- |
Property | Description | Type |
---|---|---|
|
Back reference to the datacenter where this room is located. |
DatacenterRoomDimensions
Library class type: RacksDBDatacenterRoomDimensions
Property | Description | Type | Required |
---|---|---|---|
|
Width of datacenter room. |
||
|
Depth of datacenter room. |
Infrastructure
Library class type: RacksDBInfrastructure
Property | Description | Type | Required |
---|---|---|---|
|
The name of the infrastructure. |
str |
|
|
Text description of the infrastructure. |
str |
|
|
The list of parts composing the infrastructure. |
||
|
List of tags associated to the infrastructure. |
str |
- |
InfrastructurePart
Library class type: RacksDBInfrastructurePart
This represents all the equipments of an infrastructure in one particular datacenter rack.
Property | Description | Type | Required |
---|---|---|---|
|
The name of the rack. |
Rack.name |
|
|
The list of nodes of the infrastructure in this rack. Default value: |
- |
|
|
The list of storage equipments of the infrastructure in this rack. Default value: |
- |
|
|
The list of network equipments of the infrastructure in this rack. Default value: |
- |
|
|
The list of miscellaneous equipments of the infrastructure in this rack. Default value: |
- |
|
|
The list of tags associated to the equipments of the infrastructure in this rack. |
str |
- |
MiscEquipment
Library class type: RacksDBMiscEquipment
Please refer to equipment positioning how-to for more details. |
Property | Description | Type | Required |
---|---|---|---|
|
The names of the miscellaneous equipments in this set. |
expandable |
|
|
The type of miscellaneous equipment unique identifier. |
||
|
The slot in the rack used by the first miscellaneous equipment in this set. |
rangeid |
|
|
The list of tags associated to these miscellaneous equipments. |
str |
- |
Property | Description | Type |
---|---|---|
|
The infrastructure of these miscellaneous equipments. |
|
|
The rack of these miscellaneous equipments. |
InfrastructurePart.rack |
MiscEquipmentType
Library class type: RacksDBMiscEquipmentType
Property | Description | Type | Required |
---|---|---|---|
|
Unique identifier of the miscellaneous equipment type. |
str |
|
|
Miscellaneous equipment model name. |
str |
|
|
Height of miscellaneous equipment. |
||
|
Width of miscellaneous equipment. Default value: |
- |
|
|
URL to miscellaneous equipment specsheet. |
str |
- |
NetworkEquipment
Library class type: RacksDBNetworkEquipment
Please refer to equipment positioning how-to for more details. |
Property | Description | Type | Required |
---|---|---|---|
|
The names of the network equipments in this set. |
expandable |
|
|
The type of network equipment unique identifier. |
||
|
The slot in the rack used by the first network equipment in this set. |
rangeid |
|
|
The list of tags associated to these network equipments. |
str |
- |
Property | Description | Type |
---|---|---|
|
The infrastructure of these network equipments. |
|
|
The rack of these network equipments. |
InfrastructurePart.rack |
NetworkEquipmentType
Library class type: RacksDBNetworkEquipmentType
Property | Description | Type | Required |
---|---|---|---|
|
Unique identifier of the network equipment type. |
str |
|
|
Network equipment model name. |
str |
|
|
Height of network equipment. |
||
|
Width of network equipment. Default value: |
- |
|
|
URL to network equipment specsheet. |
str |
- |
|
List of network interfaces on this network equipment. |
- |
NetworkEquipmentTypeNetif
Library class type: RacksDBNetworkEquipmentTypeNetif
Property | Description | Type | Required |
---|---|---|---|
|
The type of network interface. |
||
|
The bandwidth (per second) of the network interface. |
||
|
The number of this network interface available in the network equipment. |
int |
Node
Library class type: RacksDBNode
Please refer to equipment positioning how-to for more details. |
Property | Description | Type | Required |
---|---|---|---|
|
The names of the nodes in this set. |
expandable |
|
|
The type of nodes unique identifier. |
NodeType.id |
|
|
The slot in the rack used by the first node in this set. |
rangeid |
|
|
The list of tags associated to these nodes. |
str |
- |
Property | Description | Type |
---|---|---|
|
The infrastructure of these nodes. |
|
|
The rack of these nodes. |
InfrastructurePart.rack |
NodeType
Library class type: RacksDBNodeType
Property | Description | Type | Required |
---|---|---|---|
|
Unique identifier of node type. |
str |
|
|
Node type model name. |
str |
|
|
Height of the node. |
||
|
Width of the node. |
||
|
URL to node specsheet. |
str |
- |
|
CPU configuration of the node. |
||
|
RAM configuration of the node. |
||
|
List of storage devices of the node. |
- |
|
|
List of network interfaces of the node. |
- |
|
|
List of GPUs of the node. |
- |
NodeTypeCpu
Library class type: RacksDBNodeTypeCpu
Property | Description | Type | Required |
---|---|---|---|
|
The CPU model name. |
str |
|
|
URL to CPU specsheet. |
str |
- |
|
The number of sockets. |
int |
|
|
The number of cores per socket. |
int |
NodeTypeGpu
Library class type: RacksDBNodeTypeGpu
Property | Description | Type | Required |
---|---|---|---|
|
The GPU model name. |
str |
|
|
URL to GPU specsheet. |
str |
- |
|
The amount of memory per GPU. |
NodeTypeNetif
Library class type: RacksDBNodeTypeNetif
Property | Description | Type | Required |
---|---|---|---|
|
The type of network interface. |
||
|
The bandwidth (per second) of the network interface. |
NodeTypeRam
Library class type: RacksDBNodeTypeRam
Property | Description | Type | Required |
---|---|---|---|
|
The number of DIMMs. |
int |
|
|
The storage capacity of each DIMM. |
NodeTypeStorage
Library class type: RacksDBNodeTypeStorage
Property | Description | Type | Required |
---|---|---|---|
|
The type of storage device. |
||
|
The storage capacity of the storage device. |
||
|
The model name of the storage device. |
str |
- |
Rack
Library class type: RacksDBRack
Property | Description | Type | Required |
---|---|---|---|
|
The names of the racks in this set. |
expandable |
|
|
The first slot used by this set of racks. Default value: |
rangeid |
- |
|
The unique ID of rack type of this racks set. |
RackType.id |
|
|
The list of tags associated to the rack. |
str |
- |
Property | Description | Type |
---|---|---|
|
The datacenter where this rack is located. |
|
|
The datacenter room where this rack is located. |
|
|
The racks row of this rack. |
RacksRow
Library class type: RacksDBRacksRow
Property | Description | Type | Required |
---|---|---|---|
|
Unique name of the racks row. |
str |
|
|
The position of the racks row in the room. |
||
|
The list of (empty) racks in the room. |
||
|
Boolean to control the side of the racks doors in the racks row. When reversed is true, the doors are on the top. Default value: |
bool |
- |
RacksRowPosition
Library class type: RacksDBRacksRowPosition
Please refer to racks positioning how-to for more details. |
Property | Description | Type | Required |
---|---|---|---|
|
The position of the top-left corner of the racks row in the width axis of the room. |
||
|
The position of the top-left corner of the racks row in the depth axis of the room. |
||
|
The rotation angle of the racks row clockwise compared to the width axis of the room (ie. an horizontal line). Default value: |
- |
RackType
Library class type: RacksDBRackType
Property | Description | Type | Required |
---|---|---|---|
|
Unique identifier of the rack type. |
str |
|
|
Height of the rack. |
||
|
Width of the rack. |
||
|
Depth of the rack. |
||
|
Number of U slots available in the rack. |
||
|
Index of initial slot in the rack Default value: |
int |
- |
StorageEquipment
Library class type: RacksDBStorageEquipment
Please refer to equipment positioning how-to for more details. |
Property | Description | Type | Required |
---|---|---|---|
|
The names of the storage equipments in this set. |
expandable |
|
|
The type of storage equipment unique identifier. |
||
|
The slot in the rack used by the first storage equipment in this set. |
rangeid |
|
|
The list of tags associated to these storage equipments. |
str |
- |
Property | Description | Type |
---|---|---|
|
The infrastructure of these storage equipments. |
|
|
The rack of these storage equipments. |
InfrastructurePart.rack |
StorageEquipmentType
Library class type: RacksDBStorageEquipmentType
Property | Description | Type | Required |
---|---|---|---|
|
Unique identifier of storage equipment type. |
str |
|
|
Storage equipment model name. |
str |
|
|
Height of storage equipment. |
||
|
Width of storage equipment. Default value: |
- |
|
|
URL to storage equipment specsheet. |
str |
- |
|
List of storage devices in the storage equipment. |
- |
|
|
List of network devices in the storage equipment. |
- |
StorageEquipmentTypeDisk
Library class type: RacksDBStorageEquipmentTypeDisk
Property | Description | Type | Required |
---|---|---|---|
|
The type of storage device. |
||
|
The storage capacity of the storage device. |
||
|
The model name of the storage device. |
str |
- |
|
The number of this storage device available in the storage equipment. |
int |
StorageEquipmentTypeNetif
Library class type: RacksDBStorageEquipmentTypeNetif
Property | Description | Type | Required |
---|---|---|---|
|
The type of network interface. |
||
|
The bandwidth (per second) of the network interface. |
Types
Library class type: RacksDBTypes
Property | Description | Type | Required |
---|---|---|---|
|
List of nodes types definitions. Default value: |
- |
|
|
List of storage equipments types definitions. Default value: |
- |
|
|
List of network equipments types definitions. Default value: |
- |
|
|
List of miscellaneous equipments types definitions. Default value: |
- |
|
|
List of (empty) racks types definitions. |
Defined Types
Name | Examples | Resulting type | Comment |
---|---|---|---|
|
int |
The resulting value is angle in degrees. RacksDB does not accept values below 0 or above 360. |
|
|
int |
The resulting value is the number of bits. |
|
|
int |
The resulting value is the number of bytes. |
|
|
int |
The resulting value is the number of millimeters. |
|
|
str |
The resulting value is the name of network interface type. |
|
|
int |
The resulting value is the number of rack units (aka. U). |
|
|
float |
The resulting value is the normalized part of the rack width (ex: 1.0 is
100% of the rack width, 0.5 is 50% of the rack width). The special value |
|
|
str |
The resulting value is the name of storage device type. |
|
|
int |
The resulting value is the number of watts. |