mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
lf_ftp_test.py : update comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -1,12 +1,25 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
""" ftp_test.py will create stations and endpoints to generate and verify layer-4 traffic over an ftp connection.
|
"""
|
||||||
|
|
||||||
|
NAME: ftp_test.py
|
||||||
|
|
||||||
|
PURPOSE:
|
||||||
|
will create stations and endpoints to generate and verify layer-4 traffic over an ftp connection.
|
||||||
find out download/upload time of each client according to file size.
|
find out download/upload time of each client according to file size.
|
||||||
This script will monitor the bytes-rd attribute of the endpoints.
|
This script will monitor the bytes-rd attribute of the endpoints.
|
||||||
Use './ftp_test.py --help' to see command line usage and options
|
|
||||||
|
USE: './ftp_test.py --ssid "jedway-wap2-x2048-5-3" --passwd "jedway-wpa2-x2048-5-3" --security wpa2 --bands "5G" --direction "Download" \
|
||||||
|
--file_size "2MB" --num_stations
|
||||||
|
|
||||||
|
INCLUDE_IN_README
|
||||||
|
|
||||||
|
|
||||||
-Jitendrakumar Kushavah
|
-Jitendrakumar Kushavah
|
||||||
Copyright 2021 Candela Technologies Inc
|
Copyright 2021 Candela Technologies Inc
|
||||||
License: Free to distribute and modify. LANforge systems must be licensed.
|
License: Free to distribute and modify. LANforge systems must be licensed.
|
||||||
|
|
||||||
|
SETUP: Create a file to be downloaded linux: fallocate -l <size> <name> example fallocate -l 2M ftp_test.txt
|
||||||
"""
|
"""
|
||||||
import sys
|
import sys
|
||||||
from ftp_html import *
|
from ftp_html import *
|
||||||
@@ -34,7 +47,7 @@ class ftp_test(LFCliBase):
|
|||||||
print("Test is about to start")
|
print("Test is about to start")
|
||||||
self.host = lfclient_host
|
self.host = lfclient_host
|
||||||
self.port = lfclient_port
|
self.port = lfclient_port
|
||||||
#self.radio = radio
|
self.radio = radio
|
||||||
self.upstream = upstream
|
self.upstream = upstream
|
||||||
self.sta_prefix = sta_prefix
|
self.sta_prefix = sta_prefix
|
||||||
self.sta_start_id = start_id
|
self.sta_start_id = start_id
|
||||||
|
|||||||
Reference in New Issue
Block a user