Class NIC

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class NIC
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<NICBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    NIC describes one network interface on the host.
    See Also:
    Serialized Form
    • Method Detail

      • getIp

        public String getIp()
        The IP address of the interface. This will be an IPv4 or IPv6 address if one is present. If both IPv4 and IPv6 addresses are present in a dual-stack environment, two nics will be output, one with each IP.
      • setIp

        public void setIp​(String ip)
        The IP address of the interface. This will be an IPv4 or IPv6 address if one is present. If both IPv4 and IPv6 addresses are present in a dual-stack environment, two nics will be output, one with each IP.
      • getMac

        public String getMac()
        The device MAC address
      • setMac

        public void setMac​(String mac)
        The device MAC address
      • getModel

        public String getModel()
        The vendor and product IDs of the NIC, e.g. "0x8086 0x1572"
      • setModel

        public void setModel​(String model)
        The vendor and product IDs of the NIC, e.g. "0x8086 0x1572"
      • getName

        public String getName()
        The name of the network interface, e.g. "en0"
      • setName

        public void setName​(String name)
        The name of the network interface, e.g. "en0"
      • getPxe

        public Boolean getPxe()
        Whether the NIC is PXE Bootable
      • setPxe

        public void setPxe​(Boolean pxe)
        Whether the NIC is PXE Bootable
      • getSpeedGbps

        public Integer getSpeedGbps()
        The speed of the device in Gigabits per second
      • setSpeedGbps

        public void setSpeedGbps​(Integer speedGbps)
        The speed of the device in Gigabits per second
      • getVlanId

        public Integer getVlanId()
        The untagged VLAN ID
      • setVlanId

        public void setVlanId​(Integer vlanId)
        The untagged VLAN ID
      • getVlans

        public List<VLAN> getVlans()
        The VLANs available
      • setVlans

        public void setVlans​(List<VLAN> vlans)
        The VLANs available
      • edit

        public NICBuilder edit()
        Specified by:
        edit in interface io.fabric8.kubernetes.api.builder.Editable<NICBuilder>
      • getAdditionalProperties

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

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

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