Class 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 is a single IP address block for pod IP blocks. IP blocks are allocated with size 2^HostSubnetLength.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterNetworkEntry

        public ClusterNetworkEntry()
        No args constructor for use in serialization
      • ClusterNetworkEntry

        public ClusterNetworkEntry​(String cidr,
                                   Integer hostPrefix,
                                   Integer hostSubnetLength)
    • Method Detail

      • getCidr

        public String getCidr()
        ClusterNetworkEntry is a single IP address block for pod IP blocks. IP blocks are allocated with size 2^HostSubnetLength.
      • setCidr

        public void setCidr​(String cidr)
        ClusterNetworkEntry is a single IP address block for pod IP blocks. IP blocks are allocated with size 2^HostSubnetLength.
      • getHostPrefix

        public Integer getHostPrefix()
        HostPrefix is the prefix size to allocate to each node from the CIDR. For example, 24 would allocate 2^8=256 adresses to each node. If this field is not used by the plugin, it can be left unset. When multiple CIDRs of the same family (i.e. IPv4/IPv6) are present, their HostPrefix value must be the same.
      • setHostPrefix

        public void setHostPrefix​(Integer hostPrefix)
        HostPrefix is the prefix size to allocate to each node from the CIDR. For example, 24 would allocate 2^8=256 adresses to each node. If this field is not used by the plugin, it can be left unset. When multiple CIDRs of the same family (i.e. IPv4/IPv6) are present, their HostPrefix value must be the same.
      • getHostSubnetLength

        public Integer getHostSubnetLength()
        The size of blocks to allocate from the larger pool. This is the length in bits - so a 9 here will allocate a /23.
      • setHostSubnetLength

        public void setHostSubnetLength​(Integer hostSubnetLength)
        The size of blocks to allocate from the larger pool. This is the length in bits - so a 9 here will allocate a /23.
      • getAdditionalProperties

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

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

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