Skip to content
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

Add AuthenticationMixin to Vm #19444

Merged
merged 2 commits into from
Oct 31, 2019

Conversation

ghost
Copy link

@ghost ghost commented Oct 30, 2019

Today, the ConversionHost includes the AuthenticationMixin mixin to perform authentication check. The ConversionHost is associated to a resource: a Host or a Vm. The Host class also includes the AuthenticationMixin mixin. It seems logical that the Vm could also have authentications and that ConversionHost delegates authentication related code to its resource.

This would also allow other use cases for VM authentication, such as Ansible playbooks. If the VM class includes the AuthenticationMixin mixin, it allows us to define many purposes authentication. One of them would be transformation (or v2v) for VMs acting as conversion hosts. Another one could be ansible to store the machine credentials along with the managed object.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1772022

@ghost
Copy link
Author

ghost commented Oct 30, 2019

@miq-bot add-label enhancement, transformation
@miq-bot add-reviewer @djberg96
@miq-bot add-reviewer @agrare
@miq-bot add-reviewer @Fryguy

@miq-bot
Copy link
Member

miq-bot commented Oct 30, 2019

Checked commits fabiendupont/manageiq@165a212~...76017c4 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 👍

@agrare agrare self-assigned this Oct 31, 2019
agrare added a commit that referenced this pull request Oct 31, 2019
@agrare agrare merged commit 76017c4 into ManageIQ:master Oct 31, 2019
@agrare agrare added this to the Sprint 124 Ending Nov 11, 2019 milestone Oct 31, 2019
@ghost
Copy link
Author

ghost commented Nov 13, 2019

Model part of #19501

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.

4 participants