Actions243
- Cable Actions
- Cable Termination Actions
- Connected Device Actions
- Console Port Actions
- Console Port Template Actions
- Console Server Port Actions
- Console Server Port Template Actions
- Device Actions
- Device Bay Actions
- Device Bay Template Actions
- Device Role Actions
- Device Type Actions
- Front Port Actions
- Front Port Template Actions
- Interface Actions
- Interface Template Actions
- Inventory Item Actions
- Inventory Item Role Actions
- Inventory Item Template Actions
- Location Actions
- MAC Address Actions
- Manufacturer Actions
- Module Actions
- Module Bay Actions
- Module Bay Template Actions
- Module Type Actions
- Module Type Profile Actions
- Platform Actions
- Power Feed Actions
- Power Outlet Actions
- Power Outlet Template Actions
- Power Panel Actions
- Power Port Actions
- Power Port Template Actions
- Rack Actions
- Rack Reservation Actions
- Rack Role Actions
- Rack Type Actions
- Rear Port Actions
- Rear Port Template Actions
- Region Actions
- Site Actions
- Site Group Actions
- Virtual Chassis Actions
- Virtual Device Context Actions
- Virtual Link Actions
Rack → Create
AI-generatedOverview
This node interacts with the NetBox API to create a new Rack resource within the DCIM domain. It is useful for automating the management of data center infrastructure by programmatically adding racks with specific attributes such as site ID, name, status, width, and height. Additional optional fields allow for detailed customization of the rack's properties, including location, tenant, role, rack type, serial number, asset tag, and more.
Use Case Examples
- Automatically create a new rack in a specified site with predefined dimensions and status.
- Add racks in bulk to NetBox from an external inventory system using this node in an automation workflow.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to use, here it is 'dcim' for data center infrastructure management. |
| Site ID | The identifier of the site where the rack will be created. |
| Name | The name of the rack to be created. |
| Status | The operational status of the rack, such as active or planned. |
| Width (in) | The width of the rack in inches. |
| U Height | The height of the rack in rack units (U). |
| Additional Fields | Optional additional properties for the rack such as location ID, tenant ID, role ID, rack type ID, serial number, asset tag, description, tags, and custom fields. |
Output
JSON
id- Unique identifier of the created rack.name- Name of the created rack.status- Status of the created rack.site_id- Site identifier where the rack is created.width- Width of the rack in inches.u_height- Height of the rack in rack units.additional_fields- Additional optional fields provided during creation.
Dependencies
- NetBox API with appropriate credentials
Troubleshooting
- Ensure the API credentials are correctly configured and have permissions to create racks in the specified domain and site.
- Verify that required fields such as site ID, rack name, status, width, and U height are provided and valid.
- Check for network connectivity issues to the NetBox API endpoint.
- If the node throws errors related to invalid input, review the additional fields for correct data types and formats.
Links
- NetBox API Documentation for Racks - Official documentation for the Rack resource in the NetBox DCIM API.