public class HypervConfigureHostNetworkAdapter
extends java.lang.Object
Configures Host Network Adapter
This task can be used to configure the selected network adapter. VLAN mode (acccess and trunk) can be configured with associated VLANs.
Modifier | Constructor and Description |
---|---|
protected |
HypervConfigureHostNetworkAdapter() |
|
HypervConfigureHostNetworkAdapter(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
int |
getAccesVlanId() |
CuicServer |
getCuicServer() |
java.lang.String |
getHost() |
java.lang.String |
getHostNwAdapter() |
java.lang.String |
getTrunkVlanIDs() |
java.lang.String |
getVlanMode() |
boolean |
isConfigVLAN() |
void |
setAccesVlanId(int accesVlanId)
VLAN ID
Accepts value from list type vlanID
|
void |
setConfigVLAN(boolean configVLAN) |
void |
setCuicServer(CuicServer api) |
void |
setHost(java.lang.String host)
Select host
Accepts value from list type hvHost
|
void |
setHostNwAdapter(java.lang.String hostNwAdapter)
Select host network adapter
|
void |
setTrunkVlanIDs(java.lang.String trunkVlanIDs)
Comma separated list of VLANs.
|
void |
setVlanMode(java.lang.String vlanMode)
Specify the VLAN mode
|
protected HypervConfigureHostNetworkAdapter()
public HypervConfigureHostNetworkAdapter(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getHost()
public java.lang.String getHostNwAdapter()
public boolean isConfigVLAN()
public java.lang.String getVlanMode()
public int getAccesVlanId()
public java.lang.String getTrunkVlanIDs()
public void setHost(java.lang.String host)
public void setHostNwAdapter(java.lang.String hostNwAdapter)
public void setConfigVLAN(boolean configVLAN)
public void setVlanMode(java.lang.String vlanMode)
public void setAccesVlanId(int accesVlanId)
public void setTrunkVlanIDs(java.lang.String trunkVlanIDs)
public void execute() throws java.lang.Exception
java.lang.Exception