Commit Graph

57 Commits

Author SHA1 Message Date
Haricharan Jaka
2cb414b878 Wifi 7858 (#518)
* Crated a new file for FMS related testcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed Fms system ifo test case from gateway service file

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Location related test cases of Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Location related functions for support

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the function name

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the allure attachment names on edit functions

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-10 22:28:38 +05:30
Haricharan Jaka
07c6e4d78a Wifi 7859 (#516)
* Added Contact Related testcases of Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Prov UI contact related test cases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Prov UI contact related function for support

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the test case function names

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-10 13:48:09 +05:30
shivam
0608b4aefa Added application/json in headers for controller apis
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-05-09 22:02:05 +05:30
Haricharan Jaka
2292601b95 Wifi 7836 (#506)
* Added Edit functionality for Prov Inventory and Entity in Controller library

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Edit functionality testcases in Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-04 15:15:37 +05:30
Haricharan Jaka
f7c117f9fd Added bulid_prov_url() in Contrller lib (#495)
Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-27 12:02:13 +05:30
Haricharan Jaka
b86b61db45 Wifi 7772 (#493)
* Added Entity library of Provision

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Entity Library support

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Entity Related testcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-26 18:50:10 +05:30
Haricharan Jaka
66a3978627 Added system_info() in controller class (#491)
Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-26 16:51:55 +05:30
Haricharan Jaka
837ba81d68 Added system info test case of Provision UI (#474)
* Added system info test case of Provision UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added url of Provision UI in allure

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Prov UI test cases for creating device in Inventory

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Repalced = with : in allure of Prov UI url

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed the test case name

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the payload parameters to match Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added configuration in Prov class

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed the class of ProvUtils

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added the prov UI api testcases for adding and deleting a device

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed the configuration file

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added prov ui fixture

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Prov UI controller object and fixture

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added prov controller obj

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the allure report name for some attchments

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-25 21:28:54 +05:30
Haricharan Jaka
d68aac5f7e Wifi 7617 (#470)
* Added Provision library in controller.py file

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Provision functions for system info

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Provision service file for Provision API tetcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Prov_api marker for testing

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-04-19 17:21:04 +05:30
jitendracandela
a0746ba876 Wifi 7435 (#439)
* removed dfs key and added radio config in rf

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* removed dfs logic

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* changed setup_params_general numbers

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-03-24 19:03:23 +05:30
shivam
1a10a2783f fixed the error due to rf data being None
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-14 23:18:29 +05:30
karthika
2d277bfeb7 Wifi 6938 (#404)
* Country code with channel division: 2Ghz,20Mhz, US and channel 1

* change in testcase execution

* created country_code-US, with channel_width-20Mhz, channel_no-1 for 2G band

* missed git_configuration param

* checking from setup_params_general 'rf' to set radio config

* added country_code_channel_division funtion

* added radio config using radio_config

* corrected allure report

* changed function name

* check allure report

* Added comment

* allure report corrected

* Created testcase for channel 2 in 2G band

* checking allure report

* added channel mode VHT in AP configuration which is common for both wifi-5 and wifi-6 AP, without channel-mode always getting channel mode HE

* checking allure report

* corrected json_get url

* testcase for channel-2 in 20Mhz, US, 2G

* corrected channel overwritten on second testcase

* testcases for channels from 3 to 13 with US, 20Mhz, 2G

* US have 2G channels from 1 to 11

* added print statement to verify IP and channel no

* Checking again if client not assigned with IP

* Testcases: US, 40Mhz, 2G, channels 1-11

* Testcases: US, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* removed wrong testcases

* Testcases: IN, (20Mhz, 40Mhz), 2G, channels 1-11

* Testcases: IN, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* Testcases: CA, 20Mhz,40Mhz, 2G,5G, channels (1-11) (36,44,52,60,100,108,132,140)

* Testcases: CA, 40Mhz, 5G, channels (36,44,52,60,100,108,132,140)

* Testcases: CA, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: IN, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: US, 5G, 80Mhz, channel (36, 52, 100, 132)

* Testcases: CA, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: IN, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Testcases: US, 20Mhz, 5G, channel (36,40,44,48,52,56,60, 64, 100, 104, 108, 112, 116,132, 136, 140, 144)

* Added rf config improvements

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Testcases: JP, 20Mhz, 40Mhz (2G+5G), 80Mhz (5G)

* Testcases: JP, 20Mhz, 40Mhz (2G+5G), 80Mhz (5G)

* Called json_post to change country of lanforge-radio

* Edited print message

* corrected cli command

* Testcases:GB(united kingdom) 20Mhz, 40Mhz, 80Mhz

* added cleanup to clear station before creating next station

* corrected radio-bands

* Added US country code to change lanforge-radio country

* Added IN country code to change lanforge-radio country

* corrected radio-bands

* Added US country code to change lanforge-radio country

Co-authored-by: shivam <shivam.thakur@candelatech.com>
Co-authored-by: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com>
2022-03-14 23:11:37 +05:30
Shivam Thakur
a0b4a32a9e Wifi 7226 query max clients from ap and run wifi capacity in that (#419)
* Added improvement around lf_tools add stations

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* removed ax stations in wifi capacity for a while

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* Added wifi_capacity in regular sanity tests and added nat mode wifi capacity in performance

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* removed get_vif_state from test cases

Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-05 14:16:52 +05:30
shivam
bc0dda62f1 fixed the json decoder error : True -> true
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-02 11:47:09 +05:30
Shivam Thakur
8f25d1b72e Added allow dfs option in radio config in 5G Band 2022-03-02 10:32:28 +05:30
shivam
285439f316 Added Timestamp while sending Configure Command
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-01-29 00:33:35 +05:30
Shivam Thakur
7afd776e5c Merge pull request #338 from Telecominfraproject/wifi-4857
Wifi 4857
2022-01-12 13:57:18 +05:30
Nikita Yadav
8fc7a1726b modification
Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>
2022-01-12 11:51:26 +05:30
Shivam Thakur
c2e2e7ff93 Merge pull request #345 from Telecominfraproject/WIFI-3079
Wifi 3079
2022-01-12 11:27:26 +05:30
Nikita Yadav
a44ed46641 added set mesh services method
Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>
2022-01-12 10:16:13 +05:30
jitendracandela
211211ba99 modified set_radio_config method
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-01-10 08:21:40 +05:30
Nikita Yadav
c746cc554b added tunnel to set mode
Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>
2022-01-09 15:47:01 +05:30
jitendracandela
f9927984e8 Added channel and bw for dfs in set_radio_config method
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2021-12-29 15:30:05 +05:30
Nikita Yadav
285a92db35 added mesh option in set mode 2021-12-25 14:22:29 +05:30
Saurabh Goyal
ae43498919 Merge branch 'master' into WIFI-6016 2021-12-14 10:30:06 +05:30
shivamcandela
2254a15ff7 Did improvements in imports and added device check in gateway
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-12-13 19:22:43 +05:30
sushant
fa147f1227 - added captive portal configuration in setup profiles as part of e2e
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2021-12-09 13:57:56 +05:30
Sushant Bawiskar
9f2d725c1a Merge branch 'master' into WIFI-4951 2021-12-02 16:44:59 +05:30
Shivam Thakur
3dcd274039 getting back to 80 MHz : kernel crash happening due to 160MHz 2021-10-31 11:47:08 +05:30
Shivam Thakur
78b23b4681 changing bandwidth to 160 MHz by default 2021-10-30 14:50:54 +08:00
Shivam Thakur
553396e4d1 firmware model lookup fix 2021-10-29 10:25:36 +05:30
sushant
909c4c73d8 - reduced testcase execution time
- refactored configuration

Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2021-10-26 16:24:10 +05:30
sushant
b4910948ac - e2e for expresswifi
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2021-10-21 01:25:48 +05:30
shivamcandela
974feebd75 WIFI-4932: Added test case for getting system info for fms and gw as a part of uc_sanity
Also, added the improvement: controller test can run independently of the AP

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-10-20 21:11:08 +05:30
shivamcandela
d65a1c9751 WIFI-4931: Added pytest exit if controller login fails and 'ubus call ucentral status' returns error
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-10-20 20:18:12 +05:30
Nikita Yadav
2c64933a33 making 5g back to 80 mhz 2021-10-04 14:52:50 +05:30
Nikita Yadav
7a8803ede3 changed channel bw from 20 to 40mhz 2021-10-04 14:36:05 +05:30
shivamcandela
ce02cea70c adjusted the framework for sdk version
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-29 01:28:42 +05:30
shivamcandela
44c3b4f7a5 modified the endpoint type naming
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-29 00:34:56 +05:30
Shivam Thakur
27f2c74762 fixed the fms upgrade issue
removed the  'invalid response code error'
2021-09-26 15:31:49 +05:30
shivamcandela
5b0543673c config setup verification improved
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-23 20:32:43 +05:30
Shivam Thakur
1b569f5447 Merge branch 'master' into WIFI-3680 2021-09-20 21:51:59 +05:30
shivamcandela
854ccb303b workflows removed the --skip-testrail, added the controller version as a part of environment
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-20 21:26:45 +05:30
shivamcandela
c807e32a96 Added FMS and GW Test cases as a part of sanity
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-19 15:15:31 +05:30
shivamcandela
b2655a79e6 ucentral config reported in json format
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-17 15:40:42 +05:30
shivamcandela
4b1653c89f testing the fms - debug patch
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-16 03:43:25 +05:30
Max
4d029335ac deploy cloud controller for uCentral sanity (#171) 2021-09-15 17:01:23 +02:00
shivamcandela
2d1aff55e6 wpa3 enterprise support in configuring ap
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-12 03:00:40 +05:30
shivamcandela
c68b9ebb33 fms input format changed
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-11 12:44:01 +05:30
shivamcandela
1e5043149d gw and fms endpoint if not available wait for 60 seconds and try again and exit if not available
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-06 17:48:57 +05:30