From ea9018a2a5c5596be978b7a8dff89b52442d23ab Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Mon, 19 Aug 2024 10:11:56 +0100 Subject: Update docs for prepare review migration-precheck in ACM runtime Update docs for prepare, review, migration-precheck and using stage in ACM states and ACM runtime. Issue-ID: POLICY-5109 Change-Id: I059a57d406f9588ef11a694882e7324dad643805 Signed-off-by: FrancescoFioraEst --- docs/clamp/acm/acm-states.rst | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) (limited to 'docs/clamp/acm/acm-states.rst') diff --git a/docs/clamp/acm/acm-states.rst b/docs/clamp/acm/acm-states.rst index a6cfc2e1..7a3222a5 100644 --- a/docs/clamp/acm/acm-states.rst +++ b/docs/clamp/acm/acm-states.rst @@ -80,6 +80,12 @@ Delete .. image:: images/acm-states/AcInstanceStatesDelete.png +Automation Composition Instance Sub State +========================================= +The sub states that an Automation Composition Instance can have are shown in the diagram below. + +.. image:: images/acm-states/AcInstanceSubStates.png + How State are saved in DB ========================= Any state will be saved in DB as number: @@ -111,8 +117,8 @@ Automation Composition Type State | DEPRIMING | 3 | +----------------+------------+ -Automation Composition Instance State -===================================== +Automation Composition Instance DeployState +=========================================== +---------------+------------+ | DeployState | Database | @@ -134,5 +140,36 @@ Automation Composition Instance State | MIGRATING | 7 | +---------------+------------+ +Automation Composition Instance Lock State +========================================== + ++-------------+------------+ +| LockState | Database | ++=============+============+ +| LOCKED | 0 | ++-------------+------------+ +| LOCKING | 1 | ++-------------+------------+ +| UNLOCKED | 2 | ++-------------+------------+ +| UNLOCKING | 3 | ++-------------+------------+ +| NONE | 4 | ++-------------+------------+ + +Automation Composition Instance Sub State +========================================= + ++-------------------------+------------+ +| SubState | Database | ++=========================+============+ +| NONE | 0 | ++-------------------------+------------+ +| MIGRATION_PRECHECKING | 1 | ++-------------------------+------------+ +| PREPARING | 2 | ++-------------------------+------------+ +| REVIEWING | 3 | ++-------------------------+------------+ End of Document -- cgit