Class TransportNodeCollectionState.Builder

    • Method Detail

      • setAggregateProgressPercentage

        public TransportNodeCollectionState.Builder 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.
      • setClusterLevelError

        public TransportNodeCollectionState.Builder 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.
      • setState

        public TransportNodeCollectionState.Builder 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.
      • setStateDetail

        public TransportNodeCollectionState.Builder setStateDetail​(java.lang.String stateDetail)
        Detailed information about the current state of the installation
        Parameters:
        stateDetail - New value for the property.
      • setValidationErrors

        public TransportNodeCollectionState.Builder 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.
      • setVlcmTransitionError

        public TransportNodeCollectionState.Builder 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.