141 Commits

Author SHA1 Message Date
Tarun
05391fade5 WIFI-10604 has the client-isolation feature. (#713)
* client isolation base testcases added

* client_isolation test-cases added

* added all client-isolation test_cases

* final changes done for client-isolation test_cases

* removed comment lines & print statements

* changed lf_test.py, fixtures_2x.py, controller_2x/controller.py files for isolation-config setup

* added layer3-cleanup for all test-cases

* added l3_cleanup method to lf_tests file

* added allure attachments for all test cases

* fix- logic realted changes applied and class level markers added.

* Added allure attachment for test result

* fixed some changes

* changed station name list for one suite

* increased time.sleep to 45 sec after layer-3 traffic ran for one suite only

* changes done in two suits for allure-Text_body information

* Added Test_result in allure report in a table formate.

* review changes done in controller.py and fixture_2x.py

Co-authored-by: anil-tegala <anil.tegala@candelatech.com>
2022-11-03 13:49:27 +05:30
Anil Kumar Tegala
1e89166b69 serialNumber added to GET commands API in GWservice (#705) 2022-10-04 01:48:39 +05:30
Haricharan Jaka
6d8139e6b5 Wifi 9236 (#605)
* Changed the structure of Prov UI API's and Added new API's of Prov

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

* Added map, operators, service class and Config support functions

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

* Added Prov UI API Usecase testcase

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

* Changed the format of Provision service API functions

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

* Added new PROV API testcases

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

* Made some changes in Allure reporting of Prov API's testcases

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

* Changed Allure reporting

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

* Refactored name of API service files

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-07-20 10:55:26 +05:30
jitendracandela
d4451850f0 Removed unwanted slash of firmwares (#666)
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-06-30 12:36:56 +05:30
Shivam Thakur
25657efa45 Wifi 9990 automation side gateway testcases sdk client attribution error (#658)
* WIFI-9990: Fixed the sdk client error

Improved the reporting in allure
Improved the logging

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

* WIFI-9990: Fixed the configure command logging

Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-06-29 12:10:11 +05:30
Shivam Thakur
1b5fe2d316 WIFI-9990: Fixed the sdk client error (#657)
Improved the reporting in allure
Improved the logging

Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-06-29 11:52:16 +05:30
shivam
412f0261b3 Added sdk print and allure logs
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-06-29 00:02:46 +05:30
Shivam Thakur
e667bf7712 WIFI-9958 : Added a marker for ow_sdk_load_tests for sdk tests (#649)
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-06-27 23:08:26 +05:30
Haricharan Jaka
14777c79e6 Removed slash at the end of Get API calls (#646)
Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-06-26 10:38:10 +05:30
Dmitry Dunaev
878fda3647 [WIFI-9828] Chg: adapt lib for controller to ommit system trailing slash (#645)
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
2022-06-26 10:07:02 +05:30
Shivam Thakur
7d67b7be99 Delete cert.pem 2022-06-09 08:59:57 +05:30
yadavnikita
6bc8d9edbe Wifi 8295 (#533)
* adding dependencies bash file

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cc.1 option and fixture version

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added controller 3x files

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* calling controller logic

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added more functions

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cc.1 functionality to different fixtures

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cc.1  fixture to setup_profile

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* cc.1 fixture

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lanforge scripts

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* test function

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added realtive path and more function to controller access

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* testcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added wpa2 functionality

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* get slot id and ssid name

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* made change to add_env_properties

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added fixture line in setup_profiles

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added fixture line in setup_profiles

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added accurate way of creating wlan

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added controller log option

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added 2g options

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cc option to add tations

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cc option to add tations

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cc option

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cc option

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* adding lanforge changes

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* create non mesh dut

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* cal bssid 2g and 5g method

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* edited get ap config slot and controller log

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* adddd tst2g and test5g testcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added modification to fixture3x

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* testbed info

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added everything

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove laforge scripts

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* sync lanforge-scripts

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* comment out multi test

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* changed class name

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove roam directory

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* optimized code by calling basic_roam function from lftest

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* checking bssids after creating wlan

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added time calculation, rssi and cx-time reporting

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* created layer3

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* changed station name

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added rx packets

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* increased wait time

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* chaged logic for calculating 5g and 2g bssid also added 11r_log method

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* aadded create_n_client,json_get,create_l3x,get_cx,get_l3_values,attachfile,basic_roam,multi_roam methods

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* adde lf_report() fixture

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added test basic roam 5g

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added roam setup

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added report library

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added multi_roam

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added dtim function

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added start sniffer stop sniff and query data

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* made it generic to support dtim and 11r

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added logic code for hard roam and query sniff

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added multi hard roam

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* uncommenting

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added cisco-lab-02

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added ft over ds config

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added ftotd_psk method

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added something

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added classsification of tests

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* modified multi_hard_roam

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* iteration, client and roaming delay created

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* hard roam 5g method

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* hard roam 2g method

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added 0db0 ap info to testbed-02

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* added 6e option and commentes while loop

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* enable_ft_sae

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* duration for roam

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* duration in 5g function

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* sae option

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* otd 5g test case

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* ota 6g testcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* Fixed the path for import

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

* controller.py: enable_ft_dot1x_wpa3, set_channel_width, set_channel

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* dot1x 6g testcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* updated lab_info

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* updated channel width and channel

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* updated hard roam

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* 2g 5g and 6g testcases in one file

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* string var in duration

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* 802.1x in multi hard roam

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* removing 5g testcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* removing 6g testcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* report.py: table using pandas

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lf_test.py: added function of hard roam

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* hard roam using lanforge test function testcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* add dut name to hard roam function

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* add dut name to hard roam 5g

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* controller.py: enable_ft_dot1x_sha256_wpa3

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lf_test.py: added pass fail

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lf_test.py: twog radio added to hard roam class

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* test_roam_ota.py: 2g, 5g, 6g testcase modified

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* fixtures_3x.py: ft-dot1x-sha256 feature added

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lab_info.json: lab info updtaed

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* reports: remove report directory

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* controller.py:show_wireless_client_sum

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lf_hard_roam: modified

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* disble enable all bands fixtures

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lf_report to cc_1

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* ota test case

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* mdification

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lf_tests: identity and pass

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* conftest: varg

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* testcase correction

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* lab file

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* controller.py: enable_ft_dot1x_sha256_wpa3 enable radius

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* radius info

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* deleted all unused functions

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* modification to tetcase

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* radius data missing

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove example.py

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove lanforge reports

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* updated lab json

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove lanforge_log_0.txt

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove lanforge_log_1.txt

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove report.py

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* use pull_report

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* make it as master

* remove cc dp

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove unwanted thing

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* remove unwanted things

Signed-off-by: Nikita Yadav <nikita.yadav@candelatech.com>

* Added pdfkit,matplotlib

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

* Resolved the key error

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

Co-authored-by: shivam <shivam.thakur@candelatech.com>
Co-authored-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-06-08 17:45:15 +05:30
Haricharan Jaka
79a84d4f6d Wifi 8048 (#572)
* Changed response to json

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

* Changed response to json for test_firmware_upgrade_status_gateway and test_access_points_connectivity functions in get_device_by_serial number

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-25 15:32:14 +05:30
Haricharan Jaka
05719bebb2 Wifi 8009 (#556)
* Added get Rtty function in controller Lib

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

* Added get RTTY test case from gateway API's

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

* Added Edit device in gateway test case

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

* Added Edit device in gateway test case

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

* Rectified Post to Put in function of edit

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

* Changed name of testcase

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-23 15:17:42 +05:30
Haricharan Jaka
2cfbd8ad82 Wifi 7982 (#555)
* Added Post API functions in controller Lib

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

* Added Post API gateway Test cases

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

* Changed Allure attachment name for Post testcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-20 14:36:03 +05:30
Haricharan Jaka
3b638a141e Wifi 7991 (#553)
* Added Ap reboot and factory reset API test cases

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

* Added Ap reboot and factory reset API functions in controller lib

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

* Added new sanity marker

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

* Added allure attachments

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-20 10:03:48 +05:30
Shivam Thakur
516358d1b5 Wifi 7868 restructuring sanity suite to cover golden coverage of suites (#529)
* WIFI-7868: Added ow_sanity_lf suite for sanity restructuring

Added client connectivity tests under the ow_sanity_lf

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

* [WIFI-7869] Fix: regression testing AWS variables placement

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* [WIFI-7779] Add: helm deploy support for mailer envs (#517)

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Also pin kubectl version when destroying namespace

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* [WIFI-7604] Add workflows to test deployment upgrade paths (#471)

* Create and switch to composite action for Docker Compose in Kubernetes deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add missing inputs to composite action

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add input for hashed password and adapt variable names

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix input variable names

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add Docker Compose upgrade test workflow

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Get deploy script according to deployment_version input

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Hard-code branch for testing

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Re-add RTTY_TOKEN for testing previous release upgrades

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* [WIFI-7697] Move deploy related files from wlan-testing to wlan-cloud-ucentral-deploy (#472)

* Change composite actions and workflows to use wlan-cloud-ucentral-deploy repo

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Checkout target branch matching with deployment version

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Remove working-directory option

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Rename image version variables to enable search and replace in deploy script

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Remove defaults from action inputs

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Try removing owsub and owanalytics ports for 2.4 deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Actually remove ports since commenting out doesn't work

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* [WIFI-7766] Switch Docker Compose testing workflow to deployment on EC2 (#499)

* Switch from Kubernetes pod to EC2 instance deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix indentation

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add VPC subnet ID to use existing security group

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Move env variable definition to executed SSH command

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Remove defaults from inputs to avoid overwriting deployment_version

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix variable syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add my own SSH key for debugging

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Revert "Add my own SSH key for debugging"

This reverts commit e4a9fee140.

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Increase AWS instance size

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Update package lists before installing

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add curl insecure option and append self-signed REST API cert to AP cert trust store

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Pass FLAGS variable to clustersysteminfo Docker container

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Switch to github.run_number for uniqueness

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Start Docker manually on instance

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Install Docker using the repository

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Do not destroy created instances for debugging

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Quote selfsigned_restapi_ca

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Split SSH commands into multiple lines for better readability

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix typo

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Revert "Split SSH commands into multiple lines for better readability"

This reverts commit c08ec026cfe3915e36cef3215226b41dd0319ed8.

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Revert "Fix syntax"

This reverts commit f408cfd19f5cf01d6b1d1f78c930897f9442c7de.

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add debugging output for REST API CA cert

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add: RTTY_TOKEN env for older versions support

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Download self-signed REST API CA cert directly to virtual AP

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Switch to self-signed certs

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix variable name

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix step name

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Change hostname and use sudo to add hosts entry

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Actually add IP to hosts entry

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix missing hostname in AP hosts entry

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Adapt Docker Compose upgrade workflow to EC2 instance deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Configure Docker to log to logstash input

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix Docker daemon config

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add missing EOF

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix indentation

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Try to fix syntax again

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Use different delimiter

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix conflict after rebase

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix workflow syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Disable StrictHostKeyChecking in workflow

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

Co-authored-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Remove obsolete inputs and add RTTY_TOKEN to other workflows as well

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix value file names

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* 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>

* WIFI-7868: Added multivlan scenarios in ow_sanity and removed Some of the rate limiting as they take a long time to complete

Added few up, dw, up+dw in rate limit for ow_sanity_lf

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

* WIFI-7868 : Added dvlan and rate limit from radius in sanity suite and reduced the rate limiting tests as they are taking alot of time

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

* WIFI-7868 Adding some marker improvements to reduce number of test cases and increase coverage

optimised rate limiting, added dvlan, added rate limit with radius

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

Co-authored-by: Dmitry Dunaev <dmitry@opsfleet.com>
Co-authored-by: Dmitry Dunaev <83591011+dunaev-opsfleet@users.noreply.github.com>
Co-authored-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
Co-authored-by: Haricharan Jaka <87761091+haricharan-jaka@users.noreply.github.com>
2022-05-17 01:32:12 +05:30
Haricharan Jaka
2d70d362fa WIFI-7950 Added config test load script (#528) 2022-05-15 10:29:36 +05:30
Haricharan Jaka
521a17ff92 Wifi 7883 (#521)
* Added gateway related get library support functions

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

* Added Get gateway related API test cases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-12 12:30:26 +05:30
Haricharan Jaka
0d000de9fd Wifi 7878 (#520)
* Added and updated gateway functions in controller library

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

* Updated gateway service testcases based on Independent gateway functions

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-11 15:50:15 +05:30
Haricharan Jaka
b3ed702ea9 Wifi 7857 (#519)
* Added Venue related library support

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

* Added Venue related test cases of Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-11 12:30:09 +05:30
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