diff options
author | Peter Mikus <pmikus@cisco.com> | 2022-06-24 10:32:28 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2022-06-28 11:37:16 +0000 |
commit | ff54e2ebd940f8ad6b49be6480e6a3b6887c7f45 (patch) | |
tree | dab1f3c7017d1300bc48d820a9497f2c85cd74f1 /resources/libraries/python/TelemetryUtil.py | |
parent | 86d584d86c6f37efb5c74921f51cf01dcb30cc37 (diff) |
feat(telemetry): Rework
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I0a84ce88b318c488ba2d519b20237c88b9f9f1e6
(cherry picked from commit b33b1461fe815b1a09267118644538a5b9351c60)
Diffstat (limited to 'resources/libraries/python/TelemetryUtil.py')
-rw-r--r-- | resources/libraries/python/TelemetryUtil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/TelemetryUtil.py b/resources/libraries/python/TelemetryUtil.py index be2f4796b2..2d4bb096c6 100644 --- a/resources/libraries/python/TelemetryUtil.py +++ b/resources/libraries/python/TelemetryUtil.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 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: @@ -133,7 +133,7 @@ class TelemetryUtil: for node in nodes.values(): if node[u"type"] == NodeType.DUT: try: - for socket in node[u"sockets"][u"PAPI"].values(): + for socket in node[u"sockets"][u"CLI"].values(): TelemetryUtil.run_telemetry( node, profile=profile, hook=socket ) |