A3, add grpahs for model and test setup
authorpimjager <pim@pimjager.nl>
Mon, 14 Dec 2015 23:50:32 +0000 (00:50 +0100)
committerpimjager <pim@pimjager.nl>
Mon, 14 Dec 2015 23:50:32 +0000 (00:50 +0100)
a3/graphs.viz [new file with mode: 0644]

diff --git a/a3/graphs.viz b/a3/graphs.viz
new file mode 100644 (file)
index 0000000..a413cea
--- /dev/null
@@ -0,0 +1,25 @@
+digraph Connection {
+  "Closed" -> "Listen" [label = "Listen?"]
+  "Listen" -> "Syn Received'" [label = "SYN?"]
+  "Syn Received'" -> "Syn Received" [label = "SYN+ACK!"]
+  "Syn Received" -> "Established" [label = "ACK?"]
+  "Syn Received" -> "Listen" [label = "RST?"]
+  "Syn Received'" -> "Listen" [label = "RST?"]
+}
+digraph Close {
+  "Established" -> "Close Wait'" [label = "FIN?"]
+  "Close Wait'" -> "Close Wait" [label = "ACK!"]
+  "Close Wait" -> "Last Ack'" [label = "close?"]
+  "Last Ack'" -> "Last Ack" [label = "FIN!"]
+  "Last Ack" -> "Closed" [label = "ACK?"]
+}
+digraph TestSetupDown {
+  "G∀ST" -> "Python Driver" [label = "TCP"]
+  "Python Driver" -> "SUT" [label = "TCP"]
+  "SUT" -> "EchoServer'" 
+}
+digraph TestSetupUp {  /*todo, invert */
+  "Python Driver" -> "G∀ST" [label = "TCP"]
+  "SUT" -> "Python Driver" [label = "TCP"]
+  "EchoServer" -> "SUT"
+}
\ No newline at end of file