Class NIC

java.lang.Object
org.jclouds.elasticstack.domain.NIC

public class NIC extends Object
  • Constructor Details

  • Method Details

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

      public Set<String> getBlock()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object