mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	var_time col name arg parse fixed
This commit is contained in:
		@@ -267,11 +267,14 @@ python3 ./test_ipv4_variable_time.py
 | 
				
			|||||||
        layer3connections=','.join([[*x.keys()][0] for x in ip_var_test.local_realm.json_get('endp')['endpoint']])
 | 
					        layer3connections=','.join([[*x.keys()][0] for x in ip_var_test.local_realm.json_get('endp')['endpoint']])
 | 
				
			||||||
    except:
 | 
					    except:
 | 
				
			||||||
        raise ValueError('Try setting the upstream port flag if your device does not have an eth1 port')
 | 
					        raise ValueError('Try setting the upstream port flag if your device does not have an eth1 port')
 | 
				
			||||||
    if type(args.col_names) is not list:
 | 
					    if args.col_names is not None:
 | 
				
			||||||
        col_names=None
 | 
					        print(args.col_names)
 | 
				
			||||||
    else:
 | 
					        if type(args.col_names) is not list:
 | 
				
			||||||
        col_names = args.col_names
 | 
					            col_names=list(args.col_names.split(","))
 | 
				
			||||||
 | 
					        else:
 | 
				
			||||||
 | 
					            col_names = args.col_names
 | 
				
			||||||
    if args.debug:
 | 
					    if args.debug:
 | 
				
			||||||
 | 
					        print("Column names are...")
 | 
				
			||||||
        print(col_names)
 | 
					        print(col_names)
 | 
				
			||||||
    ip_var_test.l3cxprofile.monitor(col_names=col_names,
 | 
					    ip_var_test.l3cxprofile.monitor(col_names=col_names,
 | 
				
			||||||
                                    report_file=report_f,
 | 
					                                    report_file=report_f,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user