The above links do not provide real world working examples for service pack migration.
The example script below is meant to provide more details/content/info to the Service Pack migration via API process.
Documentation Update Required
This script provides a documented and detailed explanation of several API calls for accessing SUMA system info and initiating an migration. Especially for a migration to ignore/exclude repos that are not available for migration such as LTSS or old modules.
These API examples explain the usage of these two booleans that also ignore LTSS and other repos the same as the WebUI allows.
'excludeTargetWhereMissingSuccessors'
'removeProductsWithNoSuccessorAfterMigration'
What does the documentation say now?
The documentation is not detailed enough and does not have detailed working examples.
https://documentation.suse.com/suma/4.3/en/suse-manager/client-configuration/client-upgrades-product-migration.html https://documentation.suse.com/suma/4.3/api/suse-manager/api/scripts.html
The above links do not provide real world working examples for service pack migration. The example script below is meant to provide more details/content/info to the Service Pack migration via API process.
Documentation Update Required
This script provides a documented and detailed explanation of several API calls for accessing SUMA system info and initiating an migration. Especially for a migration to ignore/exclude repos that are not available for migration such as LTSS or old modules. These API examples explain the usage of these two booleans that also ignore LTSS and other repos the same as the WebUI allows. 'excludeTargetWhereMissingSuccessors' 'removeProductsWithNoSuccessorAfterMigration'
What does the documentation say now?
The documentation is not detailed enough and does not have detailed working examples.
This Python3 script is attached here: MigrateClientw.txt