LoriotPro Extended Edition LUA scripting documentation

TOC
LUA TOC


LoriotPro library (function lp...)

SNMP functions
lp.Get - Perform a SNMP Get
lp.GetBRC - Perform a SNMP Get within a VLAN context
lp.Set - Perform a SNMP Set
lp.SetBRC - Perform a SNMP Set within a VLAN context
lp.GetNext - Perform a SNMP GetNext
lp.GetNextBRC - Perform a SNMP GetNext within a VLAN context
lp.Gets - Perform a SNMP Get on multiple OID
lp.GetsBRC - Perform a SNMP Get on multiple OID within a VLAN context
lp.GetRows - Perform multiple SNMP GetNext on indexed OID
lp.GetRowsBRC - Perform multiple SNMP GetNext on indexed OID within a VLAN context
File and directory functions
lp.GetPath - Return the LoriotPro installation directory
Debug functions
lp.Trace - Display debug information in the editor system message area
lp.Print - Display information in the editor system message area
lp.Break - Allows you to add break point in a script
LoriotPro directory functions
lp.GetFirstIP - Get the first IP address from the LoriotPro directory
lp.GetNextIP - Get the next IP address after the current selected IP address
lp.GetIPInformation - Get the properties of a host
lp.SetIPOption - Set host properties
lp.GetFirstNetwork - Get the first network container from the LoriotPro directory
lp.GetNextNetwork - Get the next network container
lp.GetNetworkFromIP - Get the network of an IP address from the LoriotPro directory
lp.GetNetworkInformation - Get Network properties
lp.GetFirstRouter - Get the first router from the LoriotPro directory
lp.GetNextRouter - Get the next router from the LoriotPro directory
lp.GetRouterInformation - Get the router properties
lp.InsertNewContainer - Insert a new container in the LoriotPro directory
lp.InsertNewNetwork - Insert a new network in the LoriotPro directory
lp.InsertNewHost - Insert a new host in the LoriotPro directory
lp.GetUIDInformation - Get the UID of a directory item
lp.GetChildUID - Get the child items of a directory item
lp.GetIPFromMAC - Search a host in directory from its MAC address
lp.FindName - Search directory by host name
lp.FindIPFromDynamicDNS - Search directory for IP address of a dynamic host name
lp.SaveDirectoryAs - Save the current directory under a new name
Conversion functions
lp.atoip - Convert an IP address from character string to long interger
lp.iptoa - Convert an IP address from long interger to character string
lp.HexToOID - Convert an Hexa decimal to an OID string
Event functions
lp.SendEvent - Send an event message locally
lp.SendExternEvent - Send an event message to a LoriotPro manager
MIB functions
lp.IsLoadedMIBRef - Check if a MIB file is loaded and accessible
lp.IsRegisteredMIBRef - Check if the MIB file is registered
lp.FindSNMPObject - Check if a snmp object is available in the MIB tree
LUA library function
lp.LoadLibrary - Load a new LUA library
lp.FreeLibrary - Unload a LUA library
 

 


www.loriotpro.com