aboutsummaryrefslogtreecommitdiff
path: root/slides/2018-lwm/img/tp-monitor.tex
blob: 37a6241d5646aed6664efe09422167bf8bab06e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
\begin{tikzpicture}[
  -latex,
  entity/.style = {
    draw = gray!30,
    thick,
    rounded rectangle,
    fill = white,
    minimum width = 2cm,
    font = \fontsize{8}{8}\selectfont,
    text = white,
  },
  ls/.style = {
    draw=none,
    font=\fontsize{6}{6}\selectfont,
  },
]
  \node[entity,fill=darkGreen](domain) at (0,0) {Subject};
  \node[entity,fill=darkRed](log) at (0,-3) {Log};
  \node[entity,fill=darkBlue](monitor) at (3,-1.5) {Monitor};
  \path[draw,thick,-latex]
    (domain) -|
      node[ls,above]{Notify if you see my certs}
    (monitor);
  \path[draw,thick,-latex]
    (monitor) --
      node[ls,sloped,above]{Found cert!}
    (domain);
  \path[draw,thick,-latex]
    (monitor) |-
      node[ls,below]{Any new certs?}
    (log);
  \path[draw,thick,-latex]
    (log) --
      node[ls,sloped,above]{List of certs}
    (monitor);
  \path[draw,thick,-latex]
    (domain.north) |-
    ($ (domain.west) + (domain.north) + (domain) + (-0.25, 0.25) $)
      node[ls,above,pos=0.75]{
        All ok?
      } |-
    (domain.west);
\end{tikzpicture}