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 Type → Create
AI-generatedOverview
This node interacts with the NetBox API to create a new Rack Type resource within the DCIM domain. It is useful for automating the management of data center infrastructure by programmatically adding rack types with specific attributes such as manufacturer, name, slug, form factor, width, and height. This can streamline inventory and asset management in network and data center environments.
Use Case Examples
- Creating a new rack type with specified manufacturer ID, name, slug, form factor, width, and U height to standardize rack inventory across multiple sites.
- Automating the addition of rack types with additional optional fields like weight, description, and tags for detailed asset tracking.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for data center infrastructure management. |
| Manufacturer ID | The identifier of the manufacturer associated with the rack type being created. |
| Name | The name of the rack type to be created. |
| Slug | A URL-friendly unique identifier for the rack type. |
| Form Factor | The physical form factor of the rack type, such as 2-post frame, 4-post frame, wall cabinet, etc. |
| Width (in) | The width of the rack type in inches, options include 10, 19, 21, or 23 inches. |
| U Height | The height of the rack in rack units (U). |
| Additional Fields | Optional additional fields for the rack type such as starting unit, descending units, outer dimensions, weight, description, tags, and custom fields in JSON format. |
Output
JSON
id- Unique identifier of the created rack typename- Name of the created rack typeslug- Slug of the created rack typemanufacturer_id- Manufacturer ID associated with the rack typeform_factor- Form factor of the rack typewidth- Width of the rack type in inchesu_height- Height of the rack in rack unitsadditional_fields- Additional optional fields provided during creation such as weight, description, tags, and custom fields
Dependencies
- NetBox API
- An API key credential for authenticating with the NetBox API
Troubleshooting
- Ensure the manufacturer ID provided exists in the NetBox system to avoid creation errors.
- Validate that required fields such as name, slug, form factor, width, and U height are provided and correctly formatted.
- Check API authentication credentials if the node fails to connect to the NetBox API.
- If the API returns an error, review the error message for details such as duplicate slugs or invalid field values.
Links
- NetBox API Documentation for Rack Types - Official documentation for the Rack Types endpoint in the NetBox API