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