Aruba Central icon

Aruba Central

Interact with the Aruba Central API

Actions95

Site → Create Site

AI-generated

Overview

This node interacts with the Aruba Central API to create a new site within the specified domain, particularly under the 'monitoring' domain for site creation. It is useful for network administrators who want to programmatically add site information to Aruba Central for network management and monitoring purposes. For example, it can be used to add a new physical location with detailed address or geolocation data to the network monitoring system.

Use Case Examples

  1. Creating a new site named 'Headquarters' with a full address in the monitoring domain.
  2. Creating a new site with latitude and longitude coordinates for precise geolocation in the monitoring domain.

Properties

Name Meaning
Domain Specifies the domain of the Aruba Central API to interact with, such as monitoring, inventory, or configuration. For site creation, the domain is typically 'monitoring'.
Site Name The name of the site to create, required when the domain is 'monitoring'.
Location Type Type of location information to provide for the site, either 'Address' or 'Geolocation'.
Address Street address for the site, shown if Location Type is 'Address'.
City City for the site address, shown if Location Type is 'Address'.
State State for the site address, shown if Location Type is 'Address'.
Country Country for the site address, shown if Location Type is 'Address'.
Zipcode Zipcode for the site address, shown if Location Type is 'Address'.
Latitude Latitude coordinates for the site, required if Location Type is 'Geolocation'.
Longitude Longitude coordinates for the site, required if Location Type is 'Geolocation'.

Output

JSON

  • siteId - Identifier of the created site
  • siteName - Name of the created site
  • location - Location details of the created site, including address or geolocation information
  • status - Status of the site creation operation, e.g., success or failure

Dependencies

  • Aruba Central API with OAuth2 authentication

Troubleshooting

  • Ensure the OAuth2 credentials for Aruba Central API are correctly configured and valid.
  • Verify that the domain is set to 'monitoring' when creating a site, as other domains may not support this operation.
  • Check that required fields are provided based on the location type: if 'Address', all address fields should be filled; if 'Geolocation', latitude and longitude must be valid and within allowed ranges.
  • Common error messages may include authentication failures, missing required parameters, or invalid location data. Resolving these involves checking credentials, input validation, and API endpoint correctness.

Discussion