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

Inventory: Create groups based on rack groups, and rack roles #204

Merged
merged 6 commits into from
Aug 23, 2020

Conversation

DouglasHeriot
Copy link
Contributor

Implements #203

Depends on pull request #202 - will rebase and mark as ready once that is merged.

Decided not to create a hierarchy of groups like I did for regions. Actually a little complicated to decide what groups to create when they're not all in use, or devices are filtered. Doesn't really impact usage or performance at all.

@DouglasHeriot
Copy link
Contributor Author

To fix tests, I need to work out the best way to ignore "parent rack group" missing from the inventory in Netbox 2.6-2.7, as only 2.8 supports nested rack groups.

@DouglasHeriot DouglasHeriot force-pushed the rack-groups branch 3 times, most recently from e528f83 to 3f0cd83 Compare August 11, 2020 12:02
@DouglasHeriot DouglasHeriot marked this pull request as ready for review August 11, 2020 12:33
@DouglasHeriot
Copy link
Contributor Author

Ok, I've fixed the tests now - this should be ready to review.

@FragmentedPacket
Copy link
Contributor

@DouglasHeriot Do you mind fixing the conflict?

I will also get this reviewed this weekend!

@DouglasHeriot
Copy link
Contributor Author

Yep, I'll try and sort this this weekend.

@FragmentedPacket FragmentedPacket merged commit 6ee2cec into netbox-community:devel Aug 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants