refactoring and typing in progress
diff --git a/wally/hw_info.py b/wally/hw_info.py
index 4f21314..812921e 100644
--- a/wally/hw_info.py
+++ b/wally/hw_info.py
@@ -4,7 +4,7 @@
from typing import List, Tuple
from . import utils
-from .interfaces import IRemoteNode
+from .node_interfaces import IRPCNode
def get_data(rr: str, data: str) -> str:
@@ -115,7 +115,7 @@
self.ceph_version = None # type: str
-def get_sw_info(node: IRemoteNode) -> SWInfo:
+def get_sw_info(node: IRPCNode) -> SWInfo:
res = SWInfo()
res.OS_version = utils.get_os(node)
@@ -128,7 +128,7 @@
return res
-def get_hw_info(node: IRemoteNode) -> HWInfo:
+def get_hw_info(node: IRPCNode) -> HWInfo:
res = HWInfo()
lshw_out = node.run('sudo lshw -xml 2>/dev/null', nolog=True)