diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-08-15 06:45:13 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-08-15 06:45:13 +0200 |
commit | 9ed421e3963a108a80c0377511b1bf3b990e249b (patch) | |
tree | 6bd3cc58e5b1d77a422bbce0d63f6a466ade06af | |
parent | 4d870922e1dcf7c979b6806b1bf2ed1bca0cf24a (diff) |
PAL: Do not process oper data for iter and trend
to save the RAM.
Change-Id: I6ac7b162ee6789635a6cba3d58d45a9c65a7024b
Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 01de40cc14..ffd491000b 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -1098,11 +1098,13 @@ class ExecutionChecker(ResultVisitor): if self._kw_name is None: return elif self._kw_name.count("Run Telemetry On All Duts"): - self._telemetry_kw_counter += 1 - self._get_telemetry(msg) + if self._process_oper: + self._telemetry_kw_counter += 1 + self._get_telemetry(msg) elif self._kw_name.count("Show Runtime On All Duts"): - self._sh_run_counter += 1 - self._get_show_run(msg) + if self._process_oper: + self._sh_run_counter += 1 + self._get_show_run(msg) elif self._kw_name.count("Show Vpp Version On All Duts"): if not self._version: self._get_vpp_version(msg) |