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

_remove_unreferenced_adapters() should only include adapters used by configuration elements #1764

Closed
EdGue42 opened this issue Feb 25, 2025 · 0 comments · Fixed by #1765, #1770 or #1772
Closed

Comments

@EdGue42
Copy link
Contributor

EdGue42 commented Feb 25, 2025

Describe the bug

When using the _cpc method export_dpm_configuration(), the resulting configuration includes storage and network adapters that are actually not referenced by other elements of the exported configuration.

Those adapters are only listed because they are referenced by storage-port resp. network-port objects.

This is not consistent with the behavior documented (and intended) for the export functionality.

Expected behavior

Unless the corresponding parameter include_unused_adapters is used, only adapters that are used by partitions / storage groups / partition links should be part of the configuration data returned by the export_dpm_configuration().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment