Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.openstack.v1.Platform
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Platform extends Object implements io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Platform stores all the global configuration that all machinesets use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()No args constructor for use in serializationPlatform(String apiFloatingIP, String apiVIP, List<String> apiVIPs, String cloud, String clusterOSImage, Map<String,String> clusterOSImageProperties, String computeFlavor, PortTarget controlPlanePort, MachinePool defaultMachinePlatform, List<String> externalDNS, String externalNetwork, String ingressFloatingIP, String ingressVIP, List<String> ingressVIPs, String lbFloatingIP, io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer loadBalancer, String machinesSubnet, String octaviaSupport, String region, String trunkSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiFloatingIP()APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.StringgetApiVIP()DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPsList<String>getApiVIPs()APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned.StringgetCloud()Cloud is the name of OpenStack cloud to use from clouds.yaml.StringgetClusterOSImage()ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.Map<String,String>getClusterOSImageProperties()ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage.StringgetComputeFlavor()DeprecatedFlavorName is the name of the flavor to use for instances in this cluster.PortTargetgetControlPlanePort()Platform stores all the global configuration that all machinesets use.MachinePoolgetDefaultMachinePlatform()Platform stores all the global configuration that all machinesets use.List<String>getExternalDNS()ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.StringgetExternalNetwork()ExternalNetwork is name of the external network in your OpenStack cluster.StringgetIngressFloatingIP()IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress portStringgetIngressVIP()DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPsList<String>getIngressVIPs()IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned.StringgetLbFloatingIP()LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer.io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancergetLoadBalancer()Platform stores all the global configuration that all machinesets use.StringgetMachinesSubnet()DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet.StringgetOctaviaSupport()OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing.StringgetRegion()Region specifies the OpenStack region where the cluster will be created.StringgetTrunkSupport()TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiFloatingIP(String apiFloatingIP)APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.voidsetApiVIP(String apiVIP)DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPsvoidsetApiVIPs(List<String> apiVIPs)APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned.voidsetCloud(String cloud)Cloud is the name of OpenStack cloud to use from clouds.yaml.voidsetClusterOSImage(String clusterOSImage)ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.voidsetClusterOSImageProperties(Map<String,String> clusterOSImageProperties)ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage.voidsetComputeFlavor(String computeFlavor)DeprecatedFlavorName is the name of the flavor to use for instances in this cluster.voidsetControlPlanePort(PortTarget controlPlanePort)Platform stores all the global configuration that all machinesets use.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores all the global configuration that all machinesets use.voidsetExternalDNS(List<String> externalDNS)ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.voidsetExternalNetwork(String externalNetwork)ExternalNetwork is name of the external network in your OpenStack cluster.voidsetIngressFloatingIP(String ingressFloatingIP)IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress portvoidsetIngressVIP(String ingressVIP)DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPsvoidsetIngressVIPs(List<String> ingressVIPs)IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned.voidsetLbFloatingIP(String lbFloatingIP)LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer.voidsetLoadBalancer(io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer loadBalancer)Platform stores all the global configuration that all machinesets use.voidsetMachinesSubnet(String machinesSubnet)DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet.voidsetOctaviaSupport(String octaviaSupport)OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing.voidsetRegion(String region)Region specifies the OpenStack region where the cluster will be created.voidsetTrunkSupport(String trunkSupport)TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster.PlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(String apiFloatingIP, String apiVIP, List<String> apiVIPs, String cloud, String clusterOSImage, Map<String,String> clusterOSImageProperties, String computeFlavor, PortTarget controlPlanePort, MachinePool defaultMachinePlatform, List<String> externalDNS, String externalNetwork, String ingressFloatingIP, String ingressVIP, List<String> ingressVIPs, String lbFloatingIP, io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer loadBalancer, String machinesSubnet, String octaviaSupport, String region, String trunkSupport)
-
-
Method Detail
-
getApiFloatingIP
public String getApiFloatingIP()
APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.
-
setApiFloatingIP
public void setApiFloatingIP(String apiFloatingIP)
APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.
-
getApiVIP
public String getApiVIP()
DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPs
-
setApiVIP
public void setApiVIP(String apiVIP)
DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPs
-
getApiVIPs
public List<String> getApiVIPs()
APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 5 on the first entry in the machineNetwork CIDR
-
setApiVIPs
public void setApiVIPs(List<String> apiVIPs)
APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 5 on the first entry in the machineNetwork CIDR
-
getCloud
public String getCloud()
Cloud is the name of OpenStack cloud to use from clouds.yaml.
-
setCloud
public void setCloud(String cloud)
Cloud is the name of OpenStack cloud to use from clouds.yaml.
-
getClusterOSImage
public String getClusterOSImage()
ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.
-
setClusterOSImage
public void setClusterOSImage(String clusterOSImage)
ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.
-
getClusterOSImageProperties
public Map<String,String> getClusterOSImageProperties()
ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage. Default: the default is to not set any properties.
-
setClusterOSImageProperties
public void setClusterOSImageProperties(Map<String,String> clusterOSImageProperties)
ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage. Default: the default is to not set any properties.
-
getComputeFlavor
public String getComputeFlavor()
DeprecatedFlavorName is the name of the flavor to use for instances in this cluster. Deprecated: use FlavorName in DefaultMachinePlatform to define default flavor.
-
setComputeFlavor
public void setComputeFlavor(String computeFlavor)
DeprecatedFlavorName is the name of the flavor to use for instances in this cluster. Deprecated: use FlavorName in DefaultMachinePlatform to define default flavor.
-
getControlPlanePort
public PortTarget getControlPlanePort()
Platform stores all the global configuration that all machinesets use.
-
setControlPlanePort
public void setControlPlanePort(PortTarget controlPlanePort)
Platform stores all the global configuration that all machinesets use.
-
getDefaultMachinePlatform
public MachinePool getDefaultMachinePlatform()
Platform stores all the global configuration that all machinesets use.
-
setDefaultMachinePlatform
public void setDefaultMachinePlatform(MachinePool defaultMachinePlatform)
Platform stores all the global configuration that all machinesets use.
-
getExternalDNS
public List<String> getExternalDNS()
ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.
-
setExternalDNS
public void setExternalDNS(List<String> externalDNS)
ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.
-
getExternalNetwork
public String getExternalNetwork()
ExternalNetwork is name of the external network in your OpenStack cluster.
-
setExternalNetwork
public void setExternalNetwork(String externalNetwork)
ExternalNetwork is name of the external network in your OpenStack cluster.
-
getIngressFloatingIP
public String getIngressFloatingIP()
IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress port
-
setIngressFloatingIP
public void setIngressFloatingIP(String ingressFloatingIP)
IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress port
-
getIngressVIP
public String getIngressVIP()
DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPs
-
setIngressVIP
public void setIngressVIP(String ingressVIP)
DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPs
-
getIngressVIPs
public List<String> getIngressVIPs()
IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 7 on the first entry in the machineNetwork CIDR
-
setIngressVIPs
public void setIngressVIPs(List<String> ingressVIPs)
IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 7 on the first entry in the machineNetwork CIDR
-
getLbFloatingIP
public String getLbFloatingIP()
LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer. Deprecated: this value has been renamed to apiFloatingIP.
-
setLbFloatingIP
public void setLbFloatingIP(String lbFloatingIP)
LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer. Deprecated: this value has been renamed to apiFloatingIP.
-
getLoadBalancer
public io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer getLoadBalancer()
Platform stores all the global configuration that all machinesets use.
-
setLoadBalancer
public void setLoadBalancer(io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer loadBalancer)
Platform stores all the global configuration that all machinesets use.
-
getMachinesSubnet
public String getMachinesSubnet()
DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet. This subnet will be used by all nodes created by the installer. By setting this, the installer will no longer create a network and subnet. The subnet and network specified in MachinesSubnet will not be deleted or modified by the installer. Deprecated: Use ControlPlanePort
-
setMachinesSubnet
public void setMachinesSubnet(String machinesSubnet)
DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet. This subnet will be used by all nodes created by the installer. By setting this, the installer will no longer create a network and subnet. The subnet and network specified in MachinesSubnet will not be deleted or modified by the installer. Deprecated: Use ControlPlanePort
-
getOctaviaSupport
public String getOctaviaSupport()
OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing. Deprecated: this value is set by the installer automatically.
-
setOctaviaSupport
public void setOctaviaSupport(String octaviaSupport)
OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing. Deprecated: this value is set by the installer automatically.
-
getRegion
public String getRegion()
Region specifies the OpenStack region where the cluster will be created. Deprecated: this value is not used by the installer.
-
setRegion
public void setRegion(String region)
Region specifies the OpenStack region where the cluster will be created. Deprecated: this value is not used by the installer.
-
getTrunkSupport
public String getTrunkSupport()
TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster. Deprecated: the machine manifest should be used to specify that trunk should be used.
-
setTrunkSupport
public void setTrunkSupport(String trunkSupport)
TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster. Deprecated: the machine manifest should be used to specify that trunk should be used.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-