Commit Graph

68 Commits

Author SHA1 Message Date
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
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
shivam
d9720a79e5 merge conflict issue equipment id issue 2021-02-09 21:36:44 +05:30
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
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
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
31ecc4c76a Added a directory for keeping handy tools 2021-02-02 12:49:12 -05:00