Class IPv4GatewayConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.IPv4GatewayConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IPv4GatewayConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IPv4GatewayConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<IPv4GatewayConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IPV4GatewayConfig holds the configuration paramaters for IPV4 connections in the GatewayConfig for OVN-Kubernetes- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IPv4GatewayConfig()No args constructor for use in serializationIPv4GatewayConfig(String internalMasqueradeSubnet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPv4GatewayConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetInternalMasqueradeSubnet()internalMasqueradeSubnet contains the masquerade addresses in IPV4 CIDR format used internally by ovn-kubernetes to enable host to service traffic.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetInternalMasqueradeSubnet(String internalMasqueradeSubnet)internalMasqueradeSubnet contains the masquerade addresses in IPV4 CIDR format used internally by ovn-kubernetes to enable host to service traffic.IPv4GatewayConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
IPv4GatewayConfig
public IPv4GatewayConfig()
No args constructor for use in serialization
-
IPv4GatewayConfig
public IPv4GatewayConfig(String internalMasqueradeSubnet)
-
-
Method Detail
-
getInternalMasqueradeSubnet
public String getInternalMasqueradeSubnet()
internalMasqueradeSubnet contains the masquerade addresses in IPV4 CIDR format used internally by ovn-kubernetes to enable host to service traffic. Each host in the cluster is configured with these addresses, as well as the shared gateway bridge interface. The values can be changed after installation. The subnet chosen should not overlap with other networks specified for OVN-Kubernetes as well as other networks used on the host. Additionally the subnet must be large enough to accommodate 6 IPs (maximum prefix length /29). When omitted, this means no opinion and the platform is left to choose a reasonable default which is subject to change over time. The current default subnet is 169.254.169.0/29 The value must be in proper IPV4 CIDR format
-
setInternalMasqueradeSubnet
public void setInternalMasqueradeSubnet(String internalMasqueradeSubnet)
internalMasqueradeSubnet contains the masquerade addresses in IPV4 CIDR format used internally by ovn-kubernetes to enable host to service traffic. Each host in the cluster is configured with these addresses, as well as the shared gateway bridge interface. The values can be changed after installation. The subnet chosen should not overlap with other networks specified for OVN-Kubernetes as well as other networks used on the host. Additionally the subnet must be large enough to accommodate 6 IPs (maximum prefix length /29). When omitted, this means no opinion and the platform is left to choose a reasonable default which is subject to change over time. The current default subnet is 169.254.169.0/29 The value must be in proper IPV4 CIDR format
-
edit
public IPv4GatewayConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IPv4GatewayConfigBuilder>
-
toBuilder
public IPv4GatewayConfigBuilder toBuilder()
-
-