-
Notifications
You must be signed in to change notification settings - Fork 18
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
Refactor network interfaces and protocols inventory tables #284
Labels
level/subtask
Subtask issue
module/inventory
Inventory module
mvp
Minimum Viable Product refinement
type/enhancement
Enhancement issue
Comments
vikman90
added
level/task
Task issue
module/inventory
Inventory module
mvp
Minimum Viable Product refinement
type/enhancement
Enhancement issue
labels
Nov 8, 2024
Unification proposal:From the three different tables the idea is to merge them into a single one using the iface name as the join column:
Details
e.g:
Details
e.g:
Details
e.g:
Result of unifying the 3 cases
Details
e.g:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
level/subtask
Subtask issue
module/inventory
Inventory module
mvp
Minimum Viable Product refinement
type/enhancement
Enhancement issue
Parent Issue: #292
The current network inventory separates interfaces and protocols, since each network interface may have zero or many IP addresses.
Now, since we're synchronizing this data with Indexer (which is not an SQL database), we need to merge both tables into one, repeating the data originally stored in the interfaces table.
Take into account that, since the relationship is zero-or-many to one, we must ensure that there is at less one entry for each network interface, even if it has no IP addresses.
Depends on
The text was updated successfully, but these errors were encountered: