aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mgw-endpoint-fsm.dot
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-06-16 16:08:55 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-28 12:18:23 +0200
commit3b5de1b6684f3a166bb4666ffabd31d6b29c0175 (patch)
tree32caf212194f30fc274374d8d0e254d430e770cf /doc/mgw-endpoint-fsm.dot
parent431e085736ba958c5b69c87e401c67f0b322189d (diff)
doc: update/fix FSM charts
These reflect the plan for refactoring, and will be implemented by I82e3f918295daa83274a4cf803f046979f284366 and Id7a4407d9b63be05ce63f5f2768b7d7e3d5c86fb Change-Id: I29e31b753e23a4207662e0e385a337e7df836f45
Diffstat (limited to 'doc/mgw-endpoint-fsm.dot')
-rw-r--r--doc/mgw-endpoint-fsm.dot24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/mgw-endpoint-fsm.dot b/doc/mgw-endpoint-fsm.dot
new file mode 100644
index 000000000..ac7c2bfd7
--- /dev/null
+++ b/doc/mgw-endpoint-fsm.dot
@@ -0,0 +1,24 @@
+digraph G {
+rankdir=TB
+labelloc=t; label="MGW Endpoint FSM"
+
+ gscon_ensure_mgw_endpoint [label="gscon_ensure_mgw_endpoint()",shape="box"]
+ UNUSED
+ WAIT_MGW_RESPONSE
+ IN_USE
+ terminate [shape=octagon]
+ mgcp [label="mgcp client FSM\n(libosmo-mgcp-client)",shape=box3d]
+ notify [label="notify target FI",shape=box3d]
+ gscon [label="parent FI\n(gscon)",shape=box3d]
+
+ gscon_ensure_mgw_endpoint -> UNUSED
+ UNUSED -> WAIT_MGW_RESPONSE [label="first\nmgw_endpoint_ci_request(CRCX)"]
+ WAIT_MGW_RESPONSE -> mgcp [label="mgcp_conn_create()\nmgcp_conn_modify()\nmgcp_conn_delete()",style=dotted]
+ mgcp -> WAIT_MGW_RESPONSE [label="CI[i] event",style=dotted]
+ WAIT_MGW_RESPONSE -> IN_USE
+ IN_USE -> notify [label="notify event for\nindividual CI request",style=dotted]
+ IN_USE -> WAIT_MGW_RESPONSE [label="additional\nmgw_endpoint_ci_request()\nCRCX,MDCX,DLCX"]
+
+ WAIT_MGW_RESPONSE -> terminate [label="all CI DLCX'd"]
+ terminate -> gscon [label="GSCON_EV_FORGET_MGW_ENDPOINT",style=dotted]
+}