NetBox icon

NetBox

Consume NetBox API

Actions243

Power Feed → Create

AI-generated

Overview

This node interacts with the NetBox API to create a new Power Feed resource within the DCIM domain. It is useful for automating the addition of power feeds to power panels in data center infrastructure management workflows. For example, it can be used to programmatically add power feeds with specific attributes such as name, rack ID, status, type, supply, phase, voltage, amperage, and custom fields, streamlining infrastructure setup and management.

Use Case Examples

  1. Creating a power feed named 'Feed A' for a specific power panel with a primary AC supply and single-phase configuration.
  2. Adding a power feed with detailed attributes including rack ID, operational status, voltage, amperage, and custom tags for better asset tracking.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to use, here it is 'dcim' for data center infrastructure management.
Power Panel ID ID of the power panel to which the new power feed belongs.
Name Name of the power feed to be created.
Additional Fields Optional additional attributes for the power feed such as rack ID, status, type, supply, phase, voltage, amperage, max utilization, connection mark, description, tags, and custom fields.

Output

JSON

  • id - Unique identifier of the created power feed.
  • name - Name of the created power feed.
  • power_panel_id - ID of the power panel the feed belongs to.
  • status - Operational status of the power feed.
  • type - Type of the power feed (Primary or Redundant).
  • supply - Power supply type (AC or DC).
  • phase - Phase configuration (Single Phase or Three Phase).
  • voltage - Voltage rating in volts.
  • amperage - Amperage rating.
  • max_utilization - Maximum utilization percentage.
  • description - Description of the power feed.
  • tags - Tags associated with the power feed.
  • custom_fields - Custom metadata fields as JSON.

Dependencies

  • NetBox API with appropriate authentication credentials

Troubleshooting

  • Ensure the Power Panel ID provided exists and is valid in NetBox to avoid 'not found' errors.
  • Verify that the API credentials have permissions to create power feeds in the DCIM domain.
  • Check that required fields such as 'Name' and 'Power Panel ID' are provided and correctly formatted.
  • If the node returns an error, enabling 'Continue on Fail' will output the error message as JSON instead of stopping execution.

Links

Discussion