This method is redundant, since we have the same method from InterfaceAPI
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
---
lnst/Controller/Task.py | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/lnst/Controller/Task.py b/lnst/Controller/Task.py
index 0d437f3..fdf4a0e 100644
--- a/lnst/Controller/Task.py
+++ b/lnst/Controller/Task.py
@@ -285,22 +285,6 @@ class HostAPI(object):
iface = self._interfaces[interface_id]
return iface.get_hwaddr()
- def get_ip(self, interface_id, addr_number=0):
- """
- Returns an IP address of the interface.
-
- :param interface_id: which interface
- :type interface_id: string
-
- :param interface_id: which address
- :type interface_id: int
-
- :return: IP address (e.g., 192.168.1.10).
- :rtype: str
- """
- iface = self._interfaces[interface_id]
- return iface.get_ip_addr(addr_number)
-
def get_prefix(self, interface_id, addr_number=0):
"""
Returns an IP address prefix (netmask)
--
2.4.3