Reorganized the test_rehome_one_subcloud function to improve code
structure and readability by moving rehoming logic into a dedicated
function and consolidating related operations.
Changes include:
- Renamed rehome_subcloud() to perform_rehome_operarion() for clarity
- Moved software release verification and asset synchronization
logic into the perform_rehome_operarion() function
- Reorganized test function to separate validation phases with
clear comments (before/after rehome operation)
- Consolidated deployment asset configuration retrieval within
the rehoming operation function
Test Plan:
PASS: Verify software load exists
PASS: Verify deployment assets are synced
PASS: Verify subcloud rehoming operation completes successfully
PASS: Verify test structure and validation logic remains intact
PASS: Verify no functional changes to rehoming behavior
Change-Id: I3c32e4e050363dbbe431dbe7ad2e5aa310767410
Signed-off-by: aabhinav <ayyapasetti.abhinav@windriver.com>
Signed-off-by: Abhishek jaiswal <abhishek.jaiswal@windriver.com>
Signed-off-by: aabhinav <ayyapasetti.abhinav@windriver.com>