Class Networking
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.v1.Networking
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkingBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Networking extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkingBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Networking defines the pod network provider in the cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Networking()No args constructor for use in serializationNetworking(List<ClusterNetworkEntry> clusterNetwork, Long clusterNetworkMTU, List<ClusterNetworkEntry> clusterNetworkList, String machineCIDR, List<MachineNetworkEntry> machineNetwork, String networkType, OVNKubernetesConfig ovnKubernetesConfig, String serviceCIDR, List<String> serviceNetwork, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkingBuilderedit()Map<String,Object>getAdditionalProperties()List<ClusterNetworkEntry>getClusterNetwork()ClusterNetwork is the list of IP address pools for pods.LonggetClusterNetworkMTU()ClusterNetworkMTU is the Maximum Transmit (MTU) Unit size in bytes to allocate to the cluster network.List<ClusterNetworkEntry>getClusterNetworks()Deprecated name for ClusterNetworkStringgetMachineCIDR()Networking defines the pod network provider in the cluster.List<MachineNetworkEntry>getMachineNetwork()MachineNetwork is the list of IP address pools for machines.StringgetNetworkType()NetworkType is the type of network to install.OVNKubernetesConfiggetOvnKubernetesConfig()Networking defines the pod network provider in the cluster.StringgetServiceCIDR()Networking defines the pod network provider in the cluster.List<String>getServiceNetwork()ServiceNetwork is the list of IP address pools for services.StringgetType()Deprecated name for NetworkTypevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterNetwork(List<ClusterNetworkEntry> clusterNetwork)ClusterNetwork is the list of IP address pools for pods.voidsetClusterNetworkMTU(Long clusterNetworkMTU)ClusterNetworkMTU is the Maximum Transmit (MTU) Unit size in bytes to allocate to the cluster network.voidsetClusterNetworks(List<ClusterNetworkEntry> clusterNetworkList)Deprecated name for ClusterNetworkvoidsetMachineCIDR(String machineCIDR)Networking defines the pod network provider in the cluster.voidsetMachineNetwork(List<MachineNetworkEntry> machineNetwork)MachineNetwork is the list of IP address pools for machines.voidsetNetworkType(String networkType)NetworkType is the type of network to install.voidsetOvnKubernetesConfig(OVNKubernetesConfig ovnKubernetesConfig)Networking defines the pod network provider in the cluster.voidsetServiceCIDR(String serviceCIDR)Networking defines the pod network provider in the cluster.voidsetServiceNetwork(List<String> serviceNetwork)ServiceNetwork is the list of IP address pools for services.voidsetType(String type)Deprecated name for NetworkTypeNetworkingBuildertoBuilder()
-
-
-
Constructor Detail
-
Networking
public Networking()
No args constructor for use in serialization
-
Networking
public Networking(List<ClusterNetworkEntry> clusterNetwork, Long clusterNetworkMTU, List<ClusterNetworkEntry> clusterNetworkList, String machineCIDR, List<MachineNetworkEntry> machineNetwork, String networkType, OVNKubernetesConfig ovnKubernetesConfig, String serviceCIDR, List<String> serviceNetwork, String type)
-
-
Method Detail
-
getClusterNetwork
public List<ClusterNetworkEntry> getClusterNetwork()
ClusterNetwork is the list of IP address pools for pods. Default is 10.128.0.0/14 and a host prefix of /23.
-
setClusterNetwork
public void setClusterNetwork(List<ClusterNetworkEntry> clusterNetwork)
ClusterNetwork is the list of IP address pools for pods. Default is 10.128.0.0/14 and a host prefix of /23.
-
getClusterNetworkMTU
public Long getClusterNetworkMTU()
ClusterNetworkMTU is the Maximum Transmit (MTU) Unit size in bytes to allocate to the cluster network. For example, 1200 would set the MTU of the entire overlay network. If the deployment does not require changes in the network plugin, leave it unset and the MTU will be calculated automatically based on the host network MTU.
-
setClusterNetworkMTU
public void setClusterNetworkMTU(Long clusterNetworkMTU)
ClusterNetworkMTU is the Maximum Transmit (MTU) Unit size in bytes to allocate to the cluster network. For example, 1200 would set the MTU of the entire overlay network. If the deployment does not require changes in the network plugin, leave it unset and the MTU will be calculated automatically based on the host network MTU.
-
getClusterNetworks
public List<ClusterNetworkEntry> getClusterNetworks()
Deprecated name for ClusterNetwork
-
setClusterNetworks
public void setClusterNetworks(List<ClusterNetworkEntry> clusterNetworkList)
Deprecated name for ClusterNetwork
-
getMachineCIDR
public String getMachineCIDR()
Networking defines the pod network provider in the cluster.
-
setMachineCIDR
public void setMachineCIDR(String machineCIDR)
Networking defines the pod network provider in the cluster.
-
getMachineNetwork
public List<MachineNetworkEntry> getMachineNetwork()
MachineNetwork is the list of IP address pools for machines. This field replaces MachineCIDR, and if set MachineCIDR must be empty or match the first entry in the list. Default is 10.0.0.0/16 for all platforms other than Power VS. For Power VS, the default is 192.168.0.0/24.
-
setMachineNetwork
public void setMachineNetwork(List<MachineNetworkEntry> machineNetwork)
MachineNetwork is the list of IP address pools for machines. This field replaces MachineCIDR, and if set MachineCIDR must be empty or match the first entry in the list. Default is 10.0.0.0/16 for all platforms other than Power VS. For Power VS, the default is 192.168.0.0/24.
-
getNetworkType
public String getNetworkType()
NetworkType is the type of network to install. The default value is OVNKubernetes.
-
setNetworkType
public void setNetworkType(String networkType)
NetworkType is the type of network to install. The default value is OVNKubernetes.
-
getOvnKubernetesConfig
public OVNKubernetesConfig getOvnKubernetesConfig()
Networking defines the pod network provider in the cluster.
-
setOvnKubernetesConfig
public void setOvnKubernetesConfig(OVNKubernetesConfig ovnKubernetesConfig)
Networking defines the pod network provider in the cluster.
-
getServiceCIDR
public String getServiceCIDR()
Networking defines the pod network provider in the cluster.
-
setServiceCIDR
public void setServiceCIDR(String serviceCIDR)
Networking defines the pod network provider in the cluster.
-
getServiceNetwork
public List<String> getServiceNetwork()
ServiceNetwork is the list of IP address pools for services. Default is 172.30.0.0/16. NOTE: currently only one entry is supported.
-
setServiceNetwork
public void setServiceNetwork(List<String> serviceNetwork)
ServiceNetwork is the list of IP address pools for services. Default is 172.30.0.0/16. NOTE: currently only one entry is supported.
-
getType
public String getType()
Deprecated name for NetworkType
-
setType
public void setType(String type)
Deprecated name for NetworkType
-
edit
public NetworkingBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkingBuilder>
-
toBuilder
public NetworkingBuilder toBuilder()
-
-