-
Notifications
You must be signed in to change notification settings - Fork 898
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
GuestDevice model updates for support of storage devices #17332
Conversation
Checked commits skovic/manageiq@904c7dd~...dd7d0a9 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@miq-bot add_label providers/physical |
@agrare This PR is ready for review. Thanks |
I'm good with the scope, @himdel is removing that from |
Pretty sure it will mean every So, yeah, sounds like a problem. Also, logically, if you have 2 different kinds of GuestDevice, should they really be instances of the same class? Can we get this as 2 different classes instead? (Or do we just need a translation that doesn't say "network"?) |
Hm well calling all GuestDevices "Network Devices" wasn't really correct in the first place since hosts have always had network and storage guest devices. |
Well, if you're sure the classing is correct... Ok, in that case, we need to keep a string in |
I'm not a fan of having both in the same model without at least STI but that is how it is today :/ |
@agrare So are any changes required in the en.yml file? Or is it OK as is? I agree that it shouldn't be renamed to Network Device since guest devices can be network devices, storage device, etc. which is why I removed it here. Thanks |
@skovic that's okay with me |
¯\_(ツ)_/¯ Fine by me :) (If ((unless I'm wrong, @mzazrivec ?)) |
In that case LGTM |
We still need the entry in |
@mzazrivec @agrare @himdel OK, I've created a PR that adds an entry for guest device to en.yml. It's PR #17350 |
This PR updates the GuestDevice model to support storage devices. In addition, the alias for renaming guest device to network device has been removed because it's no longer needed. In the UI, a breadcrumb_title is now passed to the nested_list method instead.