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.StaticStructureRealization 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 classTransportNodeCollectionState.BuilderBuilder class forTransportNodeCollectionState.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFieldsstatic java.lang.StringSTATE_FAILED_TO_CREATEstatic java.lang.StringSTATE_FAILED_TO_REALIZEstatic java.lang.StringSTATE_IN_PROGRESSstatic java.lang.StringSTATE_PROFILE_MISMATCHstatic java.lang.StringSTATE_SEG_SYNCstatic java.lang.StringSTATE_SUCCESSstatic java.lang.StringSTATE_TNP_CREATEstatic java.lang.StringSTATE_TZ_CREATE
-
Constructor Summary
Constructors Modifier Constructor Description TransportNodeCollectionState()Default constructor.protectedTransportNodeCollectionState(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()booleanequals(java.lang.Object obj)java.lang.LonggetAggregateProgressPercentage()Average of all transport node deployment progress in a cluster.java.lang.StringgetClusterLevelError()Errors while applying transport node profile which need cluster level action to resolvejava.lang.StringgetState()Possible values are:STATE_FAILED_TO_CREATESTATE_FAILED_TO_REALIZESTATE_IN_PROGRESSSTATE_PROFILE_MISMATCHSTATE_SUCCESSSTATE_TZ_CREATESTATE_TNP_CREATESTATE_SEG_SYNCIf the host preparation or transport node creation is going on for any host then state will be \"IN_PROGRESS\".java.lang.StringgetStateDetail()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.StringgetVlcmTransitionError()When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered.inthashCode()voidsetAggregateProgressPercentage(java.lang.Long aggregateProgressPercentage)Average of all transport node deployment progress in a cluster.voidsetClusterLevelError(java.lang.String clusterLevelError)Errors while applying transport node profile which need cluster level action to resolvevoidsetState(java.lang.String state)Possible values are:STATE_FAILED_TO_CREATESTATE_FAILED_TO_REALIZESTATE_IN_PROGRESSSTATE_PROFILE_MISMATCHSTATE_SUCCESSSTATE_TZ_CREATESTATE_TNP_CREATESTATE_SEG_SYNCIf the host preparation or transport node creation is going on for any host then state will be \"IN_PROGRESS\".voidsetStateDetail(java.lang.String stateDetail)Detailed information about the current state of the installationvoidsetValidationErrors(java.util.List<ValidationError> validationErrors)Transport node profile(TNP) will not be applied to a discovered node(DN) if some validations are not passed.voidsetVlcmTransitionError(java.lang.String vlcmTransitionError)When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered.java.lang.StringtoString()
-
-
-
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:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin 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:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein 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.
-
-