Skip to content

vikumarks/msfthero

Repository files navigation

msfthero

Hero Test Keysight Traffic Config's

msfthero

msfthero is set of python script to genrate Keysight Traffic config for Hero Test. Its purpose is to generate Keysight traffic stateless and state-full traffic .

Command-line

UDP BG Traffic Config

cd /home/mircea
python ./msfthero/kstraffic/hero_uhd_udp_bg_traffic_config_generator.py

stateful traffic gen requires pytest. To run change directory to stateful_traffic_gen and from there:
pytest -s hero_scale/test_hero.py

Instructions

stateful traffic gen

  1. Config is setup to split traffic between TCP CPS and BG config types.
    1. To change go to hero_helper/hero_helper.py line 27 and change
      'split_networks': True,
      to
      'split_networks': False,
    2. this will place all of the stateful network and buid into one test config. Otherwise CPS and BG will be split and saved separately.
  2. In testbed.py change to use address of client system: 'server': [{'addr': '10.1.1.1', 'rest': 8080}],
  3. Change interface address to use chassis cards: 'interfaces': [ ['10.1.1.10', 1, 1], ['10.1.1.10', 1, 2],
      card address, slot#, port#
  4. On the client system running IxLoad create the following directory and copy file 367_bytes.txt at the location.
    1. Create dirctory: C:\automation\
    2. Place file at location: C:\automation\367_bytes.txt
  5. Change the save rxf path inside hero_helper/hero_helper.py line 21
      change to desired location: save_rxf_path = "C:\\automation\\"
  6. To change scale of test edit hero_scale/variables.py line 10
    1. ENI_COUNT = 64 # 64
    2. By default setup for 64 ENIs change to: 8, 32, 48, 64

Releases

No releases published

Packages

No packages published

Languages