Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.ovirt.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(List<AffinityGroup> affinityGroups, String apiVip, List<String> apiVips, MachinePool defaultMachinePlatform, String ingressVip, List<String> ingressVips, io.fabric8.openshift.api.model.config.v1.OvirtPlatformLoadBalancer loadBalancer, String ovirtClusterId, String ovirtNetworkName, String ovirtStorageDomainId, String vnicProfileID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()List<AffinityGroup>getAffinityGroups()AffinityGroups contains the RHV affinity groups that the installer will create.StringgetApiVip()DeprecatedAPIVIP is an IP which will be served by bootstrap and then pivoted masters, using keepalived Deprecated: Use APIVIPsList<String>getApiVips()APIVIPs contains the VIP(s) which will be served by bootstrap and then pivoted masters, using keepalived.MachinePoolgetDefaultMachinePlatform()Platform stores all the global configuration that all machinesets use.StringgetIngressVip()IngressIP is an external IP which routes to the default ingress controller.List<String>getIngressVips()IngressVIPs are external IP(s) which route to the default ingress controller.io.fabric8.openshift.api.model.config.v1.OvirtPlatformLoadBalancergetLoadBalancer()Platform stores all the global configuration that all machinesets use.StringgetOvirtClusterId()The target cluster under which all VMs will runStringgetOvirtNetworkName()NetworkName is the target network of all the network interfaces of the nodes.StringgetOvirtStorageDomainId()The target storage domain under which all VM disk would be created.StringgetVnicProfileID()VNICProfileID defines the VNIC profile ID to use the the VM network interfaces.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAffinityGroups(List<AffinityGroup> affinityGroups)AffinityGroups contains the RHV affinity groups that the installer will create.voidsetApiVip(String apiVip)DeprecatedAPIVIP is an IP which will be served by bootstrap and then pivoted masters, using keepalived Deprecated: Use APIVIPsvoidsetApiVips(List<String> apiVips)APIVIPs contains the VIP(s) which will be served by bootstrap and then pivoted masters, using keepalived.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores all the global configuration that all machinesets use.voidsetIngressVip(String ingressVip)IngressIP is an external IP which routes to the default ingress controller.voidsetIngressVips(List<String> ingressVips)IngressVIPs are external IP(s) which route to the default ingress controller.voidsetLoadBalancer(io.fabric8.openshift.api.model.config.v1.OvirtPlatformLoadBalancer loadBalancer)Platform stores all the global configuration that all machinesets use.voidsetOvirtClusterId(String ovirtClusterId)The target cluster under which all VMs will runvoidsetOvirtNetworkName(String ovirtNetworkName)NetworkName is the target network of all the network interfaces of the nodes.voidsetOvirtStorageDomainId(String ovirtStorageDomainId)The target storage domain under which all VM disk would be created.voidsetVnicProfileID(String vnicProfileID)VNICProfileID defines the VNIC profile ID to use the the VM network interfaces.PlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(List<AffinityGroup> affinityGroups, String apiVip, List<String> apiVips, MachinePool defaultMachinePlatform, String ingressVip, List<String> ingressVips, io.fabric8.openshift.api.model.config.v1.OvirtPlatformLoadBalancer loadBalancer, String ovirtClusterId, String ovirtNetworkName, String ovirtStorageDomainId, String vnicProfileID)
-
-
Method Detail
-
getAffinityGroups
public List<AffinityGroup> getAffinityGroups()
AffinityGroups contains the RHV affinity groups that the installer will create.
-
setAffinityGroups
public void setAffinityGroups(List<AffinityGroup> affinityGroups)
AffinityGroups contains the RHV affinity groups that the installer will create.
-
getApiVip
public String getApiVip()
DeprecatedAPIVIP is an IP which will be served by bootstrap and then pivoted masters, using keepalived Deprecated: Use APIVIPs
-
setApiVip
public void setApiVip(String apiVip)
DeprecatedAPIVIP is an IP which will be served by bootstrap and then pivoted masters, using keepalived Deprecated: Use APIVIPs
-
getApiVips
public List<String> getApiVips()
APIVIPs contains the VIP(s) which will be served by bootstrap and then pivoted masters, using keepalived. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
setApiVips
public void setApiVips(List<String> apiVips)
APIVIPs contains the VIP(s) which will be served by bootstrap and then pivoted masters, using keepalived. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
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.
-
getIngressVip
public String getIngressVip()
IngressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names. Deprecated: Use IngressVIPs
-
setIngressVip
public void setIngressVip(String ingressVip)
IngressIP is an external IP which routes to the default ingress controller. The IP is a suitable target of a wildcard DNS record used to resolve default route host names. Deprecated: Use IngressVIPs
-
getIngressVips
public List<String> getIngressVips()
IngressVIPs are external IP(s) which route to the default ingress controller. The VIPs are suitable targets of wildcard DNS records used to resolve default route host names. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
setIngressVips
public void setIngressVips(List<String> ingressVips)
IngressVIPs are external IP(s) which route to the default ingress controller. The VIPs are suitable targets of wildcard DNS records used to resolve default route host names. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
getLoadBalancer
public io.fabric8.openshift.api.model.config.v1.OvirtPlatformLoadBalancer getLoadBalancer()
Platform stores all the global configuration that all machinesets use.
-
setLoadBalancer
public void setLoadBalancer(io.fabric8.openshift.api.model.config.v1.OvirtPlatformLoadBalancer loadBalancer)
Platform stores all the global configuration that all machinesets use.
-
getOvirtClusterId
public String getOvirtClusterId()
The target cluster under which all VMs will run
-
setOvirtClusterId
public void setOvirtClusterId(String ovirtClusterId)
The target cluster under which all VMs will run
-
getOvirtNetworkName
public String getOvirtNetworkName()
NetworkName is the target network of all the network interfaces of the nodes. When no ovirt_network_name is provided it defaults to `ovirtmgmt` network, which is a default network for every ovirt cluster.
-
setOvirtNetworkName
public void setOvirtNetworkName(String ovirtNetworkName)
NetworkName is the target network of all the network interfaces of the nodes. When no ovirt_network_name is provided it defaults to `ovirtmgmt` network, which is a default network for every ovirt cluster.
-
getOvirtStorageDomainId
public String getOvirtStorageDomainId()
The target storage domain under which all VM disk would be created.
-
setOvirtStorageDomainId
public void setOvirtStorageDomainId(String ovirtStorageDomainId)
The target storage domain under which all VM disk would be created.
-
getVnicProfileID
public String getVnicProfileID()
VNICProfileID defines the VNIC profile ID to use the the VM network interfaces. When no vnicProfileID is provided it will be set to the profile of the network. If there are multiple profiles for the network, the installer requires you to explicitly set the vnicProfileID.
-
setVnicProfileID
public void setVnicProfileID(String vnicProfileID)
VNICProfileID defines the VNIC profile ID to use the the VM network interfaces. When no vnicProfileID is provided it will be set to the profile of the network. If there are multiple profiles for the network, the installer requires you to explicitly set the vnicProfileID.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-