Commit Graph

43 Commits

Author SHA1 Message Date
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
Matthew Stidham
67fc65486e do not extend column names if port_MGR_COLS
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:30:22 -07:00
Matthew Stidham
cf593ed4f4 Improved Port manager monitoring functionality
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:28:03 -07:00
Matthew Stidham
8f0ebf3637 Simpler csv writing application and pushing system information to a text file
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:17:04 -07:00
Dipti
d3c9b9d763 fixing import order. this fixes broken code
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-07 22:49:22 -08:00
Dipti
ff8553f548 inheritance of L3CXProf v1 is back to LFClibase
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-03 13:09:52 -08:00
Dipti
434feca6a5 Inheritance from base_profile works
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 13:46:24 -08:00
Chuck SmileyRekiere
6ac8cd0269 l3_cxprofile.py : change inheritance to LFCliBase from BaseProfile 2021-03-02 08:20:52 -07: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
76b2b90d1d l3_cxprofile taken out of realm, version number put into realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-01 14:40:51 -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