Commit Graph

22 Commits

Author SHA1 Message Date
Ben Greear
9bdb1e5140 create_l4: Improve logging and return codes.
Use base class methods for logging setup, check error codes
for port creation and cx creation.

l4 profile gets TODO note, since it does not verify that cx/endp
are actually created or not.
2022-07-12 15:45:46 +05:30
Chuck SmileyRekiere
0f1ffdd0ee l4_cxprofile.py : moved prints to logger
create_l4.py : moved prints to logger -needed for testing

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:45:45 +05:30
matthew
47e5b47843 l4_cxprofile: Fix bare except clause
Signed-off-by: matthew <stidmatt@gmail.com>
2021-12-03 07:35:47 -08:00
matthew
0932bfe7f3 l4_cxprofile: Fix mutable default arguments
Signed-off-by: matthew <stidmatt@gmail.com>
2021-12-03 07:34:33 -08:00
matthew
fb60c6903b l4_cxprofile: Fix whitespace
Signed-off-by: matthew <stidmatt@gmail.com>
2021-12-03 07:34:16 -08:00
Matthew Stidham
7c57cd1d3e l4_cxprofile Remove == None error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 17:04:53 -08: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
Logan Lipke
9fa735bf56 commented unnecessary output and exit_fail() call causing the test to end prematurely when not using urls test type 2021-06-24 15:53:05 -07:00
Logan Lipke
a2464e62ee Changed test type from urls/s to urls to prevent possible errors from '/' 2021-06-24 15:24:33 -07:00
Logan Lipke
7c9ca69060 Made changes to be compatible with different test types and consolidated scripts 2021-06-22 13:12:07 -07:00
Chuck SmileyRekiere
f954d9a0ea removed length check on eid
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-20 07:33:19 -06:00
Chuck SmileyRekiere
42e5e5b385 endpoint id (eid) now supports greater than values.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-20 06:48:48 -06:00
Matthew Stidham
e000571594 Fixing halt_on_error errors
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 15:48:42 -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
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
210e9d06ad transitioniting rest of the profiles - version 1 - out of realm
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 01:02:40 -08:00