137
Operating and managing the product
7
Customizing the operation according to
your environment (Lua script/Custom GUI)
The product operation can be arranged to better t 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.
Example of script:
• Automatically congure settings from the cong program
settings.
• If transmission to a specic 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
specications of Lua language implemented by Yamaha.
Grammar of Lua language:
http://www.yamaha.com/products/en/network/
Library functions:
http://www.yamaha.com/products/en/network/
Lua tutorial (for programming beginners):
http://www.yamaha.com/products/en/network/
Note
External memory devices and the internal non-volatile memory
must be used only for the purpose of saving script les to be
executed. Frequent writing to those device 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 specications 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/