vmware / powershell-module-for-vmware-cloud-foundation-power-management

PowerShell Module for VMware Cloud Foundation Power Management
https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-power-management/
BSD 2-Clause "Simplified" License
10 stars 8 forks source link

Add support to determine Tanzu virtual machine name through WCP and vCenter Server #54

Closed tenthirtyam closed 9 months ago

tenthirtyam commented 1 year ago

Code of Conduct

Description

Currently we are using "VCF/VVS" name standarts to identify the Tanzu VMs, some of those VMs will have different names in customer environment (-tkc01-.).

Use Case(s)

Do not rely on hard-coded names for components that contain user inputs.

Potential Configuration

The virtual machine names are not random and are connected in some way with the data that user provides during Tanzu configuration. There could be an API that will returns this information.

References

No response

burnsjared0415 commented 10 months ago

I can pick this up if you are ok with

burnsjared0415 commented 9 months ago

today the code does not supported Tanzu enabled clusters, here is the command

    # Check if Tanzu is enabled in WLD
            $status = Get-TanzuEnabledClusterStatus -server $vcServer.fqdn -user $vcUser -pass $vcPass -cluster $cluster.name
            if ($status -eq $True) {
                Write-PowerManagementLogMessage -Type ERROR -Message "Currently workload domains with vSphere with Tanzu are not supported. Exiting."
            }
github-actions[bot] commented 8 months ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.