Esempio n. 1
0
 def _applyMaxLicense(self):
     host = self.getDefaultHost()
     license = LF().maxLicenseSkuHost(host)
     step("Applying license: %s" % license.getEdition())
     host.licenseApply(None, license)
Esempio n. 2
0
 def _applyMaxLicense(self):
     host = self.getDefaultHost()
     license = LF().maxLicenseSkuHost(host)
     step("Applying license: %s" % license.getEdition())
     host.licenseApply(None, license)
Esempio n. 3
0
 def _releaseLicense(self):
     host = self.getDefaultHost()
     license = LF().licenseForHost(host, XenServerLicenseSKU.Free)
     step("Applying license: %s" % license.getEdition())
     host.licenseApply(None, license)
Esempio n. 4
0
 def _releaseLicense(self):
     host = self.getDefaultHost()
     license = LF().licenseForHost(host, XenServerLicenseSKU.Free)
     step("Applying license: %s" % license.getEdition())
     host.licenseApply(None, license)