Skip to content

Rack

The Rack object is a RawModel plugin object provided by the Rack Tracker content pack. It models the physical topology of a data center rack, mapping Machine objects to specific slot positions within the rack and tracking the top-of-rack (TOR) network switches connected to it.

Racks serve as a central point for applying shared configuration to all machines that occupy the rack. The MachineProfiles and MachineParams fields define profiles and parameters that are automatically applied to member machines, enabling rack-wide settings such as network VLAN assignments, DNS servers, or NTP configuration without requiring per-machine configuration.

The Rack also provides a hardware validation framework through ValidationData, which maps serial numbers to expected key/value pairs for each machine position. When a machine is placed in the rack, the ValidationToMachine mapping converts validation data fields into machine parameters (for example, mapping a serial number to the machine's inventory record). The ValidationToParams mapping defines parameter names that should be cross-checked against the machine's actual values, enabling automated verification that the correct hardware is installed in each rack slot.

Rack objects are typically populated via CSV import using the rack plugin's import actions. Because Rack is a plugin-provided RawModel, it does not support drpcli fieldinfo and has no auto-generated field table.

Fields

  • Machines -- an object mapping machine name to rack position number
  • Switches -- list of TOR switch names associated with this rack
  • MachineProfiles -- list of profiles to apply to machines in this rack
  • MachineParams -- an object of key/value parameters added to machines in this rack
  • ValidationData -- an object indexed by serial number, mapping to key/value pairs for hardware verification
  • ValidationToMachine -- defines key-to-parameter mappings to convert validation data into machine parameters
  • ValidationToParams -- defines a parameter name that maps to a validating string for that parameter on the machine
  • SystemCreated -- boolean indicating if the rack was created automatically by the system