returned class changed
diff --git a/nodes/ceph.py b/nodes/ceph.py
index a2036b2..871b834 100644
--- a/nodes/ceph.py
+++ b/nodes/ceph.py
@@ -2,7 +2,7 @@
import json
import sh
-from connection import Connection
+from node import Node
def discover_ceph_node():
@@ -34,10 +34,7 @@
res = []
for url, roles in ips:
- item = Connection()
- item.url = url
- item.roles = list(roles)
- res.append(item)
+ res.append(Node(ip=url, roles=list(roles)))
return res
diff --git a/nodes/connection.py b/nodes/connection.py
deleted file mode 100644
index d565ab5..0000000
--- a/nodes/connection.py
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-class Connection(object):
- pass