Commit Graph

3402 Commits

Author SHA1 Message Date
shivam
8ad8f94343 Merge branch 'pending' of https://github.com/Telecominfraproject/wlan-testing into pending 2021-02-22 13:32:14 +05:30
shivam
be1e17fc61 some improvements in profile creation logic
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-02-22 13:31:59 +05:30
Ben Greear
09dbe5b454 cloudsdk: Fix typo.
Brain was coding in some other language...

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-19 13:17:46 -08:00
jaspreetsachdev
c2ee55aa6a Feature/wifi 1592 (#21)
* Updated testbeds
2021-02-19 18:19:58 +03:00
Jaspreet Sachdev
b3a683281f Merge branch 'master' of github.com:Telecominfraproject/wlan-testing into feature/WIFI-1592 2021-02-19 10:18:22 -05:00
Gleb Boushev
1db5764302 WIFI-1576 Update README.md (#20)
* Update README.md
2021-02-19 18:18:16 +03:00
shivam
3251c1bbaf Merge branch 'pending' of https://github.com/Telecominfraproject/wlan-testing into pending 2021-02-19 20:16:14 +05:30
shivam
14141e8871 ssid profile push bugs update
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-02-19 20:16:01 +05:30
Ben Greear
c0a53fb1bf Update notes for nola-15 testbed.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-18 13:28:45 -08:00
Jaspreet Sachdev
00ffc1b97c Updated all clusters to 17th 2021-02-18 15:15:48 -05:00
Ben Greear
edc6830b3d cloudsdk: Add try/catch debugging around fw update error.
At least some of the time this code throws exception, add some
logging.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-18 09:43:57 -08:00
Ben Greear
8305de5644 nightly: Fix typo bug in radius logic.
Probably more is needed, next run I disabled radius again...

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-17 16:07:26 -08:00
Jaspreet Sachdev
3fd2e4da07 ext 02 2021-02-17 14:33:17 -05:00
Ben Greear
d9ec4ddcae nightly: Fix library API.
And update usage notes.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-17 11:20:38 -08:00
Jaspreet Sachdev
8ad189bf5c Creating ext-02 2021-02-17 14:06:33 -05:00
Jaspreet Sachdev
14731212ff Updated to Feb 15th 2021-02-16 15:15:03 -05:00
Jaspreet Sachdev
f899ce3eeb Creating a new instance 2021-02-16 14:51:41 -05:00
shivam
015ba8b492 Removed some extra prints
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-02-17 01:09:45 +05:30
shivam
ed04604545 Merge branch 'pending' of https://github.com/Telecominfraproject/wlan-testing into pending 2021-02-17 01:07:13 +05:30
shivam
865c5408e1 Radius and EAP Profile are working now
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2021-02-17 01:07:01 +05:30
Ben Greear
4a25cad2d8 Update example usage notes. 2021-02-15 17:01:47 -08:00
Ben Greear
aa7e2dbc31 sdk-upgrade: Fix to work against latest library method.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-15 14:45:37 -08:00
shivam
2f1db3bb19 added examples on NOLA-01 with latest sdk base url, and some cloudsdk fix 2021-02-15 23:18:32 +05:30
Gleb Boushev
68b718216a Feature/wifi 1350 build fix (#19)
new build fix
2021-02-15 19:25:59 +03:00
Gleb Boushev
5d5210dffb Merge pull request #18 from Telecominfraproject/4c74356b41-patch-1
wifi-1350 Create cloud-controller-build.yaml
2021-02-15 19:12:59 +03:00
Gleb Boushev
cd9f0d785a Create cloud-controller-build.yaml 2021-02-15 19:07:28 +03:00
shivam
199d7b86dc removed file IO for radius 2021-02-15 00:52:00 +05:30
shivam
4bb2e2a71a Radius and EAP Clients are working from sdk_set_profile.py 2021-02-12 16:14:13 +05:30
Ben Greear
e8389ca569 consolidate examples files. 2021-02-11 16:33:43 -08:00
Ben Greear
74cca6bdc0 pytest: Move files into /tests/
Code will need changing next, this is pure rename.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-11 16:20:54 -08:00
Ben Greear
06fbba1aad pytest: Clean up some tools vs pytest breakage in that last commit.
Seems you cannot have two __init__ methods in a class, so change
code to only one one variant.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-11 16:18:07 -08:00
Ben Greear
98b0078336 pytest: Make cmd-line args match what the stand-alone tools were using.
And create cmd-line-args based on pytest input so we can pass it into
the library guts.
2021-02-11 15:44:50 -08:00
Ben Greear
55d9e99978 pytest: Start integrating with existing libraries.
This is going to take more work, but getting somewhat closer.

Stop using pytest/helpers, they are replaced by libraries.

Existing libraries are often taking a command-line-args option
as easy way to pass something to various methods.  This will
have to be resolved to work with the way pytest wants to
run.

Much hard-coding needs to be removed, and specifically,
the 'set profile' logic is completley  not working.

Need to use library logic that can query the eq-id based
on name (and query eq-name based on serial port/ssh, perhaps).

Need to resolve how cmd-line can take multiple APs, but
each will have different eq-id.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-11 13:18:38 -08:00
Ben Greear
2ea71662c3 cloud: Add framework to modify rf profile.
But not tested or enabled at this point.  Evidently bugs
in cloud keep it from working if you change the mode, for instance.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-10 13:50:20 -08:00
shivam
30ae4f57a1 Fixed merge conflicts 2021-02-11 02:39:54 +05:30
shivam
05ee084133 bridge and nat profile working fine in sdk_set_profile 2021-02-11 02:14:58 +05:30
Ben Greear
d691f84e77 examples: Add testbed 12 example usage for fw update and profile creation.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-10 12:40:26 -08:00
Ben Greear
a734432fc9 cloudsdk: better handle when test cases are not configured.
For instance when using helper tools to call into the querysdk
logic, when test cases are not relavent.

Fix sdk upgrade tool to use latest API.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-10 12:07:27 -08:00
Ben Greear
ae80bc92a5 cloudsdk: Support 'ping' api, add to debug scripts.
Easy way to find out what cloud version we are running.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-10 11:33:10 -08:00
Ben Greear
3b9606d83e nightly: Nightly works again, at least somewhat.
Prefix ssids and profile names with testbed so that we won't
have collisions when running multiple testbeds against the same
cloud.

Fix query-ap, API changes since merge..

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-09 16:14:42 -08:00
Ben Greear
9c8e74b2ff cloudsdk: Fix bad search-and-replace regarding creating ssid.
Looks like another problem with the merge, "name" should be "bridge"
in many places.  Can create ssids and bridge profile again.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-09 15:22:11 -08:00
Ben Greear
7cabeb5c25 cloudsdk: Fix ssid profile creation.
There was typos/bugs in choosing the bridge vs NAT
setting.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-09 13:54:21 -08:00
Ben Greear
f438462cd7 examples: Add example for setting ssid on NOLA-01 testbed.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-09 13:45:15 -08:00
Ben Greear
f46fd3b325 sdk-set-profile: Update to work with latest library
And fix a few uses of 'test_cases' in cloudsdk library.
2021-02-09 13:42:04 -08:00
Ben Greear
65ed7ff6de query-sdk: Fix API for latest merge.
Need to add a logging variable when creating base class.

Improve error code logging from cloud API.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-09 12:25:54 -08:00
Ben Greear
470e85eb52 Merge pull request #15 from Telecominfraproject/staging-wifi-1351
Staging wifi 1351
2021-02-09 08:17:22 -08:00
shivam
d9720a79e5 merge conflict issue equipment id issue 2021-02-09 21:36:44 +05:30
shivam
8e92e5b54f bash script updates 2021-02-09 21:06:52 +05:30
shivam
d82858bf4c Refactoring : Nightly working bridge mode and nat mode working, Libraries are refactored too 2021-02-09 17:23:24 +05:30
Shivam Thakur
5ba7248015 Merge pull request #14 from Telecominfraproject/feature/WIFI-1325 2021-02-09 07:04:05 +05:30