def _get_api_version(self):
        pool = self.xenapi.pool.get_all()[0]
        host = self.xenapi.pool.get_master(pool)
        major = self.xenapi.host.get_API_version_major(host)
        minor = self.xenapi.host.get_API_version_minor(host)
        return "%s.%s" % (major, minor)
dataset/ETHPy150Open locaweb/simplestack/src/simplestack/utils/XenAPI.py/Session._get_api_version/original