mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
19 lines
329 B
Go
19 lines
329 B
Go
package hostdrivers
|
|
|
|
import (
|
|
"yunion.io/x/onecloud/pkg/compute/models"
|
|
)
|
|
|
|
type SOpenStackHostDriver struct {
|
|
SManagedVirtualizationHostDriver
|
|
}
|
|
|
|
func init() {
|
|
driver := SOpenStackHostDriver{}
|
|
models.RegisterHostDriver(&driver)
|
|
}
|
|
|
|
func (self *SOpenStackHostDriver) GetHostType() string {
|
|
return models.HOST_TYPE_OPENSTACK
|
|
}
|