public class NetworkPool extends MorpheusModel
IPAMProvider implementation.
A Pool typically has a list of host record associated with it and keeps track of reservations that have been made on the particular pool.IPAMProvider| Modifier and Type | Field and Description |
|---|---|
Account |
account |
java.lang.String |
category |
protected java.lang.String |
cidr |
protected java.lang.String |
configuration |
protected java.lang.String |
displayName |
protected java.lang.String |
dnsDomain |
protected java.util.List<java.lang.String> |
dnsServers |
protected java.util.List<java.lang.String> |
dnsSuffixList |
protected java.lang.String |
externalId |
protected java.lang.String |
gateway |
protected java.lang.String |
hostPrefix |
protected java.lang.String |
httpProxy |
protected java.lang.String |
internalId |
protected java.lang.Integer |
ipCount |
protected java.lang.Integer |
ipFreeCount |
java.util.List<NetworkPoolRange> |
ipRanges |
protected java.lang.String |
name |
protected java.lang.String |
netmask |
Account |
owner |
java.lang.String |
parentId |
java.lang.String |
parentType |
protected java.lang.Boolean |
poolEnabled |
NetworkPoolServer |
poolServer |
protected java.lang.String |
refId |
protected java.lang.String |
refType |
NetworkPoolType |
type |
protected java.lang.String |
typeCode |
config, id| Constructor and Description |
|---|
NetworkPool() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCidr()
Gets the CIDR Representation of the network Pool being synced.
|
java.lang.String |
getConfiguration()
Gets the Configuration name this pool is associated with.
|
java.lang.String |
getDisplayName()
Gets the display name of the current Network Pool.
|
java.lang.String |
getDnsDomain()
Gets the Primary DNS Domain for searching for relative hostnames within the network.
|
java.util.List<java.lang.String> |
getDnsServers()
Gets a list of ip addresses of nameservers that are assigned to the relevant Network Pool.
|
java.util.List<java.lang.String> |
getDnsSuffixList()
Gets a list of DNS Search suffixes.
|
java.lang.String |
getExternalId()
Gets the external unique identifier.
|
java.lang.String |
getGateway()
Gets the Gateway ip address related to the current Network Block.
|
java.lang.String |
getHostPrefix()
Gets the Host Prefix associated with this Pool.
|
java.lang.String |
getHttpProxy()
Gets the Proxy Url for the current Pool.
|
java.lang.String |
getInternalId()
Gets an optional alternative reference id field.
|
java.lang.Integer |
getIpCount()
Gets the Total number of ip addresses in the current block range based on the CIDR.
|
java.lang.Integer |
getIpFreeCount()
Gets the Total Number of free ip addresses in the Block that can still be allocated.
|
java.lang.String |
getName()
Gets the Human readable name of the Network Pool this record represents.
|
java.lang.String |
getNetmask()
Gets the subnet mask qualifier as defined by the IPAM Provider for the current pool.
|
java.lang.Boolean |
getPoolEnabled()
Gets the flag representing whether or not the current Network Pool is enabled or disabled.
|
java.lang.String |
getRefId()
Get the unique qualification id for the polymorphic association to the relevant integration.
|
java.lang.String |
getRefType()
Get the String form of the Model class name that this Pool Record is related to.
|
java.lang.String |
getTypeCode()
Gets the unique code correlating to the
NetworkPoolType this pool belongs to. |
void |
setAccountId(java.lang.Long id) |
void |
setCidr(java.lang.String cidr)
Sets the CIDR Block representation of the Network Pool being synced.
|
void |
setConfiguration(java.lang.String configuration)
Sets the Configuration name this pool is associated with.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the current Network Pool.
|
void |
setDnsDomain(java.lang.String dnsDomain)
Sets the Primary DNS Domain for searching for relative hostnames within the network.
|
void |
setDnsServers(java.util.List<java.lang.String> dnsServers)
Sets a list of ip addresses of nameservers that are assigned to the relevant Network Pool.
|
void |
setDnsSuffixList(java.util.List<java.lang.String> dnsSuffixList)
Sets a list of DNS Search suffixes.
|
void |
setExternalId(java.lang.String externalId)
Sets the external unique identifer as it relates to the integration provider.
|
void |
setGateway(java.lang.String gateway)
Sets the Gateway ip address related to the current Network Block.
|
void |
setHostPrefix(java.lang.String hostPrefix)
Sets the Host Prefix associated with this Pool.
|
void |
setHttpProxy(java.lang.String httpProxy)
Sets the Proxy Url for the current Pool.
|
void |
setInternalId(java.lang.String internalId)
Sets an alternative reference id that can be used by the relevant
IPAMProvider implementation for whatever purposes
are needed during sync operations. |
void |
setIpCount(java.lang.Integer ipCount)
Sets the Total number of ip addresses in the current block range based on the CIDR.
|
void |
setIpFreeCount(java.lang.Integer ipFreeCount)
Sets the Total Number of free ip addresses in the Block that can still be allocated.
|
void |
setName(java.lang.String name)
Sets the human readable name of the network pool this record represents.
|
void |
setNetmask(java.lang.String netmask)
Sets the subnet mask qualifier as defined by the IPAM Integration in question.
|
void |
setOwnerId(java.lang.Long id) |
void |
setPoolEnabled(java.lang.Boolean poolEnabled)
Sets the flag representing whether or not the current Network Pool is enabled or disabled.
|
void |
setPoolServerId(java.lang.Long id) |
void |
setRefId(java.lang.String refId)
Set the unique qualification id for the polymorphic association to the relevant integration.
|
void |
setRefType(java.lang.String refType)
Set the String form of the Model class name that this Pool Record is related to.
|
void |
setTypeCode(java.lang.String typeCode)
Sets the unique code correlating to the
NetworkPoolType this pool belongs to. |
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, markClean, markDirty, setConfig, setConfigMap, setIdprotected java.lang.String typeCode
protected java.lang.String name
protected java.lang.String displayName
protected java.lang.String internalId
protected java.lang.String externalId
protected java.lang.String dnsDomain
protected java.lang.String hostPrefix
protected java.lang.String httpProxy
protected java.util.List<java.lang.String> dnsServers
protected java.util.List<java.lang.String> dnsSuffixList
protected java.lang.String gateway
protected java.lang.String netmask
protected java.lang.Integer ipCount
protected java.lang.Integer ipFreeCount
protected java.lang.Boolean poolEnabled
protected java.lang.String refType
protected java.lang.String refId
protected java.lang.String configuration
protected java.lang.String cidr
public NetworkPoolServer poolServer
public Account account
public Account owner
public NetworkPoolType type
public java.lang.String parentType
public java.lang.String parentId
public java.lang.String category
public java.util.List<NetworkPoolRange> ipRanges
public java.lang.String getTypeCode()
NetworkPoolType this pool belongs to. Pool type codes are globally unique.
An IPAMProvider provides a lost of pull types that are usable via the IPAMProvider.getProvidedPoolServerTypes() method.NetworkPoolType this record belongs to.public void setTypeCode(java.lang.String typeCode)
NetworkPoolType this pool belongs to. Pool type codes are globally unique.
An IPAMProvider provides a lost of pull types that are usable via the IPAMProvider.getProvidedPoolServerTypes() method.typeCode - the code correlating to the NetworkPoolType this record belongs to.public java.lang.String getName()
public void setName(java.lang.String name)
name - a String representation of the human readable name of the current network pool.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - String representing the user friendly name of the pool.public java.lang.String getInternalId()
IPAMProvider implementation.public void setInternalId(java.lang.String internalId)
IPAMProvider implementation for whatever purposes
are needed during sync operations.internalId - an alternative identifier used for sync purposes dependent on implementation.public java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
externalId - the external unique identifier representation of this cloud from the external integration.public java.lang.String getDnsDomain()
IPAMProvider syncs this data.public void setDnsDomain(java.lang.String dnsDomain)
IPAMProvider syncs this data.dnsDomain - The Primary DNS Domain for this networkpublic java.lang.String getHostPrefix()
public void setHostPrefix(java.lang.String hostPrefix)
hostPrefix - a host prefix qualifierpublic java.lang.String getHttpProxy()
public void setHttpProxy(java.lang.String httpProxy)
httpProxy - the Proxy URL for the specified Network Poolpublic java.util.List<java.lang.String> getDnsServers()
Network during IP Allocation but if that data has not been entered, it could be grabbed from the pool datapublic void setDnsServers(java.util.List<java.lang.String> dnsServers)
Network during IP Allocation but if that data has not been entered, it could be grabbed from the pool datadnsServers - a List of ip addresses in priority order of nameservers.public java.util.List<java.lang.String> getDnsSuffixList()
IPAMProvider blocks provide network detail information. If that information
is not defined on the Network that the pool is used for within Morpheus, this information is utilizedpublic void setDnsSuffixList(java.util.List<java.lang.String> dnsSuffixList)
IPAMProvider blocks provide network detail information. If that information
is not defined on the Network that the pool is used for within Morpheus, this information is utilizeddnsSuffixList - a List of DNS Search Suffixespublic java.lang.String getGateway()
Network object during IP Allocation. However, if that information has not been specified by the user, then this
property will be checked to see if an available Gateway IP Address can be assigned to the Server being provisioned.public void setGateway(java.lang.String gateway)
Network object during IP Allocation. However, if that information has not been specified by the user, then this
property will be checked to see if an available Gateway IP Address can be assigned to the Server being provisioned.gateway - the gateway ip address of the current poolpublic java.lang.String getNetmask()
public void setNetmask(java.lang.String netmask)
Network object during IP allocation, this information will be used if it is available.netmask - the subnet mask of the current Network Poolpublic java.lang.Integer getIpCount()
public void setIpCount(java.lang.Integer ipCount)
ipCount - numerical count of number of ip addresses available within the current block.public java.lang.Integer getIpFreeCount()
IPAMProvider implementations
set this directly based on information from the target API, and others have to calculate this based on synced IP records.public void setIpFreeCount(java.lang.Integer ipFreeCount)
IPAMProvider implementations
set this directly based on information from the target API, and others have to calculate this based on synced IP records.ipFreeCount - total number of free ip addresses that can be allocated on this Network Poolpublic java.lang.Boolean getPoolEnabled()
public void setPoolEnabled(java.lang.Boolean poolEnabled)
poolEnabled - enabled state of the current poolpublic java.lang.String getRefType()
public void setRefType(java.lang.String refType)
refType - the Reference Type class name of the associated integration, typically NULL for this use casepublic java.lang.String getRefId()
public void setRefId(java.lang.String refId)
refId - the reference id to the associated CloudProvider in the event this pool is synced from a CloudProvider.public java.lang.String getConfiguration()
public void setConfiguration(java.lang.String configuration)
configuration - a String representation of the configuration name.public java.lang.String getCidr()
public void setCidr(java.lang.String cidr)
cidr - the CIDR block represented by the current pool.public void setPoolServerId(java.lang.Long id)
public void setAccountId(java.lang.Long id)
public void setOwnerId(java.lang.Long id)