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
DLM Migrations for Software models #5101
Comments
@lampwins we discussed this in the design meeting and looks like we might run into some problems with the new models in core. DLM has a derived many-to-many relationship from Use case 1 - Same version, different imagesExisting Data model in DLM
Data model if migrated to core models as-is
Use case 2 - Same version, different set of images with overlapExisting Data model in DLM
Data model if migrated to core models as-is
|
Ran into this issue today when trying to upgrade the next sandbox
|
Per discussion with the DLM team, the object tags functionality is basically used as an "override" function where a device needs to run some other default image within the version. So we should add the M2M fields to the image, to support such override use cases. We should then be able to migrate the data over, and usage within DLM for this is pretty limited, so if we not able to map everything, that is acceptable. |
Will rename |
Will also need to add an M2M from SoftwareImageFile to InventoryItem (for feature parity with DLM) and to VirtualMachine for consistency. #5280 |
As a app engineer, I want migrations built in DLM for the porting of the SoftwareLCM and SoftwareImageLCM models into core, so that I can ensure the data is migrated for users.
Create data/schema migrations in support of moving the models into core. Data lives in the models and in custom relationships which will become proper FKs in the new modes. Some features of DLM will need to be refactored to support this move.
Please document this process and lessons learned for future moves of models between apps and core.
The text was updated successfully, but these errors were encountered: