Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use PapiSocketProvider for most PAPI calls
[csit.git]
/
resources
/
libraries
/
python
/
ProxyArp.py
diff --git
a/resources/libraries/python/ProxyArp.py
b/resources/libraries/python/ProxyArp.py
index
a0a54fb
..
e05bfe3
100644
(file)
--- a/
resources/libraries/python/ProxyArp.py
+++ b/
resources/libraries/python/ProxyArp.py
@@
-14,7
+14,7
@@
"""Proxy ARP library"""
from resources.libraries.python.InterfaceUtil import InterfaceUtil
"""Proxy ARP library"""
from resources.libraries.python.InterfaceUtil import InterfaceUtil
-from resources.libraries.python.PapiExecutor import PapiExecutor
+from resources.libraries.python.PapiExecutor import Papi
Socket
Executor
from resources.libraries.python.VatExecutor import VatTerminal
from resources.libraries.python.VatExecutor import VatTerminal
@@
-53,5
+53,5
@@
class ProxyArp(object):
enable_disable=1)
err_msg = 'Failed to enable proxy ARP on interface {ifc}'.format(
ifc=interface)
enable_disable=1)
err_msg = 'Failed to enable proxy ARP on interface {ifc}'.format(
ifc=interface)
- with PapiExecutor(node) as papi_exec:
+ with Papi
Socket
Executor(node) as papi_exec:
papi_exec.add(cmd, **args).get_reply(err_msg)
papi_exec.add(cmd, **args).get_reply(err_msg)