fix: Storage filter not work for Esxi

1. SESXiGuestDriver.DoScheduleStorageFilter should return true.
2. ESXi's SHost.GetStorageSizeMB should return the capacity of all the
storage belonging to it.
This commit is contained in:
Rain
2020-02-21 15:03:08 +08:00
parent 9a623e2d93
commit 2262cb0123
2 changed files with 11 additions and 5 deletions
+2
View File
@@ -54,6 +54,8 @@ func (self *SESXiGuestDriver) DoScheduleMemoryFilter() bool { return true }
func (self *SESXiGuestDriver) DoScheduleSKUFilter() bool { return false }
func (self *SESXiGuestDriver) DoScheduleStorageFilter() bool { return true }
func (self *SESXiGuestDriver) GetHypervisor() string {
return api.HYPERVISOR_ESXI
}