Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Reformat python libraries.
[csit.git]
/
resources
/
libraries
/
python
/
IPUtil.py
diff --git
a/resources/libraries/python/IPUtil.py
b/resources/libraries/python/IPUtil.py
index
3e002b3
..
8ad01c4
100644
(file)
--- a/
resources/libraries/python/IPUtil.py
+++ b/
resources/libraries/python/IPUtil.py
@@
-13,24
+13,23
@@
"""Common IP utilities library."""
"""Common IP utilities library."""
-from ssh import SSH
-from constants import Constants
+from
resources.libraries.python.
ssh import SSH
+from
resources.libraries.python.
constants import Constants
class IPUtil(object):
"""Common IP utilities"""
class IPUtil(object):
"""Common IP utilities"""
- def __init__(self):
- pass
-
@staticmethod
def vpp_ip_probe(node, interface, addr):
"""Run ip probe on VPP node.
@staticmethod
def vpp_ip_probe(node, interface, addr):
"""Run ip probe on VPP node.
- Args:
- node (Dict): VPP node.
- interface (str): Interface name
- addr (str): IPv4/IPv6 address
+ :param node: VPP node.
+ :param interface: Interface name.
+ :param addr: IPv4/IPv6 address.
+ :type node: dict
+ :type interface: str
+ :type addr: str
"""
ssh = SSH()
ssh.connect(node)
"""
ssh = SSH()
ssh.connect(node)