Class NIC


  • public class NIC
    extends Object
    • Method Detail

      • getDhcp

        public String getDhcp()
        Returns:
        The IP address offered by DHCP to network interface 0. If unset, no address is offered. Set to 'auto' to allocate a temporary IP at boot.
      • getModel

        public Model getModel()
        Returns:
        Create network interface with given type (use 'e1000' as default value; 'rtl8139' or 'virtio' are also available).
      • getVlan

        public String getVlan()
        Returns:
        The VLAN to which the network interface is attached.
      • getMac

        public String getMac()
        Returns:
        The MAC address of the network interface. If unset, a randomly generated address is used. If set, should be unique on the VLAN.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object