Class ClusterNetworkEntry
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.network.v1.ClusterNetworkEntry
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterNetworkEntry extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ClusterNetworkEntry defines an individual cluster network. The CIDRs cannot overlap with other cluster network CIDRs, CIDRs reserved for external ips, CIDRs reserved for service networks, and CIDRs reserved for ingress ips.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterNetworkEntry()No args constructor for use in serializationClusterNetworkEntry(String cIDR, Long hostSubnetLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterNetworkEntryBuilderedit()Map<String,Object>getAdditionalProperties()StringgetCIDR()CIDR defines the total range of a cluster networks address space.LonggetHostSubnetLength()hostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCIDR(String cIDR)CIDR defines the total range of a cluster networks address space.voidsetHostSubnetLength(Long hostSubnetLength)hostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.ClusterNetworkEntryBuildertoBuilder()
-
-
-
Method Detail
-
getCIDR
public String getCIDR()
CIDR defines the total range of a cluster networks address space.
-
setCIDR
public void setCIDR(String cIDR)
CIDR defines the total range of a cluster networks address space.
-
getHostSubnetLength
public Long getHostSubnetLength()
hostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.
-
setHostSubnetLength
public void setHostSubnetLength(Long hostSubnetLength)
hostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.
-
edit
public ClusterNetworkEntryBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>
-
toBuilder
public ClusterNetworkEntryBuilder toBuilder()
-
-