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