Add zone field to vsphere test cloudconfig

This commit is contained in:
Hemant Kumar 2022-09-13 17:19:33 -04:00
parent 084a412e03
commit 30ac00eeb5

View File

@ -85,6 +85,11 @@ type ConfigFile struct {
DefaultDatastore string `gcfg:"default-datastore"`
ResourcePoolPath string `gcfg:"resourcepool-path"`
}
// Tag categories and tags which correspond to "built-in node labels: zones and region"
Labels struct {
Zone string `gcfg:"zone"`
Region string `gcfg:"region"`
}
}
// GetVSphereInstances parses vsphere.conf and returns VSphere instances