aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/acm-states.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/clamp/acm/acm-states.rst')
-rw-r--r--docs/clamp/acm/acm-states.rst62
1 files changed, 59 insertions, 3 deletions
diff --git a/docs/clamp/acm/acm-states.rst b/docs/clamp/acm/acm-states.rst
index 215baf71..a6cfc2e1 100644
--- a/docs/clamp/acm/acm-states.rst
+++ b/docs/clamp/acm/acm-states.rst
@@ -10,9 +10,10 @@ ACM States
Automation Composition Management manages a number of states of various types to manage the lifecycle of compositions. Those states are described here. Please also see the ACM System Level Dialogues page to see the system dialogues that change states and how states interrelate in detail. Please also see ITU Recommendation X.731, which is reflected in the states of AC Element Instances.
-Participant State
-=================
-Participant states are NOT managed by ACM but the state of a participant is recorded and supervised by ACM.
+Participant Replica State
+=========================
+Any participant could have more than one replica.
+Participant replica states are NOT managed by ACM but the state of a participant replica is recorded and supervised by ACM.
.. image:: images/acm-states/ParticipantStates.png
@@ -79,4 +80,59 @@ Delete
.. image:: images/acm-states/AcInstanceStatesDelete.png
+How State are saved in DB
+=========================
+Any state will be saved in DB as number:
+
+Participant Replica State
+-------------------------
+
++--------------------+------------+
+| ParticipantState | Database |
++====================+============+
+| ON_LINE | 0 |
++--------------------+------------+
+| OFF_LINE | 1 |
++--------------------+------------+
+
+
+Automation Composition Type State
+---------------------------------
+
++----------------+------------+
+| AcTypeState | Database |
++================+============+
+| COMMISSIONED | 0 |
++----------------+------------+
+| PRIMING | 1 |
++----------------+------------+
+| PRIMED | 2 |
++----------------+------------+
+| DEPRIMING | 3 |
++----------------+------------+
+
+Automation Composition Instance State
+=====================================
+
++---------------+------------+
+| DeployState | Database |
++===============+============+
+| DEPLOYED | 0 |
++---------------+------------+
+| DEPLOYING | 1 |
++---------------+------------+
+| UNDEPLOYED | 2 |
++---------------+------------+
+| UNDEPLOYING | 3 |
++---------------+------------+
+| DELETING | 4 |
++---------------+------------+
+| DELETED | 5 |
++---------------+------------+
+| UPDATING | 6 |
++---------------+------------+
+| MIGRATING | 7 |
++---------------+------------+
+
+
End of Document