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 parent physical chassis id to physical chassis #268

Merged

Conversation

tadeboro
Copy link
Contributor

This additional field is used to model chassis nesting. Example would be installation that uses Intel's Rack Scale Design (pod containing multiple racks containing multiple blocks that in turn contain multiple sleds ...).

@tadeboro
Copy link
Contributor Author

@miq-bot assign @agrare

@@ -0,0 +1,17 @@
require_migration
Copy link
Contributor

Choose a reason for hiding this comment

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

we don't need specs for structural migrations, they are tested by rails's specs, we need it only for migration with data manipulation, so you can remove it, thanks!

@tadeboro tadeboro force-pushed the add-physical-chassis-hierarchy-field branch 2 times, most recently from df4f246 to b7a3e10 Compare August 30, 2018 11:35
This additional field is used to model chassis nesting, for example
rack containing multiple enclosures that in turn contain multiple
sleds, containing one or more physical servers.
@tadeboro tadeboro force-pushed the add-physical-chassis-hierarchy-field branch from b7a3e10 to 7142dd2 Compare August 30, 2018 11:38
@miq-bot
Copy link
Member

miq-bot commented Aug 30, 2018

Checked commit xlab-si@7142dd2 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@tadeboro
Copy link
Contributor Author

@lpichler Thanks for your input. I removed the unnecessary tests as suggested.

@agrare agrare merged commit d3fb81a into ManageIQ:master Aug 30, 2018
@agrare agrare added this to the Sprint 94 Ending Sept 10, 2018 milestone Aug 30, 2018
@tadeboro tadeboro deleted the add-physical-chassis-hierarchy-field branch June 27, 2019 11:38
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