anil-tegala
4e6138365b
prefix param added for l3cxprofile
...
Signed-off-by: anil-tegala <anil.tegala@candelatech.com >
2023-04-26 13:38:23 +05:30
Scott Wedge
ce10967ac5
l3_cxprofile.py: create monitor parameter for lf_test_max_association.py json get
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:46:33 +05:30
Scott Wedge
e20ac33709
l3_cxprofile.py: account for empty lists
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:46:32 +05:30
Sushant Bawiskar
b90151f42c
- added function in l3_cxprofile.py to avoid disturbing other monitors
...
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com >
2022-07-12 15:46:31 +05:30
Chuck SmileyRekiere
c6a8627240
l3_cxprofile.py : added quiesce_cx option to allow the cx to drain then stop
...
realm.py : added drain_stop_cx (could not get quiesce_cx name to work)
test_l3.py : added quiesce_cx
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f0fdc40cca
l3_cxprofile.py : moved logger debug back behind if debug or if self.debug
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:45 +05:30
Chuck SmileyRekiere
2164d5fc16
l3_cxprofile.py : updated to use logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:45 +05:30
Ben Greear
d697963cec
create-cx: Add return code checking for cx and endp creation.
...
Check for false value in create_l3_stations and return error code
upon failure.
Add configurable timeout to waiting for cx/endp logic.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:45 +05:30
Matthew Stidham
c950789af6
l3_cxprofile: Declare the beginning of l3_cxprofile.create when it starts when debug is turned on
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:33 +05:30
Chuck SmileyRekiere
721ab3c510
l3_cxprofile.py : handle case were beacon avg signal not present as a key
...
port_probe.py if MHz not in probe set to 20Mhz, this may need to change
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-12-08 11:03:29 -07:00
Matthew Stidham
2141ce103e
l3_cxprofile: Improve is not None logic, it's redundant
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-12-06 16:56:21 -08:00
Matthew Stidham
5d4dabee80
l3_cxprofile: Replace BaseException with more explicit logic
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-12-06 16:56:21 -08:00
Matthew Stidham
374f4cb0e9
l3_cxprofile: Fix redundant parentheses
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-12-06 16:56:21 -08:00
Matthew Stidham
695fa8b9b1
l3_cxprofile: No need to make it self.data
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-12-06 16:56:21 -08:00
Matthew Stidham
7f7d759db9
l3_cxprofile: Use static method when we can
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-12-06 16:56:21 -08:00
Matthew Stidham
d549bfccdc
More solid pandas call so we don't get an error
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-15 10:11:33 -08:00
Chuck SmileyRekiere
1aa792930a
One Interface support to work with
...
inconsistent list construction between single and multiple elements
decided around May 23, 2018
Updates for probe with AX210 , AX200 wiphy
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-13 06:36:29 -07:00
Matthew Stidham
9963b32ba9
Set default min_bps in l3cxprofile in order to make it easier to use in command line.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 11:58:11 -07:00
Chuck SmileyRekiere
12c8985424
l3_cxprofile.py append 'alias' soon to the columns
...
test_ip_variable_time.py update example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-02 07:52:55 -06:00
Chuck SmileyRekiere
623f3790b9
l3_cxprofile.py white space clean up
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 15:56:30 -06:00
Chuck SmileyRekiere
c15d0cbf0a
l3_cxprofile.py changed to is None were used == , updated exceptions
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 15:41:47 -06:00
Chuck SmileyRekiere
0fe949e5f7
l3_cxprofile.py : updated column for GI
...
port_probe.py : report the GI (Guard Index) for reporting
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 15:27:12 -06:00
Chuck SmileyRekiere
a31be6c835
l3_cxprofile.py : added gi and caclulated mbps
...
port_probe.py : determining GI and calculated mbps
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 14:10:19 -06:00
Chuck SmileyRekiere
3e7908a623
l3_cxprofile.py : commented out HE status for now.
...
port_porbe.py : with 6Mb legacy frame
do not set the rx_nss and rx_mhz to zero to allow for
the reporting columns to be blank
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 10:58:56 -06:00
Chuck SmileyRekiere
017043b7e1
l3_cxprofile.py : updated columns for rx GI
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 10:24:57 -06:00
Chuck SmileyRekiere
1787929e37
l3_cxprofile.py : column title updated for Guard Index GI
...
port_probe.py : update for various porbe syntax for the rx and tx bitrate
in getting MHz values for bandwidth
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 10:21:48 -06:00
Chuck SmileyRekiere
eb3b831f8b
port_probe.py updated for MCS values greater then 7
...
l3_csprofile.py removed the guard interval column for now
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 08:04:27 -06:00
Chuck SmileyRekiere
55ad888bb1
l3_cxprofile.py : alias code, added put in exception of the number of
...
expected stations does not match the number of stations present.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-27 07:19:55 -06:00
Chuck SmileyRekiere
a1218e82ec
l3_cxprovile.py, port_probe.py : updates for rx side
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-26 17:20:16 -06:00
Chuck SmileyRekiere
563d44e39e
l3_cxprofile.py : added the calculated TX
...
port_probe.py : added the calculated TX
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-10-26 15:46:50 -06:00
Matthew Stidham
c996c90845
Update port_probe and files which depend on it. Add vht and ht calculators
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-19 10:36:24 -07:00
Matthew Stidham
2f4dfaea14
Create port_probe.py and update l3_cxprofile and test_ip_variable_time so that they can use port_probe.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-14 13:47:37 -07:00
Matthew Stidham
7915ea197f
Layer 3 columns can now monitor port mgr table in real time
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-10-13 16:07:36 -07:00
Chuck SmileyRekiere
055b1a9b0a
l3_cxprofile.py , multicast_profile.py : updated pprint.pprint
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-09-30 15:11:58 -06:00
Matthew Stidham
e6cf6b9337
1. Create pandas_extensions.py
...
2. Remove unused imports
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-09-21 11:11:04 -07:00
Matthew Stidham
36400e003d
Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c
Updates to import statements:
...
- Import importlib, os, and sys to each python script.
- Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
- All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
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
shivamcandela
a24fef3a13
Updates : printing endpoint data on console
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 14:21:41 +05:30
shivamcandela
af38037016
more fixes related to l3cx profile
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 12:38:41 +05:30
shivamcandela
43477b0e60
layer3 profile fixes
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 12:33:31 +05:30
shivamcandela
70aa8a0f07
layer 3 cx prints data on console in l3cx profile
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 09:43:34 +05:30
Ben Greear
ba4212fff6
l3-longevity: Report avg latency for endpoints on a particular port.
...
Use endpoint EID to match Port EID so we can know which ports
endpoints belong to.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-09 17:12:06 -07:00
Ben Greear
f5871607af
l3-profile: Fix clearing lists.
...
Forgot a self. prefix for variable, so it didn't actually do anything.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-09 11:55:57 -07:00
Ben Greear
84d6674cd4
l3-longevity: Support multiconn setting.
...
Add support to l3profile as well.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-09 11:30:28 -07:00
Ben Greear
2d79dcb038
l3-longevity: Support tx/rx rates as totals or per-connection.
...
When using totals, the per-cx will be configured for its share
of the total.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-08 16:56:33 -07:00
Ben Greear
54f2fe70af
l3-longevity: Start supporting tx/rx rate/pdu configuration.
...
This is start of work to support Comcast's request and to make this more
general purpose traffic-test script.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-07 14:44:07 -07:00