|
| 1 | +**PLEASE REFER TO intro.md FIRST BEFORE THIS DOCUMENT** |
| 2 | + |
| 3 | +* Prerequisites for executing SpyTest |
| 4 | + * Server/Laptop or VM running Red Hat or Ubuntu with minimum 10GB HDD. |
| 5 | + We have tested on Red Hat 4.4.7-9 and Ubuntu 16.04.10 |
| 6 | + |
| 7 | +* Tools Installation |
| 8 | + * Create a folder install under the /projects/scid folder |
| 9 | + * Download following files from [ActiveState](https://www.activestate.com/products/) |
| 10 | + * ActiveTcl-8.5.19.8519-x86_64-linux-glibc-2.5-403583.tar.gz |
| 11 | + * ActivePython-2.7.14.2717-linux-x86_64-glibc-2.12-404899.tar.gz |
| 12 | + * Install them to /projects/scid folder. After installation the folder structure should look like below |
| 13 | + |
| 14 | + /projects/scid/tools/ActivPython/2.7.14 |
| 15 | + /projects/scid/tools/ActivPython/2.7.14/lib |
| 16 | + /projects/scid/tools/ActivPython/2.7.14/etc |
| 17 | + /projects/scid/tools/ActivPython/2.7.14/licenses |
| 18 | + /projects/scid/tools/ActivPython/2.7.14/include |
| 19 | + /projects/scid/tools/ActivPython/2.7.14/doc |
| 20 | + /projects/scid/tools/ActivPython/2.7.14/bin |
| 21 | + /projects/scid/tools/ActivPython/2.7.14/share |
| 22 | + /projects/scid/tools/ActivPython/current -> 2.7.14 |
| 23 | + |
| 24 | + /projects/scid/tools/ActivTcl/ |
| 25 | + /projects/scid/tools/ActivTcl/8.5.19 |
| 26 | + /projects/scid/tools/ActivTcl/8.5.19/lib |
| 27 | + /projects/scid/tools/ActivTcl/8.5.19/8.5.19 |
| 28 | + /projects/scid/tools/ActivTcl/8.5.19/licenses |
| 29 | + /projects/scid/tools/ActivTcl/8.5.19/MANIFEST_at8.5.txt |
| 30 | + /projects/scid/tools/ActivTcl/8.5.19/demos |
| 31 | + /projects/scid/tools/ActivTcl/8.5.19/include |
| 32 | + /projects/scid/tools/ActivTcl/8.5.19/doc |
| 33 | + /projects/scid/tools/ActivTcl/8.5.19/bin |
| 34 | + /projects/scid/tools/ActivTcl/8.5.19/man |
| 35 | + /projects/scid/tools/ActivTcl/8.5.19/share |
| 36 | + /projects/scid/tools/ActivTcl/8.5.19/README-8.5-thread.txt |
| 37 | + /projects/scid/tools/ActivTcl/8.5.19/license-at8.5-thread.terms |
| 38 | + /projects/scid/tools/ActivTcl/current -> 8.5.19 |
| 39 | + * SPyTest may also work fine with native Linux packages for python2, pip2, tcl and tclx |
| 40 | + but this is not exercised well. Similarly it may work well in virtual python environment also. |
| 41 | + |
| 42 | +* TGen Installation |
| 43 | + * SPyTest needs traffic generator client libraries |
| 44 | + * Please contact Ixia and STC to get the required APIs for these libraries |
| 45 | + * The exact files used for validating SPyTest are: |
| 46 | + * [IxNetwork 8.42](http://downloads.ixiacom.com/support/downloads_and_updates/public/ixnetwork/IxNetworkAPI8.42.1250.2Linux64.bin.tgz) |
| 47 | + * [STC 4.91](https://support.spirent.com/SpirentCSC/SpirentDownloadsAppPage?rid=10492) |
| 48 | + * Once installed, create symbolic links so that folder structure looks same as given in |
| 49 | + [SPYTEST-ROOT]/bin/tgen_folders.txt |
| 50 | + * IxOS TCL libraries need to be installed before installing the IxNetwork libraries |
| 51 | + * SPyTest needs IxNetwork to installed on an intermediate server/VM |
| 52 | + * The exact file used for validating SPyTest is: [IxNetwork 8.42](http://downloads.ixiacom.com/support/downloads_and_updates/public/ixnetwork/IxNetwork8.42EA.exe) |
| 53 | + * The IxNetwork Server IP address needs to be given in testbed file as "ix_server" |
| 54 | + * The IxNetwork API Server needs to be launched before launching SPyTest |
| 55 | + * For Scapy traffic generator refer to [README.testbed.Setup.md](https://github.com/Azure/sonic-mgmt/blob/master/ansible/doc/README.testbed.Setup.md) |
| 56 | + |
0 commit comments