mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	small fixes
This commit is contained in:
		| @@ -21,8 +21,10 @@ class Test1KClients(LFCliBase): | ||||
|                 upstream, | ||||
|                 host="localhost", | ||||
|                 port=8080, | ||||
|                 side_a_min_rate=0, side_a_max_rate=56000, | ||||
|                 side_b_min_rate=0, side_b_max_rate=56000, | ||||
|                 side_a_min_rate=0,  | ||||
|                 side_a_max_rate=56000, | ||||
|                 side_b_min_rate=0,  | ||||
|                 side_b_max_rate=56000, | ||||
|                 num_sta_=200, | ||||
|                 test_duration="30s", | ||||
|                 _debug_on=True, | ||||
| @@ -61,8 +63,6 @@ class Test1KClients(LFCliBase): | ||||
|         self.name_prefix = "1k" | ||||
|         self.cx_profile = self.local_realm.new_l3_cx_profile() | ||||
|         self.cx_profile.name_prefix = self.name_prefix | ||||
|         print(side_a_max_rate) | ||||
|         print(side_b_max_rate) | ||||
|         self.cx_profile.side_a_min_bps = side_a_min_rate | ||||
|         self.cx_profile.side_a_max_bps = side_a_max_rate | ||||
|         self.cx_profile.side_b_min_bps = side_b_min_rate | ||||
| @@ -214,7 +214,7 @@ def main(): | ||||
|             --mgr_port 8080 | ||||
|             --sta_per_radio 300 | ||||
|             --test_duration 3m | ||||
|             --side_a_min 1000 | ||||
|             --a_min 1000 | ||||
|             --side_b_min 1000 | ||||
|             --side_a_max 0 | ||||
|             --side_b_max 0 | ||||
| @@ -224,10 +224,10 @@ def main(): | ||||
|     required = parser.add_argument_group('required arguments') | ||||
|     required.add_argument("--sta_per_radio",type=int,help="number of stations per radio") | ||||
|     optional.add_argument("--test_duration",type=int,help="length of test duration") | ||||
|     optional.add_argument("--side_a_min",type=int,help="length of test duration") | ||||
|     optional.add_argument("--side_b_min",type=int,help="length of test duration") | ||||
|     optional.add_argument("--side_b_max",type=int,help="length of test duration") | ||||
|     optional.add_argument("--side_a_max",type=int,help="length of test duration") | ||||
|     optional.add_argument("--a_min",type=int,help="length of test duration") | ||||
|     optional.add_argument("--b_min",type=int,help="length of test duration") | ||||
|     optional.add_argument("--b_max",type=int,help="length of test duration") | ||||
|     optional.add_argument("--a_max",type=int,help="length of test duration") | ||||
|     optional.add_argument('-u', '--upstream_port',help='non-station port that generates traffic: <resource>.<port>, e.g: 1.eth1',default='1.eth1') | ||||
|  | ||||
|     args = parser.parse_args() | ||||
| @@ -236,10 +236,10 @@ def main(): | ||||
|                               port=args.mgr_port, | ||||
|                               upstream=args.upstream_port, | ||||
|                               num_sta_=args.sta_per_radio, | ||||
|                               side_a_max_rate=args.side_a_max, | ||||
|                               side_a_min_rate=args.side_a_min, | ||||
|                               side_b_max_rate=args.side_b_max, | ||||
|                               side_b_min_rate=args.side_b_min, | ||||
|                               side_a_max_rate=args.a_max, | ||||
|                               side_a_min_rate=args.a_min, | ||||
|                               side_b_max_rate=args.b_max, | ||||
|                               side_b_min_rate=args.b_min, | ||||
|                               _debug_on=args.debug) | ||||
|  | ||||
|     kilo_test.pre_cleanup() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dipti
					Dipti