mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
formatting error
This commit is contained in:
@@ -137,7 +137,7 @@ def main():
|
|||||||
prog='test_ipv4_connection.py',
|
prog='test_ipv4_connection.py',
|
||||||
formatter_class=argparse.RawTextHelpFormatter,
|
formatter_class=argparse.RawTextHelpFormatter,
|
||||||
epilog='''\
|
epilog='''\
|
||||||
Create stations that attempt to authenticate, associate, and receive IP addresses on the
|
Create stations that attempt to authenticate, associate, and receive IP addresses on the
|
||||||
chosen SSID
|
chosen SSID
|
||||||
''',
|
''',
|
||||||
|
|
||||||
@@ -145,17 +145,17 @@ def main():
|
|||||||
test_ipv4_connection.py
|
test_ipv4_connection.py
|
||||||
--------------------
|
--------------------
|
||||||
Command example:
|
Command example:
|
||||||
./test_ipv4_connection.py
|
./test_ipv4_connection.py
|
||||||
--upstream_port eth1
|
--upstream_port eth1
|
||||||
--radio wiphy0
|
--radio wiphy0
|
||||||
--num_stations 3
|
--num_stations 3
|
||||||
--security open
|
--security open
|
||||||
--ssid netgear
|
--ssid netgear
|
||||||
--passwd BLANK
|
--passwd BLANK
|
||||||
--debug
|
--debug
|
||||||
''')
|
''')
|
||||||
required = parser.add_argument_group('required arguments')
|
required = parser.add_argument_group('required arguments')
|
||||||
required.add_argument('--security', help='WiFi Security protocol: < open | wep | wpa | wpa2 | wpa3 >', required=True)
|
#required.add_argument('--security', help='WiFi Security protocol: < open | wep | wpa | wpa2 | wpa3 >', required=True)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
#if args.debug:
|
#if args.debug:
|
||||||
@@ -203,7 +203,7 @@ Command example:
|
|||||||
if ip_test.passes():
|
if ip_test.passes():
|
||||||
ip_test.add_event(name="test_ipv4_connection.py", message="Full test passed, all stations associated and got IP")
|
ip_test.add_event(name="test_ipv4_connection.py", message="Full test passed, all stations associated and got IP")
|
||||||
ip_test.exit_success()
|
ip_test.exit_success()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user