public class HypervCreateIPPool
extends java.lang.Object
Creates IP pool
This task allows the user to create an IP pool by selecting a subnet under a site. There can be multiple
non overlapping IP pools created for a subnet.
This task is supported for the following versions of SCVMM:
- SCVMM 2012 SP1
- SCVMM 2012 R2
Modifier | Constructor and Description |
---|---|
protected |
HypervCreateIPPool() |
|
HypervCreateIPPool(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
HypervCreateIPPoolResponse |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getDnsServerIPAddress() |
java.lang.String |
getDnsSuffix() |
java.lang.String |
getEndIPAddress() |
java.lang.String |
getGatewayIPAddress() |
int |
getGatewayMetric() |
java.lang.String |
getIpPoolName() |
java.lang.String |
getLogicalNetwork() |
java.lang.String |
getLogicalNetworkDefinition() |
java.lang.String |
getStartIPAddress() |
java.lang.String |
getSubNet() |
java.lang.String |
getWinsServerIPAddress() |
boolean |
isAutomaticGWMetric() |
boolean |
isEnableNetBIOS() |
void |
setAutomaticGWMetric(boolean automaticGWMetric)
Choose this options to set gateway metric to automatic
|
void |
setCuicServer(CuicServer api) |
void |
setDnsServerIPAddress(java.lang.String dnsServerIPAddress)
Enter DNS Server IP Address
|
void |
setDnsSuffix(java.lang.String dnsSuffix)
Enter DNS Suffix
|
void |
setEnableNetBIOS(boolean enableNetBIOS)
Choose this options to allow NetBIOS over TCP/IP
|
void |
setEndIPAddress(java.lang.String endIPAddress)
End IP Address
|
void |
setGatewayIPAddress(java.lang.String gatewayIPAddress)
Enter Gateway IP Address
|
void |
setGatewayMetric(int gatewayMetric)
Enter gateway metric in the range 1 - 9999
Set this value only when automaticGWMetric not equals to true
|
void |
setIpPoolName(java.lang.String ipPoolName)
IP Pool Name
|
void |
setLogicalNetwork(java.lang.String logicalNetwork)
Select logical network
Accepts value from list type hypervLogicalNetworkIdentity
|
void |
setLogicalNetworkDefinition(java.lang.String logicalNetworkDefinition)
Select a logical network definition.
|
void |
setStartIPAddress(java.lang.String startIPAddress)
Start IP Address
|
void |
setSubNet(java.lang.String subNet)
Select a subnet.
|
void |
setWinsServerIPAddress(java.lang.String winsServerIPAddress)
Enter WINS Server IP Address
|
protected HypervCreateIPPool()
public HypervCreateIPPool(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getIpPoolName()
public java.lang.String getLogicalNetwork()
public java.lang.String getLogicalNetworkDefinition()
public java.lang.String getSubNet()
public java.lang.String getStartIPAddress()
public java.lang.String getEndIPAddress()
public java.lang.String getGatewayIPAddress()
public boolean isAutomaticGWMetric()
public int getGatewayMetric()
public java.lang.String getDnsServerIPAddress()
public java.lang.String getDnsSuffix()
public java.lang.String getWinsServerIPAddress()
public boolean isEnableNetBIOS()
public void setIpPoolName(java.lang.String ipPoolName)
public void setLogicalNetwork(java.lang.String logicalNetwork)
public void setLogicalNetworkDefinition(java.lang.String logicalNetworkDefinition)
public void setSubNet(java.lang.String subNet)
public void setStartIPAddress(java.lang.String startIPAddress)
public void setEndIPAddress(java.lang.String endIPAddress)
public void setGatewayIPAddress(java.lang.String gatewayIPAddress)
public void setAutomaticGWMetric(boolean automaticGWMetric)
public void setGatewayMetric(int gatewayMetric)
public void setDnsServerIPAddress(java.lang.String dnsServerIPAddress)
public void setDnsSuffix(java.lang.String dnsSuffix)
public void setWinsServerIPAddress(java.lang.String winsServerIPAddress)
public void setEnableNetBIOS(boolean enableNetBIOS)
public HypervCreateIPPoolResponse execute() throws java.lang.Exception
java.lang.Exception