Class GatewayConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<GatewayConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class GatewayConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<GatewayConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    GatewayConfig holds node gateway-related parsed config file parameters and command-line overrides
    See Also:
    Serialized Form
    • Method Detail

      • getIpForwarding

        public String getIpForwarding()
        ipForwarding controls IP forwarding for all traffic on OVN-Kubernetes managed interfaces (such as br-ex). By default this is set to Restricted, and Kubernetes related traffic is still forwarded appropriately, but other IP traffic will not be routed by the OCP node. If there is a desire to allow the host to forward traffic across OVN-Kubernetes managed interfaces, then set this field to "Global". The supported values are "Restricted" and "Global".
      • setIpForwarding

        public void setIpForwarding​(String ipForwarding)
        ipForwarding controls IP forwarding for all traffic on OVN-Kubernetes managed interfaces (such as br-ex). By default this is set to Restricted, and Kubernetes related traffic is still forwarded appropriately, but other IP traffic will not be routed by the OCP node. If there is a desire to allow the host to forward traffic across OVN-Kubernetes managed interfaces, then set this field to "Global". The supported values are "Restricted" and "Global".
      • getIpv4

        public IPv4GatewayConfig getIpv4()
        GatewayConfig holds node gateway-related parsed config file parameters and command-line overrides
      • setIpv4

        public void setIpv4​(IPv4GatewayConfig ipv4)
        GatewayConfig holds node gateway-related parsed config file parameters and command-line overrides
      • getIpv6

        public IPv6GatewayConfig getIpv6()
        GatewayConfig holds node gateway-related parsed config file parameters and command-line overrides
      • setIpv6

        public void setIpv6​(IPv6GatewayConfig ipv6)
        GatewayConfig holds node gateway-related parsed config file parameters and command-line overrides
      • getRoutingViaHost

        public Boolean getRoutingViaHost()
        routingViaHost allows pod egress traffic to exit via the ovn-k8s-mp0 management port into the host before sending it out. If this is not set, traffic will always egress directly from OVN to outside without touching the host stack. Setting this to true means hardware offload will not be supported. Default is false if GatewayConfig is specified.
      • setRoutingViaHost

        public void setRoutingViaHost​(Boolean routingViaHost)
        routingViaHost allows pod egress traffic to exit via the ovn-k8s-mp0 management port into the host before sending it out. If this is not set, traffic will always egress directly from OVN to outside without touching the host stack. Setting this to true means hardware offload will not be supported. Default is false if GatewayConfig is specified.
      • getAdditionalProperties

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

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

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