Class OVNKubernetesConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.OVNKubernetesConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OVNKubernetesConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OVNKubernetesConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<OVNKubernetesConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OVNKubernetesConfig()No args constructor for use in serializationOVNKubernetesConfig(EgressIPConfig egressIPConfig, GatewayConfig gatewayConfig, Long genevePort, HybridOverlayConfig hybridOverlayConfig, IPsecConfig ipsecConfig, IPv4OVNKubernetesConfig ipv4, IPv6OVNKubernetesConfig ipv6, Long mtu, PolicyAuditConfig policyAuditConfig, String routeAdvertisements, String v4InternalSubnet, String v6InternalSubnet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OVNKubernetesConfigBuilderedit()Map<String,Object>getAdditionalProperties()EgressIPConfiggetEgressIPConfig()ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectGatewayConfiggetGatewayConfig()ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectLonggetGenevePort()geneve port is the UDP port to be used by geneve encapulation.HybridOverlayConfiggetHybridOverlayConfig()ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectIPsecConfiggetIpsecConfig()ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectIPv4OVNKubernetesConfiggetIpv4()ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectIPv6OVNKubernetesConfiggetIpv6()ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectLonggetMtu()mtu is the MTU to use for the tunnel interface.PolicyAuditConfiggetPolicyAuditConfig()ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectStringgetRouteAdvertisements()routeAdvertisements determines if the functionality to advertise cluster network routes through a dynamic routing protocol, such as BGP, is enabled or not.StringgetV4InternalSubnet()v4InternalSubnet is a v4 subnet used internally by ovn-kubernetes in case the default one is being already used by something else.StringgetV6InternalSubnet()v6InternalSubnet is a v6 subnet used internally by ovn-kubernetes in case the default one is being already used by something else.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEgressIPConfig(EgressIPConfig egressIPConfig)ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectvoidsetGatewayConfig(GatewayConfig gatewayConfig)ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectvoidsetGenevePort(Long genevePort)geneve port is the UDP port to be used by geneve encapulation.voidsetHybridOverlayConfig(HybridOverlayConfig hybridOverlayConfig)ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectvoidsetIpsecConfig(IPsecConfig ipsecConfig)ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectvoidsetIpv4(IPv4OVNKubernetesConfig ipv4)ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectvoidsetIpv6(IPv6OVNKubernetesConfig ipv6)ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectvoidsetMtu(Long mtu)mtu is the MTU to use for the tunnel interface.voidsetPolicyAuditConfig(PolicyAuditConfig policyAuditConfig)ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network projectvoidsetRouteAdvertisements(String routeAdvertisements)routeAdvertisements determines if the functionality to advertise cluster network routes through a dynamic routing protocol, such as BGP, is enabled or not.voidsetV4InternalSubnet(String v4InternalSubnet)v4InternalSubnet is a v4 subnet used internally by ovn-kubernetes in case the default one is being already used by something else.voidsetV6InternalSubnet(String v6InternalSubnet)v6InternalSubnet is a v6 subnet used internally by ovn-kubernetes in case the default one is being already used by something else.OVNKubernetesConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
OVNKubernetesConfig
public OVNKubernetesConfig()
No args constructor for use in serialization
-
OVNKubernetesConfig
public OVNKubernetesConfig(EgressIPConfig egressIPConfig, GatewayConfig gatewayConfig, Long genevePort, HybridOverlayConfig hybridOverlayConfig, IPsecConfig ipsecConfig, IPv4OVNKubernetesConfig ipv4, IPv6OVNKubernetesConfig ipv6, Long mtu, PolicyAuditConfig policyAuditConfig, String routeAdvertisements, String v4InternalSubnet, String v6InternalSubnet)
-
-
Method Detail
-
getEgressIPConfig
public EgressIPConfig getEgressIPConfig()
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
setEgressIPConfig
public void setEgressIPConfig(EgressIPConfig egressIPConfig)
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
getGatewayConfig
public GatewayConfig getGatewayConfig()
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
setGatewayConfig
public void setGatewayConfig(GatewayConfig gatewayConfig)
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
getGenevePort
public Long getGenevePort()
geneve port is the UDP port to be used by geneve encapulation. Default is 6081
-
setGenevePort
public void setGenevePort(Long genevePort)
geneve port is the UDP port to be used by geneve encapulation. Default is 6081
-
getHybridOverlayConfig
public HybridOverlayConfig getHybridOverlayConfig()
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
setHybridOverlayConfig
public void setHybridOverlayConfig(HybridOverlayConfig hybridOverlayConfig)
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
getIpsecConfig
public IPsecConfig getIpsecConfig()
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
setIpsecConfig
public void setIpsecConfig(IPsecConfig ipsecConfig)
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
getIpv4
public IPv4OVNKubernetesConfig getIpv4()
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
setIpv4
public void setIpv4(IPv4OVNKubernetesConfig ipv4)
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
getIpv6
public IPv6OVNKubernetesConfig getIpv6()
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
setIpv6
public void setIpv6(IPv6OVNKubernetesConfig ipv6)
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
getMtu
public Long getMtu()
mtu is the MTU to use for the tunnel interface. This must be 100 bytes smaller than the uplink mtu. Default is 1400
-
setMtu
public void setMtu(Long mtu)
mtu is the MTU to use for the tunnel interface. This must be 100 bytes smaller than the uplink mtu. Default is 1400
-
getPolicyAuditConfig
public PolicyAuditConfig getPolicyAuditConfig()
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
setPolicyAuditConfig
public void setPolicyAuditConfig(PolicyAuditConfig policyAuditConfig)
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
-
getRouteAdvertisements
public String getRouteAdvertisements()
routeAdvertisements determines if the functionality to advertise cluster network routes through a dynamic routing protocol, such as BGP, is enabled or not. This functionality is configured through the ovn-kubernetes RouteAdvertisements CRD. Requires the 'FRR' routing capability provider to be enabled as an additional routing capability. Allowed values are "Enabled", "Disabled" and ommited. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is "Disabled".
-
setRouteAdvertisements
public void setRouteAdvertisements(String routeAdvertisements)
routeAdvertisements determines if the functionality to advertise cluster network routes through a dynamic routing protocol, such as BGP, is enabled or not. This functionality is configured through the ovn-kubernetes RouteAdvertisements CRD. Requires the 'FRR' routing capability provider to be enabled as an additional routing capability. Allowed values are "Enabled", "Disabled" and ommited. When omitted, this means the user has no opinion and the platform is left to choose reasonable defaults. These defaults are subject to change over time. The current default is "Disabled".
-
getV4InternalSubnet
public String getV4InternalSubnet()
v4InternalSubnet is a v4 subnet used internally by ovn-kubernetes in case the default one is being already used by something else. It must not overlap with any other subnet being used by OpenShift or by the node network. The size of the subnet must be larger than the number of nodes. The value cannot be changed after installation. Default is 100.64.0.0/16
-
setV4InternalSubnet
public void setV4InternalSubnet(String v4InternalSubnet)
v4InternalSubnet is a v4 subnet used internally by ovn-kubernetes in case the default one is being already used by something else. It must not overlap with any other subnet being used by OpenShift or by the node network. The size of the subnet must be larger than the number of nodes. The value cannot be changed after installation. Default is 100.64.0.0/16
-
getV6InternalSubnet
public String getV6InternalSubnet()
v6InternalSubnet is a v6 subnet used internally by ovn-kubernetes in case the default one is being already used by something else. It must not overlap with any other subnet being used by OpenShift or by the node network. The size of the subnet must be larger than the number of nodes. The value cannot be changed after installation. Default is fd98::/64
-
setV6InternalSubnet
public void setV6InternalSubnet(String v6InternalSubnet)
v6InternalSubnet is a v6 subnet used internally by ovn-kubernetes in case the default one is being already used by something else. It must not overlap with any other subnet being used by OpenShift or by the node network. The size of the subnet must be larger than the number of nodes. The value cannot be changed after installation. Default is fd98::/64
-
edit
public OVNKubernetesConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OVNKubernetesConfigBuilder>
-
toBuilder
public OVNKubernetesConfigBuilder toBuilder()
-
-