Views:
The correlation object contains miscellaneous mapping information. This object is only available to the special scripts onMACLookup and onPortLookup in device packages.
Properties
Name Type Description
interfaceIndex int The interface index for the subnet
ipAddress String The IP address of the affected end station
macAddress String The MAC address of the affected end station
onMACLookup is called with only interfaceIndex and ipAddress initialized. interfaceIndex is the ifIndex of the interface to which the IP address belongs. These properties are added to ipNetToMediaPhysAddress in RFC-1213 to correlate the IP Address with a MAC Address.
onPortLookup is called with only macAddress initialized.
Methods
There are no Correlation methods accessible from JavaScript.
Sample usage
var ip = correlation.getIpAddress();