From 0542064739082d5f024aaf65f91f0de57c9ce58d Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Tue, 23 Feb 2021 13:35:16 -0800 Subject: [PATCH] Add support for cig194c DUT type. And example for configuring it in nola-15 testbed. Signed-off-by: Ben Greear --- tests/UnitTestBase.py | 2 +- tools/USAGE_EXAMPLES.txt | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/UnitTestBase.py b/tests/UnitTestBase.py index 7f2d76c34..d791c9a8a 100644 --- a/tests/UnitTestBase.py +++ b/tests/UnitTestBase.py @@ -103,7 +103,7 @@ def add_base_parse_args(parser): help="Force upgrading firmware even if it is already current version", default=False) parser.add_argument("-m", "--model", type=str, - choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'None'], + choices=['ea8300', 'ecw5410', 'ecw5211', 'ec420', 'wf188n', 'eap102', 'eap101', 'cig194c', 'None'], help="AP model to be run", required=True) parser.add_argument("--equipment-id", type=str, help="AP model ID, as exists in the cloud-sdk. -1 to auto-detect.", diff --git a/tools/USAGE_EXAMPLES.txt b/tools/USAGE_EXAMPLES.txt index 26de00b41..e6594614a 100644 --- a/tools/USAGE_EXAMPLES.txt +++ b/tools/USAGE_EXAMPLES.txt @@ -111,16 +111,21 @@ Testbed 12 (Basic, wf188n) Testbed-15 -# Set AP profile on NOLA-15 +# Set AP profile on NOLA-15 (ap-1) ./sdk_set_profile.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --lanforge-ip-address localhost --lanforge-port-number 8952 \ --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ --skip-radius --skip-wpa --verbose --testbed "NOLA-15" --ssid-5g-wpa2 Default-SSID-5gl --psk-5g-wpa2 12345678 \ --ssid-2g-wpa2 Default-SSID-2g --psk-2g-wpa2 12345678 --mode bridge -# Update firmware +# Update firmware (ap-1) ./sdk_upgrade_fw.py --testrail-user-id NONE --model ecw5410 --ap-jumphost-address localhost --ap-jumphost-port 8953 \ --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP4 --testbed \"NOLA-15\" \ --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build --force-upgrade true - +# Set AP profile on NOLA-15 (ap-2, cig194c) +./sdk_set_profile.py --testrail-user-id NONE --model cig194c --ap-jumphost-address localhost --ap-jumphost-port 8953 \ + --ap-jumphost-password pumpkin77 --ap-jumphost-tty /dev/ttyAP5 --lanforge-ip-address localhost --lanforge-port-number 8952 \ + --default-ap-profile TipWlan-2-Radios --sdk-base-url https://wlan-portal-svc-nola-15.cicd.lab.wlan.tip.build \ + --skip-radius --skip-wpa --verbose --testbed "NOLA-15b" --ssid-5g-wpa2 Default-SSID-5gl-cig --psk-5g-wpa2 12345678 \ + --ssid-2g-wpa2 Default-SSID-2g-cig --psk-2g-wpa2 12345678 --mode bridge