-
Notifications
You must be signed in to change notification settings - Fork 897
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
Automate - VMware placement to support only Clusters or only Folders. #15951
Automate - VMware placement to support only Clusters or only Folders. #15951
Conversation
@miq-bot add_label rfe |
@miq-bot assign @gmcculloug |
@billfitzgerald0120 Cannot apply the following label because they are not recognized: rfe |
@billfitzgerald0120 Based on PR #15988 the Also, please include screenshots of the Environment tab for both dialogs in this PR description. |
f3ecf59
to
94ed3e3
Compare
@gmcculloug Renamed field and added screenshots as you requested. |
@billfitzgerald0120 @tinaafitz Changes look good. My one suggestion would be to rename the dialogs as follows. I am open to other naming suggestions so let me know what you think.
|
I agree with the naming change suggested by @gmcculloug. |
94ed3e3
to
978bb93
Compare
@gmcculloug @tinaafitz Changed dialog names as requested. Please Review |
@billfitzgerald0120 I noticed a small inconsistency in the dialog You can keep the current The folder dialog should be exactly the same as the cluster one, but with the name/description updated and the changed environment field. I would suggest starting with the modified cluster and make the few replacements. |
978bb93
to
ccffa9c
Compare
@billfitzgerald0120 Files diff correctly now, just need to follow the recommended change for the descriptions from earlier #15951 (comment). I'm suggesting the descriptions read: |
Manual placement selection to support only the use of "VMware clusters" and to support only the use of "VMware folders". https://bugzilla.redhat.com/show_bug.cgi?id=1483636 https://bugzilla.redhat.com/show_bug.cgi?id=1484024
ccffa9c
to
317ac50
Compare
Checked commit billfitzgerald0120@317ac50 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Manual placement selection to support only the use of "VMware clusters" and
to support only the use of "VMware folders".
https://bugzilla.redhat.com/show_bug.cgi?id=1483636
https://bugzilla.redhat.com/show_bug.cgi?id=1484024
Suggestions on how to test:
This change needs to be configured. Nothing happens OOTB. This is a modified dialog for VMware provisioning only.
There are 3 ways/dialogs to provision for VMware and this is only when provisioning from a template. There are many ways to
implement these changes. These are the ways I tested it.
First Test - This will replace functionality for everyone. All users will use cluster only when provisioning a Vmware template.
Just update the miq_provision_vmware_dialogs_template.yaml with the new cluster yaml
Second Test - This will replace functionality for everyone. All users will use folder only when provisioning a Vmware template.
Third test - Different users/groups will use folders, clusters or existing dialogs. VMware is the only infrastructure provider.
Screenshot of writeable domain below
Screenshot of changes to profile for cluster user
Screenshot of changes to profile for folder user
Screenshot of changes to vm_dialog_name_prefix method.
If you logon as user cluster and provision a Vmware template, your Environment tab should only have cluster as an option.
If you logon as user folder and provision a Vmware template, your Environment tab should only have folder as an option.
Any user besides folder or cluster will have the default Environment tab.