refactored scripts to use --no_cleanup

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2022-02-28 21:47:33 -07:00
committed by shivam
parent 4e232d5043
commit 19117b2ece
12 changed files with 14 additions and 15 deletions

View File

@@ -84,7 +84,7 @@ def main():
Generate traffic between ports
''',
description='''\
./create_l3.py --ssid lanforge --password password --security wpa2 --radio 1.1.wiphy0 --endp_a wiphy0 --endp_b wiphy1 --noclean
./create_l3.py --ssid lanforge --password password --security wpa2 --radio 1.1.wiphy0 --endp_a wiphy0 --endp_b wiphy1 --no_cleanup
''')
parser.add_argument(
'--min_rate_a',
@@ -141,10 +141,10 @@ def main():
ip_var_test.build()
# TODO: Delete the thing just created, unless --noclean option was added.
# TODO: Delete the thing just created, unless --no_cleanup option was added.
# Similar to how the create_bond.py does it.
if not args.noclean:
if not args.no_cleanup:
ip_var_test.pre_cleanup()
if ip_var_test.passes():