mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user