NetBox icon

NetBox

Consume NetBox API

Actions243

Device Bay Template → List

AI-generated

Overview

This node interacts with the NetBox API to list Device Bay Templates within the DCIM domain. It is useful for retrieving information about device bay templates, which are predefined configurations for device bays in network infrastructure management. Users can filter the results by device bay template ID, device type ID, or name, and control the number of results returned or fetch all available results.

Use Case Examples

  1. A network administrator wants to retrieve all device bay templates to audit or update configurations.
  2. An automation workflow needs to fetch device bay templates filtered by a specific device type ID to ensure consistency in device deployments.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for device-related data.
Return All Determines whether to return all results or limit the number of results.
Limit Maximum number of results to return when 'Return All' is false.
Filters Filters to narrow down the list of device bay templates by ID, device type ID, or name.

Output

JSON

  • id - The unique identifier of the device bay template.
  • device_type_id - The identifier of the device type associated with the device bay template.
  • name - The name of the device bay template.
  • otherProperties - Additional properties returned by the NetBox API for each device bay template.

Dependencies

  • NetBox API with appropriate credentials

Troubleshooting

  • Ensure the NetBox API credentials are correctly configured and have permissions to access the DCIM domain and device bay templates resource.
  • If the node returns an error, check the filter values for correctness and ensure the NetBox instance is reachable.
  • If 'Return All' is set to false and the limit is too low, you might not get all expected results; adjust the limit accordingly.

Links

Discussion