User`s guide
352 XgOS User’s Guide • September 2014
Aikido Scripting Language
All onboard scripts were created using the Aikido Language System. Aikido is an
interpreted, dynamically typed language that can be used for general purpose
programming but is best suited for prototyping and scripting. It has been derived
from the ideas present in a large number of languages including Pascal, Ada, C,
C++, Java, JavaScript, and Verilog.
See help scripts for more information about the use of OVN scripts.
See the following sites for more information on Aikido. Specifically, the Aikido
Programming Language Reference Manual:
http://sourceforge.net
http://en.wikipedia.org/wiki/Aikido_(programming_language)
Example: Create 10 vNICs Using Aikido
Using the Aikido scripting language, this example creates 10 vNICs called vnic0
through vnic9 on the server-profile beach.
foreach i 10
> add vnic vnic${i}.beach 5/2
> end