NetBox icon

NetBox

Consume NetBox API

Actions243

Power Panel → Create

AI-generated

Overview

This node interacts with the NetBox API to create a new Power Panel within the DCIM domain. It is useful for automating the management of power infrastructure in data centers or network facilities by programmatically adding power panels to specific sites.

Use Case Examples

  1. Automatically create a power panel in a specified site when provisioning new infrastructure.
  2. Add power panels with detailed metadata such as location, description, and tags for better asset management.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to use, here it is set to 'dcim' for data center infrastructure management.
Site ID The ID of the site to which the new power panel belongs.
Name The name of the power panel to be created.
Additional Fields Optional additional details for the power panel such as location ID, description, tags, and custom fields in JSON format.

Output

JSON

  • id - Unique identifier of the created power panel.
  • name - Name of the created power panel.
  • site_id - ID of the site the power panel belongs to.
  • location - Location ID if provided.
  • description - Description of the power panel if provided.
  • tags - Tags associated with the power panel.
  • custom_fields - Custom fields data in JSON format.

Dependencies

  • NetBox API

Troubleshooting

  • Ensure the Site ID provided exists in NetBox to avoid 'not found' errors.
  • Verify API credentials are correct and have permissions to create power panels.
  • Check that required fields like 'Name' and 'Site ID' are not empty to prevent validation errors.

Links

Discussion