forked from openshift/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platform.go
34 lines (27 loc) · 1.05 KB
/
platform.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package openstack
// Platform stores all the global configuration that all
// machinesets use.
type Platform struct {
// Region specifies the OpenStack region where the cluster will be created.
Region string `json:"region"`
// DefaultMachinePlatform is the default configuration used when
// installing on OpenStack for machine pools which do not define their own
// platform configuration.
// +optional
DefaultMachinePlatform *MachinePool `json:"defaultMachinePlatform,omitempty"`
// Cloud
// Name of OpenStack cloud to use from clouds.yaml
Cloud string `json:"cloud"`
// ExternalNetwork
// The OpenStack external network name to be used for installation.
ExternalNetwork string `json:"externalNetwork"`
// FlavorName
// The OpenStack compute flavor to use for servers.
FlavorName string `json:"computeFlavor"`
// LbFloatingIP
// Existing Floating IP to associate with the OpenStack load balancer.
LbFloatingIP string `json:"lbFloatingIP"`
// TrunkSupport
// Whether OpenStack ports can be trunked
TrunkSupport string `json:"trunkSupport"`
}