public class VdsNetworkInterface extends NetworkInterface<VdsNetworkStatistics>
id, statistics
Constructor and Description |
---|
VdsNetworkInterface() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Returns the network address.
|
Boolean |
getBonded()
Returns if the interface is bonded or not.
|
String |
getBondName()
Returns the bond name.
|
String |
getBondOptions()
Returns the bond options.
|
Integer |
getBondType()
Returns the bond type.
|
NetworkBootProtocol |
getBootProtocol()
Returns the boot protocol.
|
ArrayList<String> |
getChangeablePropertiesList() |
String |
getGateway()
Returns the gateway.
|
boolean |
getIsManagement()
Returns if this is the management interface.
|
Object |
getQueryableId() |
String |
getSubnet()
Returns the subnet.
|
NGuid |
getVdsId()
Returns the VDS id.
|
String |
getVdsName()
Returns the VDS entity's name.
|
Integer |
getVlanId()
Returns the VLAN id.
|
void |
setAddress(String address)
Sets the network address.
|
void |
setBonded(Boolean bonded)
Sets whether the interface is bonded or not.
|
void |
setBondName(String bondName)
Sets the bond name.
|
void |
setBondOptions(String bondOptions)
Sets the bond options.
|
void |
setBondType(Integer bondType)
Sets the bond type.
|
void |
setBootProtocol(NetworkBootProtocol bootProtocol)
Sets the boot protocol.
|
void |
setGateway(String gateway)
Sets the gateway.
|
void |
setIsManagement(boolean isManagement) |
void |
setSubnet(String subnet)
Sets the address's subnet.
|
void |
setVdsId(NGuid vdsId)
Sets the related VDS id.
|
void |
setVdsName(String vdsName)
Sets the VDS entity's name.
|
void |
setVlanId(Integer vlanId)
Sets the VLAN id
|
getId, getMacAddress, getName, getNetworkName, getSpeed, getStatistics, getType, setId, setMacAddress, setName, setNetworkName, setSpeed, setStatistics, setType
public void setIsManagement(boolean isManagement)
public boolean getIsManagement()
true
if this is the management interfacepublic void setVdsId(NGuid vdsId)
vdsId
- the idpublic NGuid getVdsId()
public void setVdsName(String vdsName)
vdsName
- the namepublic String getVdsName()
public void setBootProtocol(NetworkBootProtocol bootProtocol)
bootProtocol
- the boot protocolpublic NetworkBootProtocol getBootProtocol()
public void setAddress(String address)
address
- the addresspublic String getAddress()
public void setSubnet(String subnet)
subnet
- the subnetpublic String getSubnet()
public void setGateway(String gateway)
gateway
- the gatewaypublic String getGateway()
public void setVlanId(Integer vlanId)
vlanId
- the VLAN idpublic Integer getVlanId()
public void setBonded(Boolean bonded)
bonded
- true
if it is bondedpublic Boolean getBonded()
true
if it is bondedpublic void setBondName(String bondName)
bondName
- the bond namepublic String getBondName()
public void setBondType(Integer bondType)
bondType
- the bond typepublic Integer getBondType()
public void setBondOptions(String bondOptions)
bondOptions
- the bond optionspublic String getBondOptions()
public Object getQueryableId()
getQueryableId
in class IVdcQueryable
public ArrayList<String> getChangeablePropertiesList()
getChangeablePropertiesList
in class IVdcQueryable
Copyright © 2012. All Rights Reserved.