def hostfilename(self, filename):
        dirname, basename = os.path.split(filename)
        if not basename:
            raise ValueError, "no basename for filename: " + filename
        if dirname and dirname[0] == "/":
            dirname = dirname[1:]
        dirname = dirname.replace("/", ".")
        dirname = os.path.join(self.nodedir, dirname)
        return os.path.join(dirname, basename)
Return the name of a node's file on the host filesystem.
dataset/ETHPy150Open coreemu/core/daemon/core/netns/vnode.py/LxcNode.hostfilename