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
Console Server Port → Create
AI-generatedOverview
This node operation creates a new Console Server Port in the NetBox system under the DCIM domain. It is useful for network administrators or IT professionals who need to programmatically add console server ports to devices managed in NetBox, facilitating automated infrastructure management and inventory tracking.
Use Case Examples
- Creating a console server port for a specific device by specifying its device ID and port name.
- Adding additional details such as module ID, port label, type, speed, and description to the console server port during creation.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to use, here it is 'dcim' for device and infrastructure management. |
| Device ID | The ID of the device to which the console server port belongs. |
| Name | The name of the console server port. |
| Additional Fields | Optional additional properties for the console server port such as module ID, label, type, speed, connection status, description, tags, and custom fields. |
Output
JSON
id- The unique identifier of the created console server port.name- The name of the created console server port.device_id- The ID of the device the port belongs to.module- The module ID if specified.label- The physical label of the port if specified.type- The physical type of the port connector.speed- The speed (baud rate) of the port.mark_connected- Indicates if the port is marked as connected.description- Description of the console server port.tags- Tags associated with the port.custom_fields- Custom fields metadata as JSON.
Dependencies
- NetBox API with appropriate credentials for authentication
Troubleshooting
- Ensure the device ID provided exists in NetBox; otherwise, the creation will fail.
- Verify that the API credentials have sufficient permissions to create console server ports.
- Check that required fields like 'Name' and 'Device ID' are provided and valid.
- If the node throws an error, enabling 'Continue on Fail' will output the error message as JSON instead of stopping execution.
Links
- NetBox API Documentation - Console Server Ports - Official NetBox API documentation for managing console server ports.