NetBox icon

NetBox

Consume NetBox API

Actions243

Power Outlet Template → Update

AI-generated

Overview

This node interacts with the NetBox API to update a Power Outlet Template resource within the DCIM domain. It allows users to modify attributes of an existing power outlet template by specifying its ID and the fields to update. This is useful for managing and maintaining accurate power outlet template data in network infrastructure management scenarios.

Use Case Examples

  1. Updating the name and label of a power outlet template to reflect new hardware changes.
  2. Changing the outlet type or feed leg of a power outlet template to match updated power specifications.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to use, here it is set to 'dcim' for data center infrastructure management.
Power Outlet Template ID The unique identifier of the power outlet template to update.
Update Fields A collection of fields that can be updated on the power outlet template, such as device type ID, module type ID, name, label, outlet type, feed leg, and associated power port ID.

Output

JSON

  • id - ID of the updated power outlet template.
  • device_type - Device type ID associated with the power outlet template.
  • module_type - Module type ID associated with the power outlet template.
  • name - Name of the power outlet template.
  • label - Physical label on the power outlet template.
  • type - Outlet type of the power outlet template.
  • feed_leg - Feed leg designation for three-phase power.
  • power_port - ID of the associated power port template.

Dependencies

  • NetBox API
  • An API key credential for authentication

Troubleshooting

  • Ensure the Power Outlet Template ID is correct and exists in the NetBox instance to avoid 'not found' errors.
  • Verify that the API key credential has sufficient permissions to update power outlet templates.
  • Check that the update fields are valid and conform to the expected data types and allowed values.
  • If the node throws an error, enabling 'Continue on Fail' will allow the workflow to proceed and output the error message as JSON.

Links

Discussion