Ixia Tcl. Development Guide. Release Part No. Rev B This guide provides a description of the Ixia’s Tcl Command Library. Contribute to ixiacom/ixnetwork-api-tcl development by creating an account For general language documentation of IxNetwork API see the Low Level API Guide and the IxNetwork API Help. This will require a login to Ixia Support web page. Contribute to andymg/scripts development by creating an account on GitHub. scripts/tcl/dvt_auto_old/manual/scripts docs/Automated Testing IXIA API User.
|Published (Last):||3 December 2007|
|PDF File Size:||3.55 Mb|
|ePub File Size:||10.59 Mb|
|Price:||Free* [*Free Regsitration Required]|
Home Documents t Cl Development Guide.
Post on Oct views. Ixia and its licensors retain all ownership rights to the IXIAand hardware and software and its documentation. Use of Ixia hardware and software is governed by the license agreement accompanying your original purchase. This manual, as well as the hardware and software developnent in it, is furnished under license and may only be used or copied in accordance with the terms of such license.
The information in this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Ixia. Ixia assumes no responsibility or liability yuide any errors or inaccuracies that may appear in this book. Except as permitted by such license, no part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Ixia.
Government is subject to restrictions as set forth in subparagraph 14 g iii at FAR The following are trademarks of Ixia: All other companies and product names and logos are trademarks or registered trademarks of their respective holders.
Operation on a Windows Client. Operation on a Unix Client. F-2 Tcl Server Usage. G-2 Extra Statistics Checkboxes. G-3 Key To Tables. Multiple Latency Time Measurements – Example.
Degelopment Format for Sequence Checking. Packet Format for Data Integrity Checking. Worldwide Deployment of Synchronized Chassis.
Chassis Timing Using an Ixia IxClock Chassis Timing Choices. Software Modules used on an Ixia Chassis. Software Modules used on a Windows Client. Software Modules used on a Unix Client. E-1 ScriptGen Usage Dialog. E-2 Tcl Server on an Ixia Chassis. F-2 Initial Tcl Server Screen. F-3 Tcl Server with Connection. F-4 Serial Port Characteristics.
F-6 Statistics Mode Selection. G-2 Receive Mode Selection. The Optixia offers the highest port density available with support for up to ports in a chassis.
t Cl Development Guide – [PDF Document]
Depending on technology, up to four ports are packaged on a card, also referred to as a load module. Any combination of cards may be included in a single chassis. The IXIA is a powerful desktop system that holds four load modules of any type.
The highly scalable architecture supports daisy-chaining of up to chassis that may be synchronized to within 10 nanoseconds. Thus, even the most complex systems can be tested thoroughly and cost-effectively. A chassis can be configured with any mix of load modules, and multiple chassis can be daisy-chained and synchronized to support very large and complex test environments.
The IxExplorer software provides complete configuration, control, and monitoring of all Ixia resources in the test network, and the Tcl scripts allow the user to rapidly conduct the most popular industry benchmark tests. The user can configure and control the unit directly via back-panel connections to a keyboard, mouse, monitor, and printer.
Also, the unit can be connected to an Ethernet network and an administrator can remotely monitor and control it using the IxExplorer software program. Multiple users can access the unit simultaneously, splitting the ports within a chassis and controlling the activity and configuration of all ports and functions.
t Cl Development Guide
Front panel displays give immediate indication of link state, transmission or reception of packets, and error conditions. This guide provides a description of the Ixia’s Tcl Command Library for writing customized Tcl application programs to control the Ixia hardware platform. Configurations can be sent to the hardware and various programs can be created and executed on the system.
Tcl scripting allows automation of testing procedures when tens to thousands of ports are involved. System Overview DiagramThe IxServer module resides on the computer connected to the test hardware and is responsible for control and operation of the hardware. A single IxServer module exists per chassis. Working with IxServer, it operates the hardware chassis, cards and ports.
These two copies act in concert to provide a single interface to upper layers of software. The IxExplorer software, for example, uses its copy of IxHAL to hold configuration data until it is transferred to the hardware.
In the case of Tcl applications, the Tcl Command Library is a set of Tcl commands that are used to configure the traffic generation, capture and statistics parameters on the Ixia hardware platform.
Tcl applications use these commands to configure test parameters and then use a set option to transfer the information into IxHAL.
A write option causes IxHAL to send the information to the hardware. A cget option retrieves these values for use in Tcl applications. Discussions of Tcl commands can be found in: Appendix B – Utility Commands a number of additional provided utilitycommands.
Appendix D – Miscellaneous Unsupported Commands additional commandsprovided without support. Custom applications or test scripts can be written using Ixia’s Tcl Command Library. After installing the Tcl Client on the workstation, the Tcl package can be loaded by launching the Tcl Shell double-clicking the Wish Console icon on the Desktop and typing in the following command: If a new script is to be written, this should be the first line of the script file.
The package command can also be used inside a previously written script, which could be loading other Tcl extensions such as Expect, Tcl-DP.
Its purpose is to create a Tcl program which reflects the configuration of a particular port. ScriptGen is run from a Wish Console and the resulting program is written to disk and shown in the console window.
The configuration of the port may have been established through the use of any of the Ixia tools: The chapters of the manual are: Chapter 1 – Introduction. Chapter 2 – Quick Start. An overview of a complete, useful Tcl example program.
Using this, the basic flow of programming and operation can be viewed. Chapter 3 – Theory of Operation.
TCl Development Guide
Explains the conceptual model behind the Ixia hardware, so that the APIs functions and features can be completely understood. Chapter 4 – Programming.
Explains the basic structure and operation of all of the Tcl Commands. Organizes the APIs into related discussion groups and describes how to use them at a high level. An alphabetical set of reference sheets for all of the Tcl Guixe.
Appendix B – Utility Commands.
developmemt An alphabetical set of reference sheets for additional test related commands. Commands which perform a combination of functions against a number of ports. Appendix D – Miscellaneous Unsupported Commands. An alphabetical set of reference sheets for supplied utility commands. Appendix E – ScriptGen Usage. A description of the ScriptGen utility usage. Appendix G – Available Statistics.
A description of available statistics. People unfamiliar with the Ixia system should read the Theory of Operation chapter to understand how the hardware functions. The Programming chapter is an essential element in understanding how the APIs are to be used.
The API description chapter should be read, in part, as the elements are needed. For example, you need not read the Packet over Sonet sonet, etc. The appendices should be used for reference. An example test is presented and explained. On the Ixia chassis. You must install the Ixia Tcl client on the platformThe test script is configured to expect a 2-port or 4-port card in chassis slot 4, for a user george connecting to chassis work.
Change these in the source file as necessary for your scenario. This is usually C: The steps necessary to build and execute IxSampleC.
Start the Wish Console from the Ixia program group in the Start menu. Ixia Software v12 11 12 Setting ports to factory defaults