'Add a Root to Zpool
Generally speaking a root can be the data vdevs,
cache, spares or logs'

def add_root(self, root):

    if (root.name == self.name):
        self.data = root
    else:
        setattr(self, root.name, root)
    root.parent = self
