mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
Move Real-Time Stats Analysis to separate step
Factor out to make existing log analysis simpler. It will also allow to more easily port this functionality to docker-based setups.
This commit is contained in:
@@ -102,11 +102,6 @@ def ExecuteActionWithParam(action, ctx, node):
|
||||
success = CONTAINERS.BuildRunTests(ctx, node, HTML)
|
||||
|
||||
elif action == 'Initialize_eNB':
|
||||
datalog_rt_stats_file=test.findtext('rt_stats_cfg')
|
||||
if datalog_rt_stats_file is None:
|
||||
RAN.datalog_rt_stats_file='datalog_rt_stats.default.yaml'
|
||||
else:
|
||||
RAN.datalog_rt_stats_file=datalog_rt_stats_file
|
||||
RAN.Initialize_eNB_args=test.findtext('Initialize_eNB_args')
|
||||
#local variable air_interface
|
||||
air_interface = test.findtext('air_interface')
|
||||
@@ -271,6 +266,10 @@ def ExecuteActionWithParam(action, ctx, node):
|
||||
images = test.findtext('images').split()
|
||||
success = CLUSTER.PullClusterImage(HTML, node, images, tag_prefix=tag_prefix)
|
||||
|
||||
elif action == 'AnalyzeRTStats':
|
||||
yaml = test.findtext('stats_cfg')
|
||||
success = RAN.AnalyzeRTStats(HTML, node, ctx, yaml)
|
||||
|
||||
else:
|
||||
logging.warning(f"unknown action {action}, skip step")
|
||||
success = True # by default, we skip the step and print a warning
|
||||
|
||||
Reference in New Issue
Block a user