mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-18 11:04:51 +00:00
lf_cisco_snp.py : updates for additional configurations
This commit is contained in:
@@ -1377,7 +1377,7 @@ TODO: Radio descriptions in realm , the 1. refers to the chassi hopefully corres
|
||||
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('-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"])
|
||||
parser.add_argument('-cc','--cisco_ctlr', help='--cisco_ctlr <IP of Cisco Controller> default 192.168.100.178',default="192.168.100.178")
|
||||
@@ -1398,11 +1398,11 @@ TODO: Radio descriptions in realm , the 1. refers to the chassi hopefully corres
|
||||
parser.add_argument('-prs','--port_reset_seconds', help='--ports_reset_seconds \"<min seconds> <max seconds>\" ', default="10 30")
|
||||
|
||||
parser.add_argument('-lm','--mgr', help='--mgr <hostname for where LANforge GUI is running>',default='localhost')
|
||||
parser.add_argument('-d','--test_duration', help='--test_duration <how long to run> example --time 5d (5 days) default: 3m options: number followed by d, h, m or s',default='2m')
|
||||
parser.add_argument('-d','--test_duration', help='--test_duration <how long to run> example --time 5d (5 days) default: 3m options: number followed by d, h, m or s',default='30s')
|
||||
parser.add_argument('--tos', help='--tos: Support different ToS settings: BK | BE | VI | VO | numeric',default="BE")
|
||||
parser.add_argument('-db','--debug', help='--debug: Enable debugging',action='store_true')
|
||||
parser.add_argument('-t', '--endp_type', help='--endp_type <types of traffic> example --endp_type \"lf_udp lf_tcp mc_udp\" Default: lf_udp , options: lf_udp, lf_udp6, lf_tcp, lf_tcp6, mc_udp, mc_udp6',
|
||||
default='lf_udp', type=valid_endp_types)
|
||||
parser.add_argument('-t', '--endp_type', help='--endp_type <types of traffic> example --endp_type \"lf_udp lf_tcp mc_udp\" Default: lf_udp lf_tcp, options: lf_udp, lf_udp6, lf_tcp, lf_tcp6, mc_udp, mc_udp6',
|
||||
default='lf_udp lf_tcp', type=valid_endp_types)
|
||||
parser.add_argument('-u', '--upstream_port', help='--upstream_port <cross connect upstream_port> example: --upstream_port eth1',default='eth1')
|
||||
parser.add_argument('-o','--csv_outfile', help="--csv_outfile <Output file for csv data>", default='snp')
|
||||
parser.add_argument('-pi','--polling_interval', help="--polling_interval <seconds>", default='30s')
|
||||
@@ -1521,12 +1521,19 @@ TODO: Radio descriptions in realm , the 1. refers to the chassi hopefully corres
|
||||
print(cisco_packet_types)
|
||||
cisco_packet_sizes = args.cisco_packet_size.split()
|
||||
print(cisco_packet_sizes)
|
||||
cisco_client_densities = args.cisco_client_density.split()
|
||||
print(cisco_client_densities)
|
||||
cisco_data_encryptions = args.cisco_data_encryption.split()
|
||||
print(cisco_data_encryptions)
|
||||
|
||||
for cisco_ap in cisco_aps:
|
||||
for cisco_band in cisco_bands: # change to frequency
|
||||
for cisco_band in cisco_bands: # frequency
|
||||
for cisco_wifimode in cisco_wifimodes:
|
||||
for cisco_chan_width in cisco_chan_widths: #change to band width
|
||||
for cisco_chan_width in cisco_chan_widths: #bandwidth
|
||||
for cisco_data_encryption in cisco_data_encryptions:
|
||||
for cisco_ap_mode in cisco_ap_modes:
|
||||
for cisco_client_density in cisco_client_densities:
|
||||
for endp_type in endp_types:
|
||||
for cisco_packet_size in cisco_packet_sizes:
|
||||
print("Cisco run: AP {} band: {} wifimode {} chan_width {} cisco_ap_mode {} cisco_packet_size {}".format(cisco_ap,
|
||||
cisco_band, cisco_wifimode, cisco_chan_width, cisco_ap_mode, cisco_packet_size))
|
||||
|
||||
Reference in New Issue
Block a user