From 6109a5fcc1dcd48814e9c805136551245dbb6b80 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Wed, 14 Apr 2021 05:56:33 -0600 Subject: [PATCH] lf_ftp_test.py : update comments Signed-off-by: Chuck SmileyRekiere --- py-scripts/lf_ftp_test.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/py-scripts/lf_ftp_test.py b/py-scripts/lf_ftp_test.py index c83dd2a1..3edb13b8 100755 --- a/py-scripts/lf_ftp_test.py +++ b/py-scripts/lf_ftp_test.py @@ -1,12 +1,25 @@ #!/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. 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 Copyright 2021 Candela Technologies Inc License: Free to distribute and modify. LANforge systems must be licensed. + +SETUP: Create a file to be downloaded linux: fallocate -l example fallocate -l 2M ftp_test.txt """ import sys from ftp_html import * @@ -34,7 +47,7 @@ class ftp_test(LFCliBase): print("Test is about to start") self.host = lfclient_host self.port = lfclient_port - #self.radio = radio + self.radio = radio self.upstream = upstream self.sta_prefix = sta_prefix self.sta_start_id = start_id