org.jclouds.elasticstack.domain
Class NIC
java.lang.Object
org.jclouds.elasticstack.domain.NIC
public class NIC
- extends Object
- Author:
- Adrian Cole
NIC
public NIC(@Nullable
String dhcp,
Model model,
@Nullable
String vlan,
@Nullable
String mac,
Iterable<String> block)
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
Copyright © 2009-2011 jclouds. All Rights Reserved.