Hudu icon

Hudu

Interact with Hudu REST API

Network → Create

AI-generated

Overview

This node operation creates a new network within the Hudu system. It is useful for users who need to programmatically add network entries associated with a company, specifying details such as the network name, address, and various optional attributes. For example, a network administrator can automate the creation of network records with specific CIDR addresses and metadata like location, description, and VLAN ID.

Use Case Examples

  1. Creating a network named 'Office Network' with a CIDR address '192.168.1.0/24' linked to a specific company ID.
  2. Adding a network with additional details such as description, archived status, and network type for better organization and management.

Properties

Name Meaning
Name The name of the network to be created.
Address The network address in CIDR notation.
Company Name or ID The company to associate with the network, selectable by name or numeric ID from a list or via expression.
Additional Fields Optional additional fields to provide more details about the network, such as ancestry, archived status, description, radar discovery status, location ID, network type, notes, role list item ID, settings (JSON), slug, status list item ID, sync identifier, and VLAN ID.

Output

JSON

  • id - The unique identifier of the created network.
  • name - The name of the created network.
  • address - The network address in CIDR notation.
  • company_id - The ID of the company associated with the network.
  • archived - Indicates if the network is archived.
  • description - Description of the network.
  • location_id - The location ID linked to the network.
  • network_type - The type classification of the network.
  • notes - Additional notes about the network.
  • role_list_item_id - Role list item ID associated with the network.
  • settings - JSON object containing network settings.
  • slug - URL-friendly identifier for the network.
  • status_list_item_id - Status list item ID for the network.
  • sync_identifier - External synchronization identifier.
  • vlan_id - VLAN ID of the network.

Dependencies

  • Hudu REST API
  • API key credential for authentication

Troubleshooting

  • Ensure the required fields 'Name', 'Address', and 'Company Name or ID' are provided; missing these will cause errors.
  • Verify that the company ID or name exists and is accessible via the API to avoid association errors.
  • Check the format of the network address (CIDR notation) to prevent invalid input errors.
  • If the node throws an unknown resource error, confirm that the resource parameter is set to 'networks'.
  • For JSON settings in additional fields, ensure the JSON is well-formed to avoid parsing errors.

Links

Discussion