Commit Graph

1877 Commits

Author SHA1 Message Date
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
Ben Greear
a3d2db11ed unit-test: Pass in LF radios on cmd line.
Test is partially functional now.
2021-01-21 16:57:22 -08:00
Ben Greear
5e7fa2a1e4 unit-tests: Allow to skip configuring profiles.
So we can jump right into testing LANforge traffic,
good for faster run while testing the script itself.

This patch is mostly just changing code indentation.
2021-01-21 16:21:44 -08:00
Ben Greear
d8145a3daa nightly: Remove more profile-on-disk logic.
Use auto-generated ssid and psk, with TODO note to improve
this in the future as needed.

This will give us programmatic control over SSID names, passwords
and such, in case we want to try lots of different variants as part
of testing the cloud.
2021-01-21 13:00:54 -08:00
Ben Greear
06fc199fd3 cloudsdk: Use default ssid profile as basis for new profiles.
Instead of storing the thing on disk.
2021-01-21 10:48:53 -08:00
Ben Greear
9794ce94de cloudsdk: Support deleting equipment profiles.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-21 10:22:58 -08:00
Ben Greear
85eb9e3d10 query-sdk: Add brief mode for showing profile and equipment lists. 2021-01-21 10:08:37 -08:00
Ben Greear
87bd1a3f83 cloudsdk: Fix deleting profile. 2021-01-21 09:29:51 -08:00
Ben Greear
15d58a15a4 query-sdk: Helper method to print out child_of information.
So we can see what AP profile is using an ssid profile.
I assume we must delete AP profiles using an ssid before
we can delete the ssid.
2021-01-21 08:44:34 -08:00
Ben Greear
bc5b6d56e7 unit-test: Fix updating existing radius profile.
Need to convert the json object to a string before doing a PUT.

Test still failing though, maybe other corruption.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-21 07:38:05 -08:00
Gleb Boushev
ad591a6686 adding sleep to wait for pod to come up 2021-01-21 12:14:12 +03:00
Gleb Boushev
951443a83e reverting nightlies changes 2021-01-21 11:52:13 +03:00
Gleb Boushev
2464ef9819 trying to make kubectl cp work
...

using sed to remove pod/ from the variable

fixed

copy seems to be working

trying to make test failed

revert nightlies
2021-01-21 11:32:17 +03:00
Ben Greear
804a2b5351 ap-ssh: Fix query for ssid state and config. 2021-01-20 13:07:05 -08:00
Gleb Boushev
ecf37453c0 junit report testing
removing ap test, just to speed up report generation

attempting to fix test copy issues

more speedup

continue testing

fix

testo

fixing
2021-01-20 19:59:22 +03:00
Max Brenner
3603bc1581 add workflow for checking Jira issue key 2021-01-20 17:54:28 +01:00
Gleb Boushev
b9a4894fb6 dockerfile for pytest 2021-01-20 16:17:57 +03:00
Gleb Boushev
59d2c8ff72 pytest initial commit 2021-01-20 16:16:17 +03:00
Ben Greear
25fe94a28c unit-test: Poll for AP profile push every 10 seconds
And continue when it is pushed, don't just sleep for 3
minutes and then check.
2021-01-19 16:29:18 -08:00
Ben Greear
1847bf20dd ap-ssh: Fix some ap query commands. 2021-01-19 16:28:57 -08:00
Ben Greear
c9c7ba2ce2 Remove ap and radius template.
On-disk templates are less scalable than querying the cloud for it's
default profiles.
2021-01-19 16:10:35 -08:00
Ben Greear
27b67a3741 unit: Fix unit test, use default profile instead of disk template. 2021-01-19 16:09:35 -08:00
Ben Greear
1301cbffc3 unit: Let user specify default AP profile to use when creating new ones.
And don't try to use a radius profile if we cannot create one.  An invalid
radius ID won't let us create an AP profile at all.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-19 15:49:02 -08:00
Ben Greear
4b62fe41f0 nightly: Work on ssid and profile creation.
Try to use default AP profile as pattern, still fails to create the profile
though.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-19 15:05:44 -08:00
Ben Greear
8174b91cbb query-sdk: Support sending delete-profile command.
cloud-sdk returns 500 (internal error), so not sure if this is
correct or not.
2021-01-19 13:08:32 -08:00
Ben Greear
d2fc351e49 query-ap: Add example command line to run 'ifconfig -a' 2021-01-19 11:54:17 -08:00