|
29 | 29 | outputDir string |
30 | 30 | kolaPlatform string |
31 | 31 | defaultTargetBoard = sdk.DefaultBoard() |
32 | | - kolaPlatforms = []string{"aws", "do", "esx", "gce", "packet", "qemu"} |
| 32 | + kolaPlatforms = []string{"aws", "do", "esx", "gce", "openstack", "packet", "qemu"} |
33 | 33 | kolaDistros = []string{"cl", "fcos", "rhcos"} |
34 | 34 | kolaDefaultImages = map[string]string{ |
35 | 35 | "amd64-usr": sdk.BuildRoot() + "/images/amd64-usr/latest/coreos_production_image.bin", |
@@ -95,6 +95,16 @@ func init() { |
95 | 95 | bv(&kola.GCEOptions.ServiceAuth, "gce-service-auth", false, "for non-interactive auth when running within GCE") |
96 | 96 | sv(&kola.GCEOptions.JSONKeyFile, "gce-json-key", "", "use a service account's JSON key for authentication") |
97 | 97 |
|
| 98 | + // openstack-specific options |
| 99 | + sv(&kola.OpenStackOptions.ConfigPath, "openstack-config-file", "", "OpenStack config file (default \"~/"+auth.OpenStackConfigPath+"\")") |
| 100 | + sv(&kola.OpenStackOptions.Profile, "openstack-profile", "", "OpenStack profile (default \"default\")") |
| 101 | + sv(&kola.OpenStackOptions.Region, "openstack-region", "", "OpenStack region") |
| 102 | + sv(&kola.OpenStackOptions.Image, "openstack-image", "", "OpenStack image ref") |
| 103 | + sv(&kola.OpenStackOptions.Flavor, "openstack-flavor", "1", "OpenStack flavor ref") |
| 104 | + sv(&kola.OpenStackOptions.Network, "openstack-network", "", "OpenStack network") |
| 105 | + sv(&kola.OpenStackOptions.Domain, "openstack-domain", "", "OpenStack domain ID") |
| 106 | + sv(&kola.OpenStackOptions.FloatingIPPool, "openstack-floating-ip-pool", "", "OpenStack floating IP pool for Compute v2 networking") |
| 107 | + |
98 | 108 | // packet-specific options |
99 | 109 | sv(&kola.PacketOptions.ConfigPath, "packet-config-file", "", "Packet config file (default \"~/"+auth.PacketConfigPath+"\")") |
100 | 110 | sv(&kola.PacketOptions.Profile, "packet-profile", "", "Packet profile (default \"default\")") |
|
0 commit comments