Commit Graph

3402 Commits

Author SHA1 Message Date
Ben Greear
9fac5990b4 tools: Add examples for NOLA-11 testbed.
It is now functional, though it appears eap102 is broken when managed
by cloud at the moment.

Add support for eap102 model to base cmd-line arg parser.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-08 16:20:10 -08:00
shivam
4c1cc92add Basic Code Refactoring and Setup for Unit Tests 2021-02-08 23:24:47 +05:30
Shivam Thakur
61122a7deb Merge pull request #12 from greearb/master
WIFI-1325:  Work towards NOLA lab goals.
2021-02-08 23:20:12 +05:30
Ben Greear
2b05bfb7c0 Add usage-examples notes file.
Easy to cut-and-paste for common commands.
2021-02-08 07:36:09 -08:00
Ben Greear
24cd9219a4 sdk-set-profile: Properly compare equipment-id against string -1
Not numeric -1, since object is a string.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-08 07:36:09 -08:00
Ben Greear
3d0b1e3125 Add usage-examples notes file.
Easy to cut-and-paste for common commands.
2021-02-05 17:03:10 -08:00
Ben Greear
91dcf54302 sdk-set-profile: Properly compare equipment-id against string -1
Not numeric -1, since object is a string.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-05 17:03:10 -08:00
jaspreetsachdev
3c3af1b2a0 Merge pull request #11 from Telecominfraproject/feature/WIFI-1325
cloudsdk:  Fix profile creation.
2021-02-05 15:26:44 -05:00
Ben Greear
9a1e3d61c5 cloudsdk: Fix profile creation.
Properly do not add profile info for things we are skipping.

