Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Update vApp to create VMs from template #717

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

antonio-napoles
Copy link

@antonio-napoles antonio-napoles commented Nov 3, 2020

-Short description: Makes easier to create a new VM and attach it to the vApp by providing the vapp template name and VM template name as input parameters. This also works by proving a vapp name and VM name to create a VM based on any VM from a different vApp.

-Detailed description: Adding a couple of methods to extend the functionality of vApp. Define method create_vm_from_template, this is an extension from add_vm in order to simplify the VM creation. In this method, a vapp template is retrieved from a catalog to be used as an input parameter for add_vm. But create_vm_from_template facilitates the process by accepting the vapp template name as a str parameter. The other method get_template, is used simply to get the tempalte resource the add_vm methods needs as a paramter.

For me as a developer was complex to figure out a way to create a VM based on a template and attached to my vApp by looking at the defined methods. I guess this method will make this operation more accesible and understandable for consumers.


This change is Reviewable

antonio-napoles and others added 3 commits November 3, 2020 16:59
Makes easier to create a new VM and attach it to the vApp by providing the vapp template name and VM template name as input parameters. This also works by proving a vapp name and VM name to create a VM based on any VM from a different vApp.
…m-template

Update vApp to create VMs from template
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant