Package com.vmware.nsx_policy.model
Class TransportNodeCollectionState
- java.lang.Object
-
- com.vmware.nsx_policy.model.TransportNodeCollectionState
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class TransportNodeCollectionState extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Realization state of attaching or detaching Transport node profile on compute collection.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransportNodeCollectionState.Builder
Builder class forTransportNodeCollectionState
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
static java.lang.String
STATE_FAILED_TO_CREATE
static java.lang.String
STATE_FAILED_TO_REALIZE
static java.lang.String
STATE_IN_PROGRESS
static java.lang.String
STATE_PROFILE_MISMATCH
static java.lang.String
STATE_SEG_SYNC
static java.lang.String
STATE_SUCCESS
static java.lang.String
STATE_TNP_CREATE
static java.lang.String
STATE_TZ_CREATE
-
Constructor Summary
Constructors Modifier Constructor Description TransportNodeCollectionState()
Default constructor.protected
TransportNodeCollectionState(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_convertTo(java.lang.Class<T> clazz)
java.lang.String
_getCanonicalName()
static java.lang.String
_getCanonicalTypeName()
Returns the canonical type name.static com.vmware.vapi.bindings.type.StructType
_getClassType()
WARNING: Internal method, subject to change in future versions.com.vmware.vapi.data.StructValue
_getDataValue()
com.vmware.vapi.data.DataValue
_getDynamicField(java.lang.String fieldName)
java.util.Set<java.lang.String>
_getDynamicFieldNames()
com.vmware.vapi.bindings.type.StructType
_getType()
boolean
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
static TransportNodeCollectionState
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.static TransportNodeCollectionState
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.void
_setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
protected void
_updateDataValue(com.vmware.vapi.data.StructValue structValue)
void
_validate()
boolean
equals(java.lang.Object obj)
java.lang.Long
getAggregateProgressPercentage()
Average of all transport node deployment progress in a cluster.java.lang.String
getClusterLevelError()
Errors while applying transport node profile which need cluster level action to resolvejava.lang.String
getState()
Possible values are:STATE_FAILED_TO_CREATE
STATE_FAILED_TO_REALIZE
STATE_IN_PROGRESS
STATE_PROFILE_MISMATCH
STATE_SUCCESS
STATE_TZ_CREATE
STATE_TNP_CREATE
STATE_SEG_SYNC
If the host preparation or transport node creation is going on for any host then state will be \"IN_PROGRESS\".java.lang.String
getStateDetail()
Detailed information about the current state of the installationjava.util.List<ValidationError>
getValidationErrors()
Transport node profile(TNP) will not be applied to a discovered node(DN) if some validations are not passed.java.lang.String
getVlcmTransitionError()
When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered.int
hashCode()
void
setAggregateProgressPercentage(java.lang.Long aggregateProgressPercentage)
Average of all transport node deployment progress in a cluster.void
setClusterLevelError(java.lang.String clusterLevelError)
Errors while applying transport node profile which need cluster level action to resolvevoid
setState(java.lang.String state)
Possible values are:STATE_FAILED_TO_CREATE
STATE_FAILED_TO_REALIZE
STATE_IN_PROGRESS
STATE_PROFILE_MISMATCH
STATE_SUCCESS
STATE_TZ_CREATE
STATE_TNP_CREATE
STATE_SEG_SYNC
If the host preparation or transport node creation is going on for any host then state will be \"IN_PROGRESS\".void
setStateDetail(java.lang.String stateDetail)
Detailed information about the current state of the installationvoid
setValidationErrors(java.util.List<ValidationError> validationErrors)
Transport node profile(TNP) will not be applied to a discovered node(DN) if some validations are not passed.void
setVlcmTransitionError(java.lang.String vlcmTransitionError)
When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered.java.lang.String
toString()
-
-
-
Field Detail
-
STATE_FAILED_TO_CREATE
public static final java.lang.String STATE_FAILED_TO_CREATE
- See Also:
- Constant Field Values
-
STATE_FAILED_TO_REALIZE
public static final java.lang.String STATE_FAILED_TO_REALIZE
- See Also:
- Constant Field Values
-
STATE_IN_PROGRESS
public static final java.lang.String STATE_IN_PROGRESS
- See Also:
- Constant Field Values
-
STATE_PROFILE_MISMATCH
public static final java.lang.String STATE_PROFILE_MISMATCH
- See Also:
- Constant Field Values
-
STATE_SUCCESS
public static final java.lang.String STATE_SUCCESS
- See Also:
- Constant Field Values
-
STATE_TZ_CREATE
public static final java.lang.String STATE_TZ_CREATE
- See Also:
- Constant Field Values
-
STATE_TNP_CREATE
public static final java.lang.String STATE_TNP_CREATE
- See Also:
- Constant Field Values
-
STATE_SEG_SYNC
public static final java.lang.String STATE_SEG_SYNC
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getAggregateProgressPercentage
public java.lang.Long getAggregateProgressPercentage()
Average of all transport node deployment progress in a cluster. Applicable only if transport node profile is applied on a cluster. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setAggregateProgressPercentage
public void setAggregateProgressPercentage(java.lang.Long aggregateProgressPercentage)
Average of all transport node deployment progress in a cluster. Applicable only if transport node profile is applied on a cluster. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
aggregateProgressPercentage
- New value for the property.
-
getClusterLevelError
public java.lang.String getClusterLevelError()
Errors while applying transport node profile which need cluster level action to resolve- Returns:
- The current value of the property.
-
setClusterLevelError
public void setClusterLevelError(java.lang.String clusterLevelError)
Errors while applying transport node profile which need cluster level action to resolve- Parameters:
clusterLevelError
- New value for the property.
-
getState
public java.lang.String getState()
Possible values are: If the host preparation or transport node creation is going on for any host then state will be \"IN_PROGRESS\". If setting desired state of the transport node failed for any of the host then state will be \"FAILED_TO_CREATE\" If realization of transport node failed for any of the host then state will be \"FAILED_TO_REALIZE\" If Transport node is successfully created for all of the hosts in compute collection then state will be \"SUCCESS\" You can override the configuration for one or more hosts in the compute collection by update TN(transport node) request on individual TN. If TN is successfully created for all hosts in compute collection and one or more hosts have overridden configuration then transport node collection state will be \"PROFILE_MISMATCH\". The installations triggered via VC import to VCF and Quick Start will support the following additional states: TZ_CREATE - When the install activity is reading VDS inventory from vCenter and creating corresponding VLAN transport zone objects TNP_CREATE - When the install activity is creating transport-node-profile based on the VDS to ESX host membership for a given cluster SEG_SYNC - This indicates that NSX is reading all DVPortgroup inventory associated with the vCenter cluster and creating the corresponding discovered segments. This state depends on the transport node states. If any update is done (e.g. update transport node profile attached to a cluster, update another transport node profile on a cluster), then transport node collection state might still show same state as before(e.g. SUCCESS if all transport nodes are in SUCCESS state before) until the transport node realization gets started. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setState
public void setState(java.lang.String state)
Possible values are: If the host preparation or transport node creation is going on for any host then state will be \"IN_PROGRESS\". If setting desired state of the transport node failed for any of the host then state will be \"FAILED_TO_CREATE\" If realization of transport node failed for any of the host then state will be \"FAILED_TO_REALIZE\" If Transport node is successfully created for all of the hosts in compute collection then state will be \"SUCCESS\" You can override the configuration for one or more hosts in the compute collection by update TN(transport node) request on individual TN. If TN is successfully created for all hosts in compute collection and one or more hosts have overridden configuration then transport node collection state will be \"PROFILE_MISMATCH\". The installations triggered via VC import to VCF and Quick Start will support the following additional states: TZ_CREATE - When the install activity is reading VDS inventory from vCenter and creating corresponding VLAN transport zone objects TNP_CREATE - When the install activity is creating transport-node-profile based on the VDS to ESX host membership for a given cluster SEG_SYNC - This indicates that NSX is reading all DVPortgroup inventory associated with the vCenter cluster and creating the corresponding discovered segments. This state depends on the transport node states. If any update is done (e.g. update transport node profile attached to a cluster, update another transport node profile on a cluster), then transport node collection state might still show same state as before(e.g. SUCCESS if all transport nodes are in SUCCESS state before) until the transport node realization gets started. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
state
- New value for the property.
-
getStateDetail
public java.lang.String getStateDetail()
Detailed information about the current state of the installation- Returns:
- The current value of the property.
-
setStateDetail
public void setStateDetail(java.lang.String stateDetail)
Detailed information about the current state of the installation- Parameters:
stateDetail
- New value for the property.
-
getValidationErrors
public java.util.List<ValidationError> getValidationErrors()
Transport node profile(TNP) will not be applied to a discovered node(DN) if some validations are not passed. In this case transport node is not created or existing transport node is not updated with TNP configurations.- Returns:
- The current value of the property.
-
setValidationErrors
public void setValidationErrors(java.util.List<ValidationError> validationErrors)
Transport node profile(TNP) will not be applied to a discovered node(DN) if some validations are not passed. In this case transport node is not created or existing transport node is not updated with TNP configurations.- Parameters:
validationErrors
- New value for the property.
-
getVlcmTransitionError
public java.lang.String getVlcmTransitionError()
When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered. This field indicates error in this special case. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setVlcmTransitionError
public void setVlcmTransitionError(java.lang.String vlcmTransitionError)
When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered. This field indicates error in this special case. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vlcmTransitionError
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static TransportNodeCollectionState _newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.- Parameters:
structValue
- the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.- Returns:
- the static bindings
StructType
-
_newInstance2
public static TransportNodeCollectionState _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-