-
Notifications
You must be signed in to change notification settings - Fork 1.9k
CNV-9030 New UI for Virtual Machine Templates #28478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * virt/vm_templates/virt-creating-vm-template.adoc | ||
|
|
||
| [id="virt-understanding-vm-templates-web_{context}"] | ||
| = About virtual machine templates | ||
|
|
||
| Preconfigured Red Hat virtual machine templates are listed in the *Templates* tab within the *Virtualization* page. These templates are available for different versions of Red Hat Enterprise Linux, Fedora, Microsoft Windows 10, and Microsoft Windows Servers. Each Red Hat virtual machine template is preconfigured with the operating system image, default settings for the operating system, flavor (CPU and memory), and workload type (server). | ||
|
|
||
| The *Templates* tab displays four types of virtual machine templates: | ||
|
|
||
| * *Red Hat Supported* templates are fully supported by Red Hat. | ||
| * *User Supported* templates are *Red Hat Supported* templates that were cloned and created by users. | ||
| * *Red Hat Provided* templates have limited support from Red Hat. | ||
| * *User Provided* templates are *Red Hat Provided* templates that were cloned and created by users. | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| In the Templates tab, you cannot edit or delete Red Hat Supported or Red Hat Provided templates. You can only edit or delete custom virtual machine templates that were created by users. | ||
| ==== | ||
|
|
||
| Using a Red Hat template is convenient because the template is already preconfigured. When you select a Red Hat template to create your own custom template, the *Create Virtual Machine Template* wizard prompts you to add a boot source if a boot source was not added previously. Then, you can either save your custom template or continue to customize it and save it. | ||
|
|
||
| You can also select the *Create Virtual Machine Template* wizard directly and create a custom virtual machine template. The wizard prompts you to provide configuration details for the operating system, flavor, workload type, and other settings. You can add a boot source and continue to customize your template and save it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * virt/vm_templates/virt-creating-vm-template.adoc | ||
|
|
||
| [id="virt-adding-a-boot-source-web_{context}"] | ||
| = Adding a boot source for a virtual machine template | ||
|
|
||
| A boot source can be configured for any virtual machine template that you want to use for creating virtual machines or custom templates. When virtual machine templates are configured with a boot source, they are labeled *Available* in the *Templates* tab. | ||
|
|
||
| .Procedure | ||
|
|
||
| . In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu. | ||
|
|
||
| . Click the *Templates* tab. | ||
|
|
||
| . Identify the virtual machine template for which you want to configure a boot source and click *Add source*. | ||
|
|
||
| . In the *Add boot source to template* window, click *Select boot source*, select a method for creating a persistent volume claim (PVC): *Upload local file*, *Import via URL*, *Clone existing PVC*, or *Import via Registry*. | ||
|
|
||
| .. Optional: Click *Mount this as a CD-ROM boot source* to add an additional disk and mount the disk as a CD-ROM. | ||
|
|
||
| . Enter a value for *Persistent Volume Claim size* to specify the PVC size that is adequate for the uncompressed image and any additional space that is required. | ||
|
|
||
| .. Optional: Enter a name for *Source provider* to associate the name with this template. | ||
|
|
||
| .. Advanced: Click *Storage class* and select the storage class that is used to create the disk. | ||
|
|
||
| .. Advanced: Click *Access mode* and select an access mode for the persistent volume. Supported access modes are: *Single User (RWO)*, *Shared Access (RWX)*, and *Read Only (ROX)*. | ||
|
|
||
| .. Advanced: Click *Volume mode* if you want to select *Block* instead of the default value *Filesystem*. | ||
|
|
||
| . Select the appropriate method to save your boot source: | ||
|
|
||
| .. Click *Save and upload* if you uploaded a local file. | ||
|
|
||
| .. Click *Save and import* if you imported content from a URL or the registry. | ||
|
|
||
| .. Click *Save and clone* if you cloned an existing PVC. | ||
|
|
||
| Your custom virtual machine template with a boot source is listed in the *Templates* tab, and you can create virtual machines by using this template. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * virt/vm_templates/virt-creating-vm-template.adoc | ||
|
|
||
| [id="virt-filtering-vm-templates_{context}"] | ||
| = Filtering the list of virtual machine templates by providers | ||
|
|
||
| In the *Templates* tab, you can use the *Search by name* field to search for virtual machine templates by specifying either the name of the template or a label that identfies the template. You can also filter templates by the provider, and display only those templates that meet your filtering criteria. | ||
|
|
||
| .Procedure | ||
|
|
||
| . In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu. | ||
| . Click the *Templates* tab. | ||
| . To filter templates, click *Filter*. | ||
| . Select the appropriate checkbox from the list to filter the templates: *Red Hat Supported*, *User Supported*, *Red Hat Provided*, and *User Provided*. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * virt/vm_templates/virt-creating-vm-template.adoc | ||
|
|
||
| [id="virt-marking-vm-templates-favorites_{context}"] | ||
| = Marking virtual machine templates as favorites | ||
|
|
||
| For easier access to virtual machine templates that are used frequently, you can mark those templates as favorites. | ||
|
|
||
| .Procedure | ||
|
|
||
| . In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu. | ||
| . Click the *Templates* tab. | ||
| . Identify the Red Hat template that you want to mark as a favorite. | ||
| . Click the Options menu {kebab} and select *Favorite template*. The template moves up higher in the list of displayed templates. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe 'tab' is a better term here than 'step'? Tabs in the wizard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of "step" was explicitly approved in one of the previous releases by developers/QE (I can't recall the specific release and when). I am hesitant to change any use of the word "step" to "tab" without raising awareness within our team (other writers might be using the UI flow for VMs and VM templates - I think Bob and Matthew are, perhaps others). How about we discuss this in our team meeting and then we are all on the same page with this proposed change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the use of step was discussed with and approved by the developers, I am okay with it. My only suggestion would be to use that term consistently throughout. There were a couple of instances where the term screen or pane are used to refer to these steps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing, agree.