def _applyMaxLicense(self): host = self.getDefaultHost() license = LF().maxLicenseSkuHost(host) step("Applying license: %s" % license.getEdition()) host.licenseApply(None, license)
def _applyMaxLicense(self): host = self.getDefaultHost() license = LF().maxLicenseSkuHost(host) step("Applying license: %s" % license.getEdition()) host.licenseApply(None, license)
def _releaseLicense(self): host = self.getDefaultHost() license = LF().licenseForHost(host, XenServerLicenseSKU.Free) step("Applying license: %s" % license.getEdition()) host.licenseApply(None, license)
def _releaseLicense(self): host = self.getDefaultHost() license = LF().licenseForHost(host, XenServerLicenseSKU.Free) step("Applying license: %s" % license.getEdition()) host.licenseApply(None, license)