Skip to content

ui: added missing hypervisor options for upload template#3367

Merged
yadvr merged 2 commits into
apache:masterfrom
shapeblue:upload-template-vmware-options-3363
Jun 5, 2019
Merged

ui: added missing hypervisor options for upload template#3367
yadvr merged 2 commits into
apache:masterfrom
shapeblue:upload-template-vmware-options-3363

Conversation

@shwstppr

Copy link
Copy Markdown
Contributor

Description

Upload template form was missing some hypervisor specific options which can be seen on Register template form.
For XenServer, XenServer tool version added
For VMware, Root disk controller, NIC adapter type, Keyboard type added and HVM is hidden
For KVM, Root disk controller added

Fixes #3363

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

Screenshot from 2019-05-31 15-13-20
Screenshot from 2019-05-31 15-12-39
Screenshot from 2019-05-31 15-13-31

How Has This Been Tested?

Upload template form was missing some hypervisor specific options which can be seen on Register template form.
For XenServer, XenServer tool version added
For VMware, Root disk controller, NIC adapter type, Keyboard type added and HVM is hidden
For KVM, Root disk controller added

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

@anuragaw anuragaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Haven't tested each Hypervisor upload but based on snapshots and pure JS changes.

@DaanHoogland DaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you extend or refactor your use of the word 'only' in the comments, please? The phrase "fields for hypervisor == ..." makes more sense and in other places maybe "field-visibility for hyporvisor == ...".

Comment thread ui/scripts/templates.js Outdated
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@yadvr yadvr changed the title [WIP DO NOT MERGE] ui: added missing hypervisor options for upload template ui: added missing hypervisor options for upload template Jun 5, 2019
@yadvr
yadvr merged commit f7af27c into apache:master Jun 5, 2019
@yadvr

yadvr commented Jun 5, 2019

Copy link
Copy Markdown
Member

Purely JS/UI change, merged based on screenshots and reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload template from local does not allow/show various fields/options for VMware

6 participants