Spirent TestCenter Automation

[Pages:31]Spirent TestCenter Automation

Validating the environment and configuring the system variables ? an overview

Spirent Communications

August 10 2016 SRE Chicago

Vijay Muthucumarasamy

Principle Field Service Engineer

PROPRIETARY AND CONFIDENTIAL

1

Agenda

Spirent Automation and Supported Platforms Operating System and Validation Environment Set up and Verification

? TCL ? Python ? Perl

Lab Server HLTAPI Command Sequencer Q&A

Spirent Communications

PROPRIETARY AND CONFIDENTIAL

2

Supported OS and API

1. Multi-threaded 2. If you are using Avalanche on Spirent TestCenter, Windows 2008 server is not officially supported at this time. 3. Running as a 32-bit application 4. Requires LabServer 5. Requires openssh-client package **** PLEASE Check the release notes for updated information

Spirent Communications

PROPRIETARY AND CONFIDENTIAL

3

Spirent API Packages for Linux Environment

Spirent Communications

PROPRIETARY AND CONFIDENTIAL

4

Verify and Validate the OS & API

Before install the STC installation packages ? Verify the Operating System

- Kernel - CPU - Memory - Validate the requirement : Check the Spirent TestCenter releases and verify Spirent requirements

? Verify the API (TCL/Python/Perl)

- Release version - Whether 32/64 bit platform - Whether need a Spirent Lab Server - Validate the requirement : Check the Spirent TestCenter releases and verify Spirent requirements

Spirent Communications

PROPRIETARY AND CONFIDENTIAL

5

Operating System and Validation

Verify Kernel version ? CentOS/RedHat/Ubuntu

- cat /etc/issue - cat /etc/redhat-release (CentOs/RedHat) - uname ?r -> Kernel Release - uname ?i / uname ?m / uname ?p -> OS platform whether 32bit or 64bit - uname ?a (display all the information)

Memory and CPU - free -h -> Provides memory information - cat /proc/cpuinfo - cat /proc/meminfo Find File/Dir - Find / -name "filename" - Find /dir/path/look/up -name "pattern"

Spirent Communications

PROPRIETARY AND CONFIDENTIAL

6

TCL (Tool Command Language)

Supported Versions ? 8.4.13 ? 8.5.9 ? 8.5.14 ? Both 32 bit and 64 bit (Lab Server is not mandatory from STC release v4.64)

Verify TCL version

? Info patchlevel

- % info patchlevel

8.4.19

Verify whether the TCL platform (32 bit or 64 bit)

? parray tcl_platform

- % parray tcl_platform

tcl_platform(byteOrder) = littleEndian tcl_platform(machine) = x86_64 tcl_platform(os) = Linux tcl_platform(osVersion) = 2.6.32-642.3.1.el6.x86_64 tcl_platform(platform) = unix tcl_platform(tip,268) = 1 tcl_platform(tip,280) = 1 tcl_platform(user) = spirent tcl_platform(wordSize) = 8

Spirent Communications

PROPRIETARY AND CONFIDENTIAL

7

TCL and Environment Variables

Windows ? Spirent TCL installation

- Make sure environment "path" variable has the TCL installation path as shown below

? C:\Program Files (x86)\Spirent Communications\Spirent TestCenter 4.xx\TCL\bin; ?

Spirent Communications

PROPRIETARY AND CONFIDENTIAL

8

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download