-# Copyright (c) 2022 Cisco and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
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)