commit 693a85bad13b353f2aee227b473e553db0cc6151
Author: Junfeng Li <email address hidden>
Date: Thu Jun 9 18:22:00 2022 -0400
Prevent a new host to be added to AIO-SX
Details: 1. Added a condition check to prevent a host from being added to an AIO-SX.
2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in AIO-SX
Closes-Bug: 1978134
Test Plan:
PASS: Unit test cases against non controller-0 AIO-SX host deletion
PASS: Patched local simplex system and ran reproduced steps
PASS: Migration from SX to DX
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/845303 /opendev. org/starlingx/ config/ commit/ 693a85bad13b353 f2aee227b473e55 3db0cc6151
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 693a85bad13b353 f2aee227b473e55 3db0cc6151
Author: Junfeng Li <email address hidden>
Date: Thu Jun 9 18:22:00 2022 -0400
Prevent a new host to be added to AIO-SX
Details: 1. Added a condition check to prevent a host from being added to an AIO-SX.
2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in AIO-SX
Closes-Bug: 1978134
Test Plan:
PASS: Unit test cases against non controller-0 AIO-SX host deletion
PASS: Patched local simplex system and ran reproduced steps
PASS: Migration from SX to DX
Signed-off-by: Junfeng Li <email address hidden>
Change-Id: I3510bc43f13869 ec76673ec50a879 b463ee760f4