UNPKG

n8n-nodes-arubacentralnextgen

Version:

n8n community node for Aruba Central NextGen API integration with modern monitoring and management capabilities

879 lines (878 loc) 29.1 kB
"use strict"; // descriptions/monitoring/accessPoints.descriptions.ts Object.defineProperty(exports, "__esModule", { value: true }); exports.apFields = exports.apOperations = void 0; exports.apOperations = { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], }, }, default: 'getAllAPs', options: [ { name: 'Get All Access Points', value: 'getAllAPs', description: 'Get a list of all access points', action: 'Get all access points', }, { name: 'Get Access Point Details', value: 'getAPDetails', description: 'Get detailed information about a specific access point', action: 'Get access point details', }, { name: 'Get Top APs by Wireless Usage', value: 'getTopAPsByWirelessUsage', description: 'Get list of APs with highest wireless bandwidth usage', action: 'Get top APs by wireless usage', }, { name: 'Get AP Throughput Trends', value: 'getAPThroughputTrends', description: 'Get throughput trend data for an access point', action: 'Get access point throughput trends', }, { name: 'Get AP CPU Utilization', value: 'getAPCPUUtilization', description: 'Get CPU utilization trend data for an access point', action: 'Get access point CPU utilization', }, { name: 'Get AP Memory Utilization', value: 'getAPMemoryUtilization', description: 'Get memory utilization trend data for an access point', action: 'Get access point memory utilization', }, { name: 'Get AP Power Consumption', value: 'getAPPowerConsumption', description: 'Get power consumption trend data for an access point', action: 'Get access point power consumption', }, { name: 'Get AP Radio Details', value: 'getRadioDetails', description: 'Get details about radio interfaces for an access point', action: 'Get access point radio details', }, { name: 'Get Radio Performance', value: 'getRadioPerformance', description: 'Get comprehensive performance metrics for an AP radio', action: 'Get radio performance metrics', }, { name: 'Get APs with Performance Issues', value: 'getAPsWithIssues', description: 'Get APs that might have performance issues based on metrics', action: 'Get APs with performance issues', }, { name: 'Get AP Port Frame Trends', value: 'getAPPortFrameTrends', description: 'Get detailed port frame trends for an access point including errors, drops, and percentages', action: 'Get access point port frame trends', }, { name: 'Get All Radios', value: 'getAllRadios', description: 'Get a list of all radio interfaces across access points', action: 'Get all radios', }, { name: 'Get Radio Channel Utilization', value: 'getRadioChannelUtilization', description: 'Get channel utilization information for a specific radio', action: 'Get radio channel utilization', }, { name: 'Get Radio Channel Quality', value: 'getRadioChannelQuality', description: 'Get channel quality information for a specific radio', action: 'Get radio channel quality', }, { name: 'Get Radio Noise Floor', value: 'getRadioNoiseFloor', description: 'Get noise floor information for a specific radio', action: 'Get radio noise floor', }, { name: 'Get Radio Transmission Info', value: 'getRadioTransmissionInfo', description: 'Get transmission information for a specific radio', action: 'Get radio transmission info', }, { name: 'Get AP Port CRC Errors', value: 'getAPPortCRCErrors', description: 'Get CRC error trends for an access point port', action: 'Get access point port CRC errors', }, { name: 'Get AP Port Collision Errors', value: 'getAPPortCollisionErrors', description: 'Get collision error trends for an access point port', action: 'Get access point port collision errors', }, { name: 'Get AP Radio Throughput Trend', value: 'getAPRadioThroughputTrend', description: 'Get throughput trend data for a specific access point radio', action: 'Get access point radio throughput trend', }, { name: 'Get AP Port Throughput Trend', value: 'getAPPortThroughputTrend', description: 'Get throughput trend data for a specific access point port', action: 'Get access point port throughput trend', }, { name: 'Get AP Radios List', value: 'getAPRadiosList', description: 'Get a list of radio interfaces for a specific access point', action: 'Get access point radios list', }, { name: 'Get AP Ports List', value: 'getAPPortsList', description: 'Get a list of ports for a specific access point', action: 'Get access point ports list', }, { name: 'Get All WLANs', value: 'getAllWLANs', description: 'Get a list of all wireless LANs', action: 'Get all WLANs', }, { name: 'Get WLAN by Name', value: 'getWLANByName', description: 'Get details of a specific WLAN by name', action: 'Get WLAN by name', }, { name: 'Get AP WLANs List', value: 'getAPWLANsList', description: 'Get a list of WLANs for a specific access point', action: 'Get access point WLANs list', }, { name: 'Get AP WLAN Throughput Trend', value: 'getAPWLANThroughputTrend', description: 'Get throughput trend for a WLAN of an access point', action: 'Get access point WLAN throughput trend', }, { name: 'Get AP Tunnels List', value: 'getAPTunnelsList', description: 'Get a list of tunnels for a specific access point', action: 'Get access point tunnels list', }, { name: 'Get AP Tunnel Details', value: 'getAPTunnelDetails', description: 'Get detailed information about a specific access point tunnel', action: 'Get access point tunnel details', }, { name: 'Get AP Tunnel Throughput Trend', value: 'getAPTunnelThroughputTrend', description: 'Get throughput trend for an access point tunnel', action: 'Get access point tunnel throughput trend', }, { name: 'Get AP Tunnel Packet Loss Trend', value: 'getAPTunnelPacketLossTrend', description: 'Get packet loss trend for an access point tunnel', action: 'Get access point tunnel packet loss trend', }, { name: 'Get AP Tunnel Jitter Trend', value: 'getAPTunnelJitterTrend', description: 'Get jitter trend for an access point tunnel', action: 'Get access point tunnel jitter trend', }, { name: 'Get AP Tunnel Latency Trend', value: 'getAPTunnelLatencyTrend', description: 'Get latency trend for an access point tunnel', action: 'Get access point tunnel latency trend', }, { name: 'Get AP Tunnel MOS Score Trend', value: 'getAPTunnelMOSScoreTrend', description: 'Get MOS score trend for an access point tunnel', action: 'Get access point tunnel MOS score trend', }, { name: 'Get WLAN Throughput Trend', value: 'getWLANThroughputTrend', description: 'Get throughput trend for a specific WLAN', action: 'Get WLAN throughput trend', }, ], }; // Fields for AP operations exports.apFields = [ // Return all option { displayName: 'Return All', name: 'returnAll', type: 'boolean', default: false, description: 'Whether to return all results or only up to a given limit', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAllAPs'], }, }, }, { displayName: 'Limit', name: 'limit', type: 'number', default: 20, description: 'Max number of results to return', typeOptions: { minValue: 1, maxValue: 100, }, displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAllAPs'], returnAll: [false], }, }, }, // Filter options for getAllAPs { displayName: 'Filters', name: 'filters', type: 'collection', placeholder: 'Add Filter', default: {}, options: [ { displayName: 'Site ID', name: 'siteId', type: 'string', default: '', description: 'Filter access points by site ID', }, { displayName: 'Model', name: 'model', type: 'string', default: '', description: 'Filter by access point model', }, { displayName: 'Status', name: 'status', type: 'options', options: [ { name: 'Online', value: 'ONLINE', }, { name: 'Offline', value: 'OFFLINE', }, ], default: '', description: 'Filter by access point status', }, { displayName: 'Deployment', name: 'deployment', type: 'string', default: '', description: 'Filter by deployment mode', }, ], displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAllAPs'], }, }, }, // Serial Number field for operations that need it { displayName: 'Serial Number', name: 'serialNumber', type: 'string', default: '', required: true, description: 'Access point serial number', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: [ 'getAPDetails', 'getAPThroughputTrends', 'getAPCPUUtilization', 'getAPMemoryUtilization', 'getAPPowerConsumption', 'getRadioDetails', 'getRadioPerformance', 'getRadioChannelUtilization', 'getRadioChannelQuality', 'getRadioNoiseFloor', 'getRadioTransmissionInfo', 'getAPPortCRCErrors', 'getAPPortCollisionErrors', 'getAPRadioThroughputTrend', 'getAPPortThroughputTrend', 'getAPRadiosList', 'getAPPortsList', 'getAPWLANsList', 'getAPWLANThroughputTrend', 'getAPTunnelsList', 'getAPTunnelDetails', 'getAPTunnelThroughputTrend', 'getAPTunnelPacketLossTrend', 'getAPTunnelJitterTrend', 'getAPTunnelLatencyTrend', 'getAPTunnelMOSScoreTrend', ], }, }, }, // Site ID for topAPs operation { displayName: 'Site ID', name: 'siteId', type: 'string', default: '', required: true, description: 'Site ID for which to retrieve AP information', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getTopAPsByWirelessUsage', 'getAPsWithIssues'], }, }, }, // Limit for top APs { displayName: 'Limit', name: 'limit', type: 'number', default: 10, description: 'Max number of top access points to return', typeOptions: { minValue: 1, maxValue: 25, }, displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getTopAPsByWirelessUsage'], }, }, }, // Time range for operations that support it { displayName: 'Time Range', name: 'timeRange', type: 'collection', placeholder: 'Add Time Range', default: {}, options: [ { displayName: 'Start Time', name: 'startTime', type: 'dateTime', default: '', description: 'Start time for data retrieval (ISO 8601 format)', }, { displayName: 'End Time', name: 'endTime', type: 'dateTime', default: '', description: 'End time for data retrieval (ISO 8601 format)', }, ], displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: [ 'getTopAPsByWirelessUsage', 'getAPThroughputTrends', 'getAPCPUUtilization', 'getAPMemoryUtilization', 'getAPPowerConsumption', 'getRadioPerformance', ], }, }, }, // Interface type for throughput trends { displayName: 'Interface Type', name: 'interfaceType', type: 'options', options: [ { name: 'Wireless', value: 'WIRELESS', }, { name: 'Wired', value: 'WIRED', }, { name: 'LTE', value: 'LTE', }, ], default: 'WIRELESS', description: 'Type of interface for which to retrieve throughput data', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAPThroughputTrends'], }, }, }, // Radio number for radio operations { displayName: 'Radio Number', name: 'radioNumber', type: 'number', default: 0, description: 'Radio number within the access point', typeOptions: { minValue: 0, maxValue: 5, }, displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getRadioDetails', 'getRadioPerformance'], }, }, }, // Additional options for radio details { displayName: 'Options', name: 'options', type: 'collection', placeholder: 'Add Option', default: {}, options: [ { displayName: 'Include Channel Utilization', name: 'includeChannelUtilization', type: 'boolean', default: false, description: 'Whether to include radio channel utilization trends', }, { displayName: 'Include Channel Quality', name: 'includeChannelQuality', type: 'boolean', default: false, description: 'Whether to include radio channel quality trends', }, { displayName: 'Include Noise Floor', name: 'includeNoiseFloor', type: 'boolean', default: false, description: 'Whether to include radio noise floor trends', }, { displayName: 'Include Frame Trends', name: 'includeFrameTrends', type: 'boolean', default: false, description: 'Whether to include radio frame trends (drops, errors, retries)', }, ], displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getRadioDetails'], }, }, }, // Issue detection options { displayName: 'Issue Detection Options', name: 'issueDetectionOptions', type: 'collection', placeholder: 'Add Option', default: {}, options: [ { displayName: 'High Channel Utilization Threshold (%)', name: 'highChannelUtilizationThreshold', type: 'number', default: 80, description: 'Threshold for high channel utilization', typeOptions: { minValue: 0, maxValue: 100, }, }, { displayName: 'Low Channel Quality Threshold (%)', name: 'lowChannelQualityThreshold', type: 'number', default: 50, description: 'Threshold for low channel quality', typeOptions: { minValue: 0, maxValue: 100, }, }, { displayName: 'High Error Rate Threshold (%)', name: 'highErrorRateThreshold', type: 'number', default: 5, description: 'Threshold for high error rate', typeOptions: { minValue: 0, maxValue: 100, }, }, { displayName: 'High CPU Utilization Threshold (%)', name: 'highCPUUtilizationThreshold', type: 'number', default: 80, description: 'Threshold for high CPU utilization', typeOptions: { minValue: 0, maxValue: 100, }, }, ], displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAPsWithIssues'], }, }, }, // Fields for getAPPortFrameTrends operation { displayName: 'Serial Number', name: 'serialNumber', type: 'string', required: true, default: '', description: 'Serial number of the access point device (max 16 characters)', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAPPortFrameTrends'], }, }, }, { displayName: 'Port Index', name: 'portIndex', type: 'string', required: true, default: '0', description: 'Port index of the access point (single character)', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAPPortFrameTrends'], }, }, }, { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', placeholder: 'Add Field', default: {}, displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAPPortFrameTrends'], }, }, options: [ { displayName: 'Site ID', name: 'siteId', type: 'string', default: '', description: 'ID of the site for which access point information is requested (max 128 characters)', }, { displayName: 'Time Range Filter', name: 'timeFilter', type: 'fixedCollection', default: {}, description: 'Filter by timestamp range', typeOptions: { multipleValues: false, }, options: [ { name: 'range', displayName: 'Time Range', values: [ { displayName: 'Start Time', name: 'startTime', type: 'dateTime', default: '', description: 'Start of timestamp range (RFC 3339 format)', }, { displayName: 'End Time', name: 'endTime', type: 'dateTime', default: '', description: 'End of timestamp range (RFC 3339 format)', }, ], }, ], }, ], }, // Radio Number field for radio-specific operations { displayName: 'Radio Number', name: 'radioNumber', type: 'number', default: 0, required: true, description: 'Radio number within the access point', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: [ 'getRadioChannelUtilization', 'getRadioChannelQuality', 'getRadioNoiseFloor', 'getRadioTransmissionInfo', 'getAPRadioThroughputTrend', ], }, }, }, // Port Index field for port-specific operations { displayName: 'Port Index', name: 'portIndex', type: 'string', default: '0', required: true, description: 'Port index of the access point', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: [ 'getAPPortCRCErrors', 'getAPPortCollisionErrors', 'getAPPortThroughputTrend', ], }, }, }, // WLAN Name field for WLAN-specific operations { displayName: 'WLAN Name', name: 'wlanName', type: 'string', default: '', required: true, description: 'Name of the wireless LAN', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: [ 'getWLANByName', 'getAPWLANThroughputTrend', 'getWLANThroughputTrend', ], }, }, }, // Tunnel ID field for tunnel-specific operations { displayName: 'Tunnel ID', name: 'tunnelId', type: 'string', default: '', required: true, description: 'Tunnel identifier', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: [ 'getAPTunnelDetails', 'getAPTunnelThroughputTrend', 'getAPTunnelPacketLossTrend', 'getAPTunnelJitterTrend', 'getAPTunnelLatencyTrend', 'getAPTunnelMOSScoreTrend', ], }, }, }, // Return All for list operations { displayName: 'Return All', name: 'returnAll', type: 'boolean', default: false, description: 'Whether to return all results or only up to a given limit', displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAllRadios', 'getAllWLANs'], }, }, }, { displayName: 'Limit', name: 'limit', type: 'number', default: 20, description: 'Max number of results to return', typeOptions: { minValue: 1, maxValue: 100, }, displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAllRadios', 'getAllWLANs'], returnAll: [false], }, }, }, // Filter options for list operations { displayName: 'Filters', name: 'filters', type: 'collection', placeholder: 'Add Filter', default: {}, options: [ { displayName: 'Site ID', name: 'siteId', type: 'string', default: '', description: 'Filter by site ID', }, { displayName: 'Status', name: 'status', type: 'options', options: [ { name: 'Online', value: 'ONLINE', }, { name: 'Offline', value: 'OFFLINE', }, ], default: '', description: 'Filter by status', }, ], displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: ['getAllRadios', 'getAllWLANs'], }, }, }, // Time Range for trend operations { displayName: 'Time Range', name: 'timeRange', type: 'collection', placeholder: 'Add Time Range', default: {}, options: [ { displayName: 'Start Time', name: 'startTime', type: 'dateTime', default: '', description: 'Start time for data retrieval (ISO 8601 format)', }, { displayName: 'End Time', name: 'endTime', type: 'dateTime', default: '', description: 'End time for data retrieval (ISO 8601 format)', }, ], displayOptions: { show: { domain: ['monitoring'], resource: ['aps'], operation: [ 'getRadioChannelUtilization', 'getRadioChannelQuality', 'getRadioNoiseFloor', 'getRadioTransmissionInfo', 'getAPPortCRCErrors', 'getAPPortCollisionErrors', 'getAPRadioThroughputTrend', 'getAPPortThroughputTrend', 'getAPWLANThroughputTrend', 'getAPTunnelThroughputTrend', 'getAPTunnelPacketLossTrend', 'getAPTunnelJitterTrend', 'getAPTunnelLatencyTrend', 'getAPTunnelMOSScoreTrend', 'getWLANThroughputTrend', ], }, }, }, ];