Hudu icon

Hudu

Interact with Hudu REST API

VLAN → Create

AI-generated

Overview

This node operation creates a new VLAN (Virtual Local Area Network) within the Hudu system. It is useful for network administrators or IT professionals who need to programmatically manage VLANs associated with different companies. For example, it can be used to automate the creation of VLANs with specific IDs and names, associate them with companies, and optionally set additional details like description, status, and archival state.

Use Case Examples

  1. Create a VLAN named 'Office VLAN' with VLAN ID 100 for a specific company to segment network traffic.
  2. Automate VLAN creation with additional metadata such as description and notes for better network documentation.

Properties

Name Meaning
Name Human-readable VLAN name, required for identifying the VLAN.
VLAN ID Numeric VLAN identifier ranging from 1 to 4094, required for VLAN configuration.
Company Name or ID The company to associate with the VLAN, can be selected from a list or specified by ID, required to link VLAN to a company.
Additional Fields Optional fields to provide extra details about the VLAN such as archived status, description, notes, role list item ID, slug, status list item ID, and VLAN zone ID.

Output

JSON

  • id - Unique identifier of the created VLAN.
  • name - Name of the created VLAN.
  • vlan_id - Numeric VLAN ID assigned to the VLAN.
  • company_id - Identifier of the company associated with the VLAN.
  • archived - Boolean indicating if the VLAN is archived.
  • description - Description text of the VLAN.
  • notes - Rich-text notes associated with the VLAN.
  • role_list_item_id - Role list item ID linked to the VLAN.
  • slug - URL-friendly slug identifier for the VLAN.
  • status_list_item_id - Status list item ID representing VLAN status.
  • vlan_zone_id - VLAN zone ID associated with the VLAN.

Dependencies

  • Hudu REST API
  • API key credential for authentication

Troubleshooting

  • Ensure the VLAN ID is within the valid range (1-4094) to avoid validation errors.
  • Verify that the company ID or name exists and is correctly specified to prevent association errors.
  • If the node throws an error about unknown resource, confirm that the resource parameter is set to 'vlans'.
  • Check API authentication credentials if requests fail due to authorization issues.

Links

Discussion