vmware / vmware/powershell-module-for-vmware-cloud-foundation-instance-recovery

Enhance New-ServicesRuntime to Obtain $networkMoId Automatically

Open
#67 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs-review pending-review
Dominant language
PowerShell
Stars
5
Forks
3
Avg merge
2d 18h
Merged PRs (30d)
1

Description

Code of Conduct
  • I have read and agree to the project's Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description

Currently the New-ServicesRuntime cmdlet requests a moRef for the vSphere Distributed Switch Portgroup which requires a customer to manually go and obtain.

We should enhance the function so that we either ask for the friendly name and we obtain within the code or we use the extracted backup data to source both.

Use Case(s)

Reduce the steps on the end customer by obtaining the moRef through automation

Potential Configuration

(Get-VDPortgroup -Name "sfo-m01-cl01-vds01-pg-vm-mgmt").ExtensionData.MoRef

References

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the New-ServicesRuntime cmdlet and trace how it currently requests the vSphere Distributed Switch Portgroup moRef. Review the Get-VDPortgroup example and ExtensionData.MoRef access described in the issue; done means the cmdlet can obtain the required network moRef automatically instead of requiring a customer to find it manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.