And fix some some potential other issues by using self.foo
in more places.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-04 12:51:43 -08:00
Ben Greear
0a6b354f05 unit-tests: Fix include path to deal with new directory layout.
Add 'logs/README.md' to create that dir so logs automatically
have a place to be written to.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-02 15:26:03 -08:00
Ben Greear
4bdf061d24 Re-organize unit-test directory into new locations.
This is pure 'git mv'.  No changes were made to files.  They
will not work until we fix up the include paths again, that will
be handled in future commits.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-02 13:00:52 -08:00
Jaspreet Sachdev
8e7ea0d05b Added a note for virtualenv 2021-02-02 12:51:42 -05:00
Jaspreet Sachdev
31ecc4c76a Added a directory for keeping handy tools 2021-02-02 12:49:12 -05:00
SushantBawiskar
c63b34c6cf Nightly_sanity calls tests from lf_tests (#9) 2021-02-02 08:35:06 -08:00
Ben Greear
cf88c76aad query-sdk: Support querying available firmware.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-02 06:47:08 -08:00
Ben Greear
d7c11f7c56 unit-tests: Add verbose option for cloud-sdk, improve fw update script.
At least I think I improved the fw update script.  It is not working, but
I'm not sure if it is cloud issue or not.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-02 06:38:21 -08:00
Ben Greear
855cfc42c6 unit-tests: Move sw update into libraries.
Add sdk_upgrade_fw.py to call the upgrade (only).

This needs more testing, but it at least partially
works.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-01 17:12:12 -08:00
Jaspreet Sachdev
83a64afe69 Placeholders for the testcases and libraries 2021-02-01 15:02:57 -05:00
jaspreetsachdev
6f8ea28579 Merge pull request #8 from Telecominfraproject/feature/wifi-1270
Created an initial md file
2021-02-01 10:33:25 -05:00
4c74356b41
fa4f92050c Update nightly.yml
fixing lanforge ip address in nightlies
2021-01-31 17:39:04 +03:00
4c74356b41
778a089f4d Update nightly.yml 2021-01-31 17:04:08 +03:00
4c74356b41
03fb9bcb0d Update nightly.yml 2021-01-31 16:58:50 +03:00
4c74356b41
cf3299b7e1 Update nightly.yml 2021-01-31 16:57:35 +03:00
4c74356b41
5e077329ce Update nightly.yml 2021-01-31 16:55:59 +03:00
4c74356b41
47897201af Update nightly.yml 2021-01-31 16:54:34 +03:00
4c74356b41
140b34f440 Update nightly.yml 2021-01-31 16:48:28 +03:00
4c74356b41
3406db565a Update nightly.yml 2021-01-31 16:46:07 +03:00
4c74356b41
f45cf6d70c Update nightly.yml 2021-01-31 16:38:00 +03:00
Ben Greear
5aa398421d unit-tests: Add some examples for NOLA-01, fix typo in nola-12 example.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-30 16:01:42 -08:00
Jaspreet Sachdev
a5c5910b82 Proposed a new dir structure 2021-01-29 13:06:26 -05:00
SushantBawiskar
e75113147f Staging wifi 1337 (#7)
* moved tcp,udp traffic generation to lf_lib

* moved tcp,udp creation to lf_lib

* moved tcp,udp traffic generation to lf_lib

* Made changes in eap_connect to move TCP, UDP Creation to lf_lib.
2021-01-29 07:28:14 -08:00
Jaspreet Sachdev
3fbb146945 Created an initial md file 2021-01-29 10:03:20 -05:00
Ben Greear
5850d862e9 unit-tests: Add script to specifically dump nola-12 testbed debug info.
Save users having to remember the details.
2021-01-28 14:59:01 -08:00
Ben Greear
6b4f44480c unit-test: Support creating subset of wpa, wpa2 and/or eap.
This lets use re-configure the AP in multiple different configurations.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-28 14:22:48 -08:00
Ben Greear
4da36aebf3 unit-test: Add sdk_set_profile tool.
This will create SSIDs and apply a bridge profile to the
AP.

Future improvements include ability to specify bridge/vlan/nat
AP profiles.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-28 13:21:06 -08:00
Shivam Thakur
4207506296 Staging wifi 1336 (#5)
* Added APProfile as Library

* Applied the Profile Creation Library into Nightly
2021-01-28 11:10:20 -08:00
Ben Greear
358f9ea45b unit-tests: Update documentation with better examples.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-28 09:26:20 -08:00
Ben Greear
23f0d5fac2 nola-12: Fix wireless cfg file for wf188n
Had wrong bus, left over from eap102 config.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-28 06:14:01 -08:00
Ben Greear
49132a2cae testbed-poll: Fix file glob operator
To properly detect bare sysupgrade images or not.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-27 13:19:27 -08:00
Ben Greear
508164cad9 testbed-poll: Attempt to deal with new sysupgrade image format.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-27 13:05:01 -08:00
Ben Greear
ef0250c48c jfrog-poll: Query for wf188n builds too.
Since nola-12 supports that AP now.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-27 14:18:29 +00:00
Ben Greear
8d894c67f7 nola-12: Convert testbed config to match new DUT AP wf188n
The old EAP102 had hardware issues evidently, so try a wf188n
instead.  The overlay file specifies MAC addresses for wlans
in order to work around missing cal-data on development sample
boards.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-27 06:07:26 -08:00
Ben Greear
e025dcb7bd NOLA_15: Fix BSSID in testbed config file.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-27 06:06:27 -08:00
Ben Greear
bc6c6b3538 nola-13: Decrease requested capacity for eap102
It was falling apart at higher station amounts.  Possibly some of this
is resolved now, so can try reverting this patch in the near future.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-27 06:05:07 -08:00
Max
305abf5523 Merge pull request #4 from Telecominfraproject/enforce-issue-key
TOOLS-87 add workflow for checking Jira issue key
2021-01-25 11:45:44 +01:00
4c74356b41
69212dae32 Merge pull request #3 from Telecominfraproject/feature/pytest
Feature/pytest
2021-01-25 09:54:29 +01:00
Ben Greear
62b1376742 cicd: testbed poll prints out date before starting test.
Easier for manual inspection of whether test is hung or not...

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-22 12:13:21 -08:00
Ben Greear
aec4609e43 Update testing notes. 2021-01-22 06:54:18 -08:00
Ben Greear
3b3ff77428 Update readme. 2021-01-22 05:49:05 -08:00
Ben Greear
60b260ec24 nightly: Allow skipping NAT profiles.
Needs more work, NAT tests are still failing.
2021-01-21 17:09:37 -08:00