Class NIC

    • 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.
      • getLldp

        public LLDP getLldp()
        NIC describes one network interface on the host.
      • setLldp

        public void setLldp​(LLDP lldp)
        NIC describes one network interface on the host.
      • 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"
      • getPciAddress

        public String getPciAddress()
        The NIC PCI address
      • setPciAddress

        public void setPciAddress​(String pciAddress)
        The NIC PCI address
      • 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
      • getAdditionalProperties

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

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

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