mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
- Added Description
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
@@ -1,5 +1,36 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
NAME: test_ip_variable_time2.py
|
||||
|
||||
Note: This script can be used to create multiple layer3 traffic. If you want to create multiple layer3 traffic without
|
||||
disturbing existing layer3 traffic then this script can be used.
|
||||
|
||||
PURPOSE:
|
||||
test_ip_variable_time2.py will create stations and endpoints to generate and verify layer-3 traffic over ipv4 or ipv6.
|
||||
This script replaces the functionality of test_ipv4_variable_time.py and test_ipv6_variable_time.py
|
||||
This Script has two working modes:
|
||||
Mode 1:
|
||||
When station is not available,
|
||||
|
||||
This script will create a variable number of stations each with their own set of cross-connects and endpoints.
|
||||
It will then create layer 3 traffic over a specified amount of time, testing for increased traffic at regular intervals.
|
||||
This test will pass if all stations increase traffic over the full test duration.
|
||||
|
||||
ex. --mgr 192.168.1.101 --radio wiphy1 --ssid vap --test_duration 60s --traffic_type lf_udp --a_min 600000000
|
||||
--b_min 600000000 --upstream_port vap0000 --mode '5' --num_stations 2
|
||||
|
||||
Mode 2:
|
||||
|
||||
When station is already available This script will create layer3 cross-connects and endpoints It will then
|
||||
create layer 3 traffic over a specified amount of time, testing for increased traffic at regular intervals.
|
||||
This test will pass if all stations increase traffic over the full test duration.
|
||||
|
||||
ex. --mgr 192.168.1.101 --radio wiphy1 --ssid vap --test_duration 60s --traffic_type lf_udp --a_min 600000000
|
||||
--b_min 600000000 --upstream_port vap0000 --mode '5' --use_existing_sta --sta_names sta0000
|
||||
|
||||
Use './test_ip_variable_time.py --help' to see command line usage and options
|
||||
Copyright 2021 Candela Technologies Inc
|
||||
License: Free to distribute and modify. LANforge systems must be licensed.
|
||||
"""
|
||||
import sys
|
||||
import os
|
||||
|
||||
Reference in New Issue
Block a user