Customizing The Operation According To Your Environment (Lua Script/Custom Gui); Lua Scripts - Yamaha fwx120 Operation Manual

Hide thumbs Also See for fwx120:
Table of Contents

Advertisement

Operating and managing the product
Customizing the operation according to
your environment (Lua script/Custom GUI)
The product operation can be arranged to better fit
your environment by using the Lua script or custom
GUI function.

Lua scripts

You can run Lua scripts in the product. Embedding
APIs unique to Yamaha routers into Lua scripts
enables you to change settings or program actions
according to the product status.
7
Example of script:
• Automatically configure settings from the config
program settings.
• If transmission to a specific address fails, send
e-mail to the administrator.
• If the tunnel is not available, change the route.
Please refer to the following URL for more details
on Lua scripts available for the product:
http://www.yamaha.com/products/en/network/
Language specifications
Please refer to the following URL for information
about specifications of Lua language implemented
by Yamaha.
• Grammar of Lua language
• Library functions
• Lua tutorial (for programming beginners)
http://www.yamaha.com/products/en/network/
164  FWX120 Operation Manual
NOTE
External memory devices and the internal non-volatile
memory must be used only for the purpose of saving
script files to be executed. Frequent writing to those
devices consumes them earlier. Please note that,
if the internal non-volatile memory fails because of
excessively frequent writing operation, in-warranty
repair will not apply even within warranty period.
Tip
• Please refer to http://www.lua.org/ for more details on
Lua scripts. For more details on the specifications of
the original Lua language, please refer to the Lua 5.1
Reference Manual (http://www.lua.org/manual/5.1/).
• The APIs unique to Yamaha routers are published
in the following URL (New APIs will be added as
needed):
http://www.yamaha.com/products/en/network/

Advertisement

Table of Contents
loading

Table of Contents