3 Initial Steps To Getting Automation xStarted

  1. Register for an Ixia user
  2. Software and API Installation](/softwareUpgrade)
  3. Bring up IxOS TCL server and IxNetwork API server](ixosTclServerBringUp.md)

The best way to learn how to start automating is by looking at samples and understand how the API tree structure looks like. There are a few ways to learn it.

ScriptGen


ScriptGen is a tool on the IxNetwork GUI that generates a complete script of your entire configuration in TCL, Python or Perl.

Although you could run the scriptgen script that got generated, but it is not meant to be used for production testing.

With all the additional configuration codes, it will run very slow.

To get the API that you need using ScriptGen, limit your configuration to a minimum so the file is fast to generate and you don't have much to parse.


Advantages

Disadvantages

How To Do A ScriptGen


On the IxNetwork GUI toolbar, select Automation and then click the ScriptGen button.


Make your selections and then at bottom, select ixNet Serialization





Sandbox


Sandbox is a tool that shows you a complete view of the API tree.

Follow the below instructions on how to enable the IxNetwork Sandbox.

Open up IxNetwork


ixNet command


The low level API uses the command called ixNet.

Here are some of the most commonly used ixNet commands: