Commit Graph

360 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
2efbc62842 Revert "Update py_json files to be compatible with pip standards"
This reverts commit 0be47c82de.
2021-09-09 05:32:31 -06:00
Chuck SmileyRekiere
8e9909f2d0 Revert "Revert "Update py_json files to be compatible with pip standards""
This reverts commit 6b0322cafa.
2021-09-09 05:28:17 -06:00
Chuck SmileyRekiere
6b0322cafa Revert "Update py_json files to be compatible with pip standards"
This reverts commit 0be47c82de.
2021-09-09 05:24:20 -06:00
Matthew Stidham
0be47c82de Update py_json files to be compatible with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:54:45 -07:00
anjali
534b584b72 removing changes 2021-07-03 00:18:19 +05:30
anjali
130dac16eb Add option to pass resource number eg for resource 2 [1.2.sta00] 2021-07-02 23:19:46 +05:30
anjali
ded93a3d33 Add option to pass resource number eg for resource 2 [1.2.sta00] 2021-07-02 23:02:07 +05:30
anjali
0583b57fb4 added attenuator library in realm.py 2021-05-28 21:32:59 +05:30
Matthew Stidham
e25c13e826 Create dut_to_grafana and fixing dependencies
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-06 17:14:16 -07:00
Chuck SmileyRekiere
a8fcc7b14b README.md : description for py-json scripts
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-13 17:55:59 -06:00
Ben Greear
3c171bc260 cv-capacity: Re-work user input a bit.
*  Use realm method to query for all stations instead
of matching by name (which would miss wlan* devices)

*  Support interleave and linear sorting options.

*  Support setting upload/download speed.

*  Use args.foo variables directly much of the time,
  instead of making local copies of the same info.
  This simplifies code in my mind.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-13 15:23:35 -07:00
Ben Greear
6919045bbc l3-longevity: Write out per-port csv files.
And a small bit of code cleanup in the realm class.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 15:17:07 -07:00
Ben Greear
70ee8972a0 l3-longevity: Support setting attenuators
User can specify comma separated list of attenuator EIDS
(shelf.resource.atten-id.atten-idx) and a list of attenuation
values and the script will iterate through those.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 16:09:18 -07:00
lanforge
d486854a6e add new_lf_data_collection to realm
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 10:40:10 -07:00
Matthew Stidham
3cc6bf099a Remove halt_on_error from realm
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 14:28:11 -07:00
Matthew Stidham
768e3ec2cb Fix typo
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-16 14:40:57 -07:00
Matthew Stidham
dc938a9603 Fixed create_qvlan.py script
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-16 14:33:51 -07:00
Jed Reynolds
61241b5d88 realm.py: whitespace
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Jed Reynolds
b414512f9d realm.py: adds proxy method for wait_until_ports_disappear
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Matthew Stidham
c571bbf09e Merge remote-tracking branch 'origin/master' into diptiBranch-solidifyingV1
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-08 15:46:32 -08:00
Dipti
549cbfdb5e organized imports in realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 23:45:02 -08:00
Dipti
1b87a6926b v1 classes are taken out of realm.py, into their own files
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 23:39:07 -08:00
Dipti
36f59bcf5e import fix
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 18:34:21 -08:00
Dipti
c3c503d3ca removal of classes from realm, removal of port_utils
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 18:20:31 -08:00
Logan Lipke
9b0dda2c1b wait_for_ip: changed stas_with_ips to dict, allowed for ipv4 and ipv6 2021-03-05 17:18:58 -08:00
Jed Reynolds
0078234ead realm.py: adds guard against None in rm_port()
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 16:06:41 -08:00
Jed Reynolds
01e9167bd8 realm.py: updates factory method new_vr_profile, defaults to ver=2, uses version numbered module
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 00:35:15 -08:00
Matthew Stidham
413232eb26 import l3_cxprofile2 to realm
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 13:03:55 -08:00
Matthew Stidham
3b9511d674 Import L3CXProfile into realm so that we prevent breakage with clients scripts.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 12:40:20 -08:00
Logan Lipke
9e42a81221 wait_for_ip: changed default timeout to 360 seconds, timeout can be set to -1 to determine timeout using mean association time, added check for ipv4/ipv6 only 2021-03-03 16:30:30 -08:00
Dipti
37b44441a6 delete base_profile from realm.py, add updated logg function from logg in base_profile in realm.py to base_profile.py file
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-03 00:47:09 -08:00
Dipti
bf5dbb841a pushing lfdata from dipti-branch, adding version number for all new_x_profile in realm.py, version number in test_vt_2
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-03 00:32:26 -08:00
Dipti
016c05b708 adddition of l3cx_profile2, testbase, vt_2
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 20:12:44 -08:00
Dipti
209b88f682 imports added for L3CXProfile2
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 20:06:00 -08:00
Jed Reynolds
208e99aa9f realm.py: fix vr_profile import, todo on lint warning about undeclared variable, fixes lint warning on static method
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:15:58 -08:00
Jed Reynolds
2a27a70489 realm.py: should not need self.halt_on_error because that's what self.exit_on_error is for
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Dipti
4bcddb1c8d import fix
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 13:06:47 -08:00
Dipti
362b6f8a07 fixing mistake. adding L4CXProfile
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 13:02:54 -08:00
Jed Reynolds
97141b2229 realm.py: adds arguments to logg to display structure
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Dipti
2f102bab82 fixing imports on both files
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-01 14:55:22 -08:00
Dipti
00cf3c827c l3_cxprofile taken out of realm, version number put into realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-01 14:38:41 -08:00
Dipti
ba440709fa test class no longer needs self.host,client,url
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-23 12:56:30 -08:00
Matthew Stidham
0aaa22705e Fix realm layer 4 monitor function by removing DataFrame error from previous test
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-02-22 16:54:30 -08:00
Dipti
87210c1cb7 changed logic for var_time, improved error message for incorrect monitor_interval input
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-20 14:35:24 -08:00
Dipti
877ec79f7f deleted dupe init code in realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-19 11:12:45 -08:00
Chuck SmileyRekiere
f3d0848c5c Revert "creation of lfdata.py, import of lfdata.py"
This reverts commit 009b6110a1.
2021-02-19 09:10:10 -07:00
Dipti
009b6110a1 creation of lfdata.py, import of lfdata.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-19 02:45:01 -08:00
Dipti
84760e6959 added imports to only when they are used (small imports), dataframe comparison underway
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-18 10:24:55 -08:00
Dipti
b1ebef8f19 added total_seconds function to calculate total seconds since epoch, test_time_elapsed column to help with dataframe comparison
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-17 12:47:45 -08:00
Dipti
9db0c32b38 df to file fully implemented and working
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-17 01:36:24 -08:00