LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.GetNextIP - Get the next IP address after the current selected IP address

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax

ip=lp.GetNextIP(ip_old);

Description

Get the next host IP address in the directory tree following the current selected host. This function allows you to browse the directory in a program loop for example.

Parameters

ip_old - This is a character string of the IP address x.x.x.x. This address should be imperatively defined in the LoriotPro directory

Return Values

ip - This is a character string of the IP address x.x.x.x. This address should be imperatively defined in the LoriotPro directory

Example

Refer to function: ip = lp.GetFirstIP().

 


www.loriotpro.com