4.2. How to write a script

4.2. How to write a script

You can choose one of the three supported language to write your own script; the important thing is the "well-formed-comment" at the beginning of the script. In fact, to recognized a valid script, Symbolic check if there are a valid TAG at the beginning of each script file. The necessary Tag to personalize each script are:

Note

User can't show the full script content. So description must be clear and complete.

Here an example of a valid python script

#@Name: Getting HW Information
#@Author: lfoppiano
#@Type: python
#@Description: Get all hardware information of current machine
import func.overlord.client as fc
client = fc.Client("*")
print client.hardware.info()