From 1cbe1ec904c82e1adb1826d0e607136d28dc1e5b Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Mon, 9 Nov 2020 09:03:10 -0700 Subject: [PATCH] lf_cisco_snp.py : update defaults to speed up testing --- py-scripts/lf_cisco_snp.py | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/py-scripts/lf_cisco_snp.py b/py-scripts/lf_cisco_snp.py index 774bff5c..7083f9cd 100755 --- a/py-scripts/lf_cisco_snp.py +++ b/py-scripts/lf_cisco_snp.py @@ -1371,16 +1371,25 @@ TODO: Radio descriptions in realm , the 1. refers to the chassi hopefully corres parser.add_argument('-ca','--cisco_all', help='--cisco_all flag present default to all tests',action="store_true") parser.add_argument('-ct','--cisco_test', help='--cisco_test flag present default to subset tests',action="store_true") parser.add_argument('-cca','--cisco_ap', help='--cisco_ap List of APs to test default: Axel',default="APA453.0E7B.CF9C") - parser.add_argument('-ccf','--cisco_band', help='--cisco_band ',default="a b abgn") + #parser.add_argument('-ccf','--cisco_band', help='--cisco_band ',default="a b abgn") + parser.add_argument('-ccf','--cisco_band', help='--cisco_band ',default="a b") # cisco wanted 11ax , 11ac, 11n, 11gb - parser.add_argument('-cwm','--cisco_wifimode', help='List of of wifi mode to test default: 11ax 11ac 11n 11gb',default="an anAX anAC abgn bg", + parser.add_argument('-cwm','--cisco_wifimode', help='List of of wifi mode to test default: 11ax 11ac 11n 11gb',default="an bg", choices=[ "auto", "a", "b", "g", "abg", "abgn", "bgn", "bg", "abgnAC", "anAC", "an", "bgnAC", "abgnAX", "bgnAX", "anAX"]) + #parser.add_argument('-cwm','--cisco_wifimode', help='List of of wifi mode to test default: 11ax 11ac 11n 11gb',default="an anAX anAC abgn bg", + # choices=[ "auto", "a", "b", "g", "abg", "abgn", "bgn", "bg", "abgnAC", "anAC", "an", "bgnAC", "abgnAX", "bgnAX", "anAX"]) + parser.add_argument('-ccc','--cisco_channel', help='--cisco_channel default 36',default="36") - parser.add_argument('-ccw','--cisco_chan_width', help='--cisco_chan_width <20 40 80 160> default: \"20 40 80 160\"',default="20 40 80 160") + #parser.add_argument('-ccw','--cisco_chan_width', help='--cisco_chan_width <20 40 80 160> default: \"20 40 80 160\"',default="20 40 80 160") + parser.add_argument('-ccw','--cisco_chan_width', help='--cisco_chan_width <20 40 80 160> default: \"20 40 80 160\"',default="20") parser.add_argument('-cam','--cisco_ap_mode', help='--cisco_ap_mode ',default="local flexconnect") - parser.add_argument('-cps','--cisco_packet_size', help='--cisco_packet_size List of packet sizes default \"88 512 1370 1518\"',default="88 512 1370 1518" ) - parser.add_argument('-ccd','--cisco_client_density', help='--cisco_client_density List of client densities defaults 1 10 20 50 100 200 ', - default="1 10 20 50 100 200" ) + #parser.add_argument('-cps','--cisco_packet_size', help='--cisco_packet_size List of packet sizes default \"88 512 1370 1518\"',default="88 512 1370 1518" ) + parser.add_argument('-cps','--cisco_packet_size', help='--cisco_packet_size List of packet sizes default \"88 512 1370 1518\"',default="1518" ) + #parser.add_argument('-ccd','--cisco_client_density', help='--cisco_client_density List of client densities defaults 1 10 20 50 100 200 ', + # default="1 10 20 50 100 200" ) + parser.add_argument('-ccd','--cisco_client_density', help='--cisco_client_density List of client densities defaults 1', + default="1" ) + parser.add_argument('-cde','--cisco_data_encryption', help='--cisco_data_encryption \"enable disable\"',default="disable" ) parser.add_argument('-cs','--cisco_series', help='--cisco_series <9800 | 3504>',default="3504",choices=["9800","3504"]) @@ -1409,8 +1418,9 @@ TODO: Radio descriptions in realm , the 1. refers to the chassi hopefully corres default='lf_udp lf_tcp', type=valid_endp_types) parser.add_argument('-u', '--upstream_port', help='--upstream_port example: --upstream_port eth1',default='eth1') parser.add_argument('-o','--csv_outfile', help="--csv_outfile ", default='snp') - parser.add_argument('-pi','--polling_interval', help="--polling_interval ", default='30s') - parser.add_argument('-c','--csv_output', help="Generate csv output", default=False) + parser.add_argument('-pi','--polling_interval', help="--polling_interval ", default='10s') + #parser.add_argument('-c','--csv_output', help="Generate csv output", default=False) + parser.add_argument('-c','--csv_output', help="Generate csv output", default=True) #to do add wifimode parser.add_argument('-r','--radio', action='append', nargs=1, help='--radio \