Class NetworkDeviceSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class NetworkDeviceSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<NetworkDeviceSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    NetworkDeviceSpec defines network config for static IP assignment.
    See Also:
    Serialized Form
    • Constructor Detail

      • NetworkDeviceSpec

        public NetworkDeviceSpec()
        No args constructor for use in serialization
    • Method Detail

      • getGateway

        public String getGateway()
        gateway is an IPv4 or IPv6 address which represents the subnet gateway, for example, 192.168.1.1.
      • setGateway

        public void setGateway​(String gateway)
        gateway is an IPv4 or IPv6 address which represents the subnet gateway, for example, 192.168.1.1.
      • getIpAddrs

        public List<String> getIpAddrs()
        ipAddrs is a list of one or more IPv4 and/or IPv6 addresses and CIDR to assign to this device, for example, 192.168.1.100/24. IP addresses provided via ipAddrs are intended to allow explicit assignment of a machine's IP address.
      • setIpAddrs

        public void setIpAddrs​(List<String> ipAddrs)
        ipAddrs is a list of one or more IPv4 and/or IPv6 addresses and CIDR to assign to this device, for example, 192.168.1.100/24. IP addresses provided via ipAddrs are intended to allow explicit assignment of a machine's IP address.
      • getNameservers

        public List<String> getNameservers()
        nameservers is a list of IPv4 and/or IPv6 addresses used as DNS nameservers, for example, 8.8.8.8. a nameserver is not provided by a fulfilled IPAddressClaim. If DHCP is not the source of IP addresses for this network device, nameservers should include a valid nameserver.
      • setNameservers

        public void setNameservers​(List<String> nameservers)
        nameservers is a list of IPv4 and/or IPv6 addresses used as DNS nameservers, for example, 8.8.8.8. a nameserver is not provided by a fulfilled IPAddressClaim. If DHCP is not the source of IP addresses for this network device, nameservers should include a valid nameserver.
      • getAdditionalProperties

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

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

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