Actions109
- Asset Layouts Actions
- Asset Passwords Actions
- Assets Actions
- Get Assets
- Get Companies Company Id Assets
- Post Companies Company Id Assets
- Get Companies Company Id Assets Id
- Put Companies Company Id Assets Id
- Delete Companies Company Id Assets Id
- Put Companies Company Id Assets Id Archive
- Put Companies Company Id Assets Id Unarchive
- Put Companies Company Id Assets Id Move Layout
- Cards Actions
- Companies Actions
- Expirations Actions
- Exports Actions
- Folders Actions
- IP Addresses Actions
- Lists Actions
- Magic Dash Actions
- Matchers Actions
- Networks Actions
- Password Folders Actions
- Procedure Tasks Actions
- Websites Actions
- Procedures Actions
- Public Photos Actions
- Rack Storage Items Actions
- Rack Storages Actions
- Relations Actions
- Uploads Actions
- Users Actions
- Activity Logs Actions
- Articles Actions
Overview
This node allows you to create a new IP address record in the Hudu system via the AvantGuard integration. It is useful for automating the management of IP addresses, such as adding new addresses to your inventory, associating them with assets or networks, and documenting their status and usage. Common scenarios include network provisioning, asset management, and maintaining up-to-date records for compliance or operational needs.
Example use cases:
- Automatically register a new IP address when provisioning a server.
- Assign an IP address to a specific asset or network.
- Document changes to IP allocations for audit trails.
Properties
| Name | Type | Meaning |
|---|---|---|
| Address | String | The IP address to be created. |
| Status | String | The status of the IP address (e.g., unassigned, assigned, reserved, deprecated, dhcp, slaac). |
| Fqdn | String | The Fully Qualified Domain Name associated with the IP address. |
| Description | String | A brief description of the IP address. |
| Comments | String | Additional comments about the IP address. |
| Asset Id | Number | The identifier of the asset associated with this IP address. |
| Network Id | Number | The identifier of the network to which this IP address belongs. |
| Company Id | Number | The identifier of the company that owns this IP address. |
All these properties are optional and can be provided as part of the "Additional Body Fields" collection.
Output
The node returns a JSON object representing the newly created IP address record. The structure typically includes all fields sent in the request, along with additional metadata generated by Hudu (such as unique identifiers, timestamps, etc.).
Example output:
{
"id": 123,
"address": "192.168.1.10",
"status": "assigned",
"fqdn": "server.example.com",
"description": "Main office router",
"comments": "Provisioned automatically",
"asset_id": 456,
"network_id": 789,
"company_id": 101,
"created_at": "2024-06-01T12:00:00Z",
"updated_at": "2024-06-01T12:00:00Z"
}
Note: Actual output fields may vary depending on the Hudu API response.
Dependencies
- External Service: Requires access to a Hudu instance with the appropriate API enabled.
- API Key/Credentials: You must configure the
avantguardHuduApicredential in n8n, including the base URL and authentication token. - n8n Configuration: Ensure the node is properly installed and credentials are set up in your n8n environment.
Troubleshooting
Missing Credentials:
Error message: "No credentials found for 'avantguardHuduApi'."
Resolution: Set up the required credentials in n8n under the nameavantguardHuduApi.Invalid Input Data:
Error message: "400 Bad Request" or similar from the API.
Resolution: Check that all required fields are correctly filled and that values (like status) match allowed options.Connection Issues:
Error message: "ENOTFOUND" or "ECONNREFUSED".
Resolution: Verify the base URL in your credentials and ensure the Hudu API is reachable from your n8n instance.Permission Denied:
Error message: "401 Unauthorized" or "403 Forbidden".
Resolution: Make sure your API key has sufficient permissions to create IP addresses.