|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.vmm.api.VnicIPSettings
public class VnicIPSettings
This class defines the IP settings of a virtual NIC attached to a VM
Nested Class Summary | |
---|---|
static class |
VnicIPSettings.IpAssignmentMode
|
Constructor Summary | |
---|---|
VnicIPSettings()
Constructs an instance of VnicIPSettings |
|
VnicIPSettings(VnicIPSettings other)
Constructs an instance initialized with the settings of another VnicIPSettings instance |
Method Summary | |
---|---|
java.lang.String |
getGateway()
Returns the gateway |
java.lang.String |
getIpAddress()
Returns the IP address |
VnicIPSettings.IpAssignmentMode |
getIpAssignmentMode()
Returns the IP assignement mode of the NIC associated with this instance |
java.lang.String |
getSubnetMask()
Returns the subnet mask |
void |
setGateway(java.lang.String gateway)
Sets the gateway |
void |
setIpAddress(java.lang.String ipAddress)
Sets the IP address of the NIC associated with this instance |
void |
setIpAssignmentMode(VnicIPSettings.IpAssignmentMode ipAssignmentMode)
Sets the the IP assignment mode of the NIC associated with this instance |
void |
setSubnetMask(java.lang.String subnetMask)
Sets the subnet mask |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VnicIPSettings()
public VnicIPSettings(VnicIPSettings other)
other
- the instance whose settings are copied into the new instanceMethod Detail |
---|
public java.lang.String getSubnetMask()
public void setSubnetMask(java.lang.String subnetMask)
subnetMask
- the given subnet maskpublic java.lang.String getGateway()
public void setGateway(java.lang.String gateway)
gateway
- the given gatewaypublic java.lang.String getIpAddress()
public void setIpAddress(java.lang.String ipAddress)
ipAddress
- the given IP addresspublic VnicIPSettings.IpAssignmentMode getIpAssignmentMode()
public void setIpAssignmentMode(VnicIPSettings.IpAssignmentMode ipAssignmentMode)
ipAssignmentMode
- the given IP assignment modepublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |