Class OpenShiftSDNConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.OpenShiftSDNConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OpenShiftSDNConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OpenShiftSDNConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<OpenShiftSDNConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
OpenShiftSDNConfig was used to configure the OpenShift SDN plugin. It is no longer used.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenShiftSDNConfig()No args constructor for use in serializationOpenShiftSDNConfig(Boolean enableUnidling, String mode, Long mtu, Boolean useExternalOpenvswitch, Long vxlanPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenShiftSDNConfigBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetEnableUnidling()enableUnidling controls whether or not the service proxy will support idling and unidling of services.StringgetMode()mode is one of "Multitenant", "Subnet", or "NetworkPolicy"LonggetMtu()mtu is the mtu to use for the tunnel interface.BooleangetUseExternalOpenvswitch()useExternalOpenvswitch used to control whether the operator would deploy an OVS DaemonSet itself or expect someone else to start OVS.LonggetVxlanPort()vxlanPort is the port to use for all vxlan packets.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEnableUnidling(Boolean enableUnidling)enableUnidling controls whether or not the service proxy will support idling and unidling of services.voidsetMode(String mode)mode is one of "Multitenant", "Subnet", or "NetworkPolicy"voidsetMtu(Long mtu)mtu is the mtu to use for the tunnel interface.voidsetUseExternalOpenvswitch(Boolean useExternalOpenvswitch)useExternalOpenvswitch used to control whether the operator would deploy an OVS DaemonSet itself or expect someone else to start OVS.voidsetVxlanPort(Long vxlanPort)vxlanPort is the port to use for all vxlan packets.OpenShiftSDNConfigBuildertoBuilder()
-
-
-
Method Detail
-
getEnableUnidling
public Boolean getEnableUnidling()
enableUnidling controls whether or not the service proxy will support idling and unidling of services. By default, unidling is enabled.
-
setEnableUnidling
public void setEnableUnidling(Boolean enableUnidling)
enableUnidling controls whether or not the service proxy will support idling and unidling of services. By default, unidling is enabled.
-
getMode
public String getMode()
mode is one of "Multitenant", "Subnet", or "NetworkPolicy"
-
setMode
public void setMode(String mode)
mode is one of "Multitenant", "Subnet", or "NetworkPolicy"
-
getMtu
public Long getMtu()
mtu is the mtu to use for the tunnel interface. Defaults to 1450 if unset. This must be 50 bytes smaller than the machine's uplink.
-
setMtu
public void setMtu(Long mtu)
mtu is the mtu to use for the tunnel interface. Defaults to 1450 if unset. This must be 50 bytes smaller than the machine's uplink.
-
getUseExternalOpenvswitch
public Boolean getUseExternalOpenvswitch()
useExternalOpenvswitch used to control whether the operator would deploy an OVS DaemonSet itself or expect someone else to start OVS. As of 4.6, OVS is always run as a system service, and this flag is ignored.
-
setUseExternalOpenvswitch
public void setUseExternalOpenvswitch(Boolean useExternalOpenvswitch)
useExternalOpenvswitch used to control whether the operator would deploy an OVS DaemonSet itself or expect someone else to start OVS. As of 4.6, OVS is always run as a system service, and this flag is ignored.
-
getVxlanPort
public Long getVxlanPort()
vxlanPort is the port to use for all vxlan packets. The default is 4789.
-
setVxlanPort
public void setVxlanPort(Long vxlanPort)
vxlanPort is the port to use for all vxlan packets. The default is 4789.
-
edit
public OpenShiftSDNConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OpenShiftSDNConfigBuilder>
-
toBuilder
public OpenShiftSDNConfigBuilder toBuilder()
-
-