Class 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
    • 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_TNP_CREATE

        public static final java.lang.String STATE_TNP_CREATE
        See Also:
        Constant Field Values
      • __dynamicStructureFields

        protected com.vmware.vapi.data.StructValue __dynamicStructureFields
    • Constructor Detail

      • TransportNodeCollectionState

        public TransportNodeCollectionState()
        Default constructor.
      • TransportNodeCollectionState

        protected TransportNodeCollectionState​(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 interface com.vmware.vapi.bindings.StaticStructure
      • _getDataValue

        public com.vmware.vapi.data.StructValue _getDataValue()
        Specified by:
        _getDataValue in interface com.vmware.vapi.bindings.Structure
      • _updateDataValue

        protected void _updateDataValue​(com.vmware.vapi.data.StructValue structValue)
      • _validate

        public void _validate()
        Specified by:
        _validate in interface com.vmware.vapi.bindings.StaticStructure
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.vmware.vapi.bindings.StaticStructure
        Overrides:
        toString in class java.lang.Object
      • _hasTypeNameOf

        public boolean _hasTypeNameOf​(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
        Specified by:
        _hasTypeNameOf in interface com.vmware.vapi.bindings.Structure
      • _convertTo

        public <T extends com.vmware.vapi.bindings.Structure> T _convertTo​(java.lang.Class<T> clazz)
        Specified by:
        _convertTo in interface com.vmware.vapi.bindings.Structure
      • _setDynamicField

        public void _setDynamicField​(java.lang.String fieldName,
                                     com.vmware.vapi.data.DataValue fieldValue)
        Specified by:
        _setDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicField

        public com.vmware.vapi.data.DataValue _getDynamicField​(java.lang.String fieldName)
        Specified by:
        _getDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicFieldNames

        public java.util.Set<java.lang.String> _getDynamicFieldNames()
        Specified by:
        _getDynamicFieldNames in interface com.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 this Structure.
      • _getCanonicalName

        public java.lang.String _getCanonicalName()
        Specified by:
        _getCanonicalName in interface com.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.