[ARVADOS] created: dc060ea2f05e3266562c449fff39b3e867041f84

Git user git at public.curoverse.com
Mon Oct 2 13:40:32 EDT 2017


        at  dc060ea2f05e3266562c449fff39b3e867041f84 (commit)


commit dc060ea2f05e3266562c449fff39b3e867041f84
Author: Nico Cesar <nico at curoverse.com>
Date:   Mon Oct 2 13:40:02 2017 -0400

    initial diagrams to discuss
    
    refs #12383

diff --git a/doc/images/compute-nodes-state-diagram-current.dot b/doc/images/compute-nodes-state-diagram-current.dot
new file mode 100644
index 0000000..e1238f8
--- /dev/null
+++ b/doc/images/compute-nodes-state-diagram-current.dot
@@ -0,0 +1,27 @@
+digraph graphname {
+
+### To create the image:
+### dot -Tpng compute-nodes-state-diagram-current.dot > compute-nodes-state-diagram-current.png
+
+### States
+
+in_whishlist [label="in whishlist"];
+unpaired;
+paired;
+stale;
+shutting_down [label="shutting down"];
+draining;
+gone;
+
+### Transitions
+
+in_whishlist -> unpaired    [ label = "create()" ];
+unpaired -> stale           [ label = "timeout(20m)" ]; 
+unpaired -> paired          [ label = "ping()" ];
+stale -> shutting_down      [ label = "shutdown()" ]; 
+paired -> draining          [ label = "finish_job()" ]; 
+stale -> gone               [ label = "detected_gone()" ];
+paired -> gone              [ label = "detected_down()" ];
+shutting_down -> gone       [ label = "detected_gone()" ]; 
+
+}
diff --git a/doc/images/compute-nodes-state-diagram-proposed.dot b/doc/images/compute-nodes-state-diagram-proposed.dot
new file mode 100644
index 0000000..acf6097
--- /dev/null
+++ b/doc/images/compute-nodes-state-diagram-proposed.dot
@@ -0,0 +1,25 @@
+digraph graphname {
+
+### To create the image:
+### dot -Tpng compute-nodes-state-diagram-proposed.dot > compute-nodes-state-diagram-proposed.png
+
+### States
+
+in_whishlist [label="in whishlist"];
+requested;
+assigned;
+paired;
+shutting_down [label="shutting down"];
+draining;
+gone;
+
+### Transitions
+
+in_whishlist -> requested    [ label = "request(size)" ];
+requested -> paired          [ label = "ping()" ]; 
+paired -> assigned           [ label = "assign_job(job_id)" ];
+assigned -> draining         [ label = "drain()" ]; 
+draining -> shutting_down    [ label = "shutdown()" ]; 
+shutting_down -> gone        [ label = "detected_gone()" ];
+
+}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list