aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/telemetry/SPAN.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python/telemetry/SPAN.py')
-rw-r--r--resources/libraries/python/telemetry/SPAN.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/telemetry/SPAN.py b/resources/libraries/python/telemetry/SPAN.py
index 2033525f55..268a268a0d 100644
--- a/resources/libraries/python/telemetry/SPAN.py
+++ b/resources/libraries/python/telemetry/SPAN.py
@@ -14,7 +14,7 @@
"""SPAN setup library"""
from resources.libraries.python.topology import Topology
-from resources.libraries.python.PapiExecutor import PapiExecutor
+from resources.libraries.python.PapiExecutor import PapiSocketExecutor
class SPAN(object):
@@ -41,7 +41,7 @@ class SPAN(object):
args = dict(
is_l2=1 if is_l2 else 0
)
- with PapiExecutor(node) as papi_exec:
+ with PapiSocketExecutor(node) as papi_exec:
details = papi_exec.add(cmd, **args).get_details()
return details