Commit Graph

27 Commits

Author SHA1 Message Date
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