Class 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
    • 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. 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. 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. 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. Default is fd98::/64
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)