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
MAC Address → List
AI-generatedOverview
This node interacts with the NetBox API to list MAC Address resources within the DCIM domain. It allows users to retrieve MAC address data with optional filtering and pagination controls. This is useful for network administrators who want to query and manage MAC address information programmatically from NetBox.
Use Case Examples
- Retrieve all MAC addresses in the DCIM domain.
- List MAC addresses filtered by a specific MAC address or assigned object type.
- Limit the number of MAC addresses returned to a specific count for pagination.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to use, here it is fixed to 'dcim' for MAC addresses. |
| Return All | Determines whether to return all results or limit the number of results. |
| Limit | Maximum number of MAC address results to return when 'Return All' is false. |
| Filters | Collection of optional filters to narrow down the MAC address results, including search query, MAC address, assigned object type and ID, status, ID, ordering, and date filters. |
Output
JSON
id- Unique identifier of the MAC address record.mac_address- The MAC address value.assigned_object_type- Type of the object the MAC address is assigned to.assigned_object_id- ID of the assigned object.status- Status of the MAC address (active or inactive).created- Timestamp when the MAC address record was created.last_updated- Timestamp when the MAC address record was last updated.
Dependencies
- NetBox API with appropriate credentials
Troubleshooting
- Common issues include authentication failures due to invalid or missing API credentials. Ensure the NetBox API key is correctly configured.
- Incorrect domain or resource selection can cause the node to fail or return no data. Verify the domain is set to 'dcim' and resource to 'mac-addresses' for this operation.
- Filters must be correctly formatted; invalid filter values may cause errors or empty results.
- If 'Return All' is false and limit is set too low, the user might not see all expected results. Adjust the limit or enable 'Return All'.
Links
- NetBox API Documentation - Official documentation for the NetBox API, useful for understanding available endpoints and parameters.