diff options
Diffstat (limited to 'resources/libraries/python/IPUtil.py')
-rw-r--r-- | resources/libraries/python/IPUtil.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/resources/libraries/python/IPUtil.py b/resources/libraries/python/IPUtil.py index 3e002b3495..8ad01c491b 100644 --- a/resources/libraries/python/IPUtil.py +++ b/resources/libraries/python/IPUtil.py @@ -13,24 +13,23 @@ """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""" - def __init__(self): - pass - @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) |