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.
router_id = lp.GetNextRouter();
Get the next router in the directory after the current selected router.
Warning: this function return the first router by their order in memory but not from the top of the directory tree.
Nil if no other router in the directory behind the current one
router_id - The IP address use to identify this router
lp_value = 0;
if router_id~=nil then