summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/setups/trex14/config.yaml
blob: ffb61763db2d918d1d25d122777c7907a5fdf9e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
################################################################
####         TRex nightly test configuration file          ####
################################################################


### TRex configuration:
# hostname        - can be DNS name or IP for the TRex machine for ssh to the box
# password        - root password for TRex machine
# is_dual         - should the TRex inject with -p ?
# version_path    - path to the TRex version and executable
# cores           - how many cores should be used
# latency         - rate of latency packets injected by the TRex
# modes           - list of modes (tagging) of this setup (loopback etc.)
# 	  * loopback  - Trex works via loopback. Router and TFTP configurations may be skipped.
#     * VM        - Virtual OS (accept low CPU utilization in tests, latency can get spikes)
#     * virt_nics - NICs are virtual (VMXNET3 etc.)

### Router configuration:
# hostname       - the router hostname as apears in ______# cli prefix
# ip_address     - the router's ip that can be used to communicate with
# image          - the desired imaged wished to be loaded as the router's running config
# line_password  - router password when access via Telent
# en_password    - router password when changing to "enable" mode
# interfaces     - an array of client-server pairs, representing the interfaces configurations of the router
# configurations - an array of configurations that could possibly loaded into the router during the test. 
#                  The "clean" configuration is a mandatory configuration the router will load with to run the basic test bench

### TFTP configuration:
# hostname       - the tftp hostname
# ip_address     - the tftp's ip address
# images_path    - the tftp's relative path in which the router's images are located

### Test_misc configuration:
# expected_bw    - the "golden" bandwidth (in Gbps) results planned on receiving from the test

trex:
  hostname       : csi-trex-14
  cores          : 4

router:
  model          : ASR1001x
  hostname       : csi-asr-01
  ip_address     : 10.56.216.120
  image          : asr1001x-universalk9.03.13.02.S.154-3.S2-ext.SPA.bin
  line_password  : cisco
  en_password    : cisco
  mgmt_interface : GigabitEthernet0
  clean_config   : clean_config.cfg
  intf_masking   : 255.255.255.0
  ipv6_mask      : 64
  interfaces     :
    - client : 
        name          : Te0/0/0
        src_mac_addr  : 0000.0001.0002
        dest_mac_addr : 0000.0001.0001
      server : 
        name          : Te0/0/1
        src_mac_addr  : 0000.0002.0002
        dest_mac_addr : 0000.0002.0001
      vrf_name      : null    

tftp:
  hostname       : ats-asr-srv-1
  ip_address     : 10.56.217.7
  root_dir       : /scratch/tftp/
  images_path    : /asr1001x/