-
Notifications
You must be signed in to change notification settings - Fork 70
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 support for reconfigure cdrom #244
Conversation
b0bb49d
to
4b810cd
Compare
4b810cd
to
475438d
Compare
475438d
to
746484e
Compare
@blomquisg can you review? |
@@ -345,6 +357,40 @@ def remove_network_adapter_config_spec(vim_obj, vmcs, options) | |||
end | |||
end | |||
|
|||
def connect_cdrom_config_spec(vim_obj, vmcs, hardware, cdrom) | |||
device = vim_obj.send(:getDeviceByLabel, cdrom[:device_name], hardware) |
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.
I know we did this before this change, but why do we send
here. Are these methods private? If so, should they be public?
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.
Hm good question I don't know why we do that, let me try just calling it normally.
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.
Works fine, I'll change these over
746484e
to
b689b8c
Compare
Checked commits agrare/manageiq-providers-vmware@fd8c9eb~...b689b8c with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
Automation for transformation plan
Add the ability to connect and disconnect ISOs to VirtualCdrom drives
Depends on:
ManageIQ/vmware_web_service#37,ManageIQ/manageiq#17365https://bugzilla.redhat.com/show_bug.cgi?id=1533728