File: v0.5-component-design.dot

package info (click to toggle)
octavia 16.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,168 kB
  • sloc: python: 99,766; sh: 2,437; pascal: 450; makefile: 112; ruby: 18
file content (230 lines) | stat: -rw-r--r-- 7,590 bytes parent folder | download | duplicates (4)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
/*
*    Copyright 2014 OpenStack Foundation
*
*    Licensed under the Apache License, Version 2.0 (the "License"); you may
*    not use this file except in compliance with the License. You may obtain
*    a copy of the License at
*
*         http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
*    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*    License for the specific language governing permissions and limitations
*    under the License.
*/
/*
 * Requires graphviz version 2.37 or later to render correctly
 */
digraph G {
  labelloc="t";
  label="Octavia component design (v0.5)";
  rankdir=LR;
  splines=false;

  subgraph cluster_Neutron {
    label="Neutron";
    color="green";

    NetworkingServices [shape=rectangle label="Networking Services"];

    subgraph cluster_LBaaS {
      label="LBaaS";
      color="yellow";

      UserAPIHandler [shape=none margin=0 label=
        <<table border="0" cellspacing="0" cellborder="1">
          <tr>
            <td style="invis"></td>
            <td style="invis"></td>
            <td color="#707070" sides="lt"></td>
            <td color="#707070" sides="t"></td>
            <td color="#707070" sides="t"></td>
            <td color="#707070" sides="t"></td>
            <td color="#707070" sides="tr"></td>
          </tr>
          <tr>
            <td style="invis"></td>
            <td color="#707070" sides="lt"></td>
            <td color="#707070" sides="t"></td>
            <td color="#707070" sides="t"></td>
            <td color="#707070" sides="t"></td>
            <td color="#707070" sides="tr"></td>
            <td color="#707070" sides="r"></td>
          </tr>
          <tr>
            <td sides="lt"></td>
            <td sides="t"></td>
            <td sides="t"><br/>User API Handler</td>
            <td sides="t"></td>
            <td sides="tr"></td>
            <td color="#707070" sides="r"></td>
            <td color="#707070" sides="r"></td>
          </tr>
          <tr>
            <td sides="l"></td>
            <!-- TODO(johnsom) Change back to sides="ltb" when dot is fixed -->
            <!-- This is commented out as it causes the current version -->
            <!-- of dot to crash on Ubuntu.  <graphviz 2.38.0-12ubuntu2.1> -->
            <!-- Which causes gate failures. -->
            <!-- <td sides="ltb"></td> -->
            <td sides="lb"></td>
            <td sides="tb" port="driver"><font point-size="10">Driver</font></td>
            <td sides="trb"></td>
            <td sides="r"></td>
            <td color="#707070" sides="r"></td>
            <td color="#707070" sides="br"></td>
          </tr>
          <tr>
            <td sides="l"></td>
            <td style="invis"></td>
            <td style="invis"></td>
            <td style="invis"></td>
            <td sides="r"></td>
            <td color="#707070" sides="rb"></td>
            <td style="invis"></td>
           </tr>
           <tr>
            <td sides="lb"></td>
            <td sides="b"></td>
            <td sides="b"></td>
            <td sides="b"></td>
            <td sides="br"></td>
            <td style="invis"></td>
            <td style="invis"></td>
           </tr>
         </table>>];
    };
  };

  subgraph cluster_Octavia {
    label="Octavia";
    color="blue";

      NetworkingDriver [shape=rectangle label="Networking Driver"];

      OperatorAPIHandler [shape=none margin=0 label=
         <<table border="0" cellspacing="0" cellborder="1">
           <tr>
             <td style="invis"></td>
             <td style="invis"></td>
             <td color="#707070" sides="lt"></td>
             <td color="#707070" sides="t"></td>
             <td color="#707070" sides="t"></td>
             <td color="#707070" sides="t"></td>
             <td color="#707070" sides="tr"></td>
           </tr>
           <tr>
             <td style="invis"></td>
             <td color="#707070" sides="lt"></td>
             <td color="#707070" sides="t"></td>
             <td color="#707070" sides="t"></td>
             <td color="#707070" sides="t"></td>
             <td color="#707070" sides="tr"></td>
             <td color="#707070" sides="r"></td>
           </tr>
           <tr>
             <td sides="lt"></td>
             <td sides="t"></td>
             <td sides="t"><br/>Operator API Handler</td>
             <td sides="t"></td>
             <td sides="tr"></td>
             <td color="#707070" sides="r"></td>
             <td color="#707070" sides="rb"></td>
           </tr>
           <tr>
             <td sides="l"></td>
             <td style="invis"></td>
             <td style="invis"></td>
             <td style="invis"></td>
             <td sides="r"></td>
             <td color="#707070" sides="rb"></td>
             <td style="invis"></td>
           </tr>
           <tr>
             <td sides="lb"></td>
             <td sides="b"></td>
             <td sides="b"></td>
             <td sides="b"></td>
             <td sides="br"></td>
             <td style="invis"></td>
             <td style="invis"></td>
           </tr>
         </table>>];

      subgraph cluster_Controller {
        label="";
        color=white;
        Controller [shape=none margin=0 label=
          <<table border="0" cellspacing="0" cellborder="1">
            <tr>
              <td> Controller </td>
            </tr>
            <tr>
              <td sides="tlrb"><font point-size="10"> Health Monitor </font></td>
            </tr>
            <tr>
              <td sides="tlrb"><font point-size="10"> Amphora LB Driver </font></td>
            </tr>
          </table>>];

        Database [shape=cylinder];
      };

      subgraph cluster_Amphoras2 {
        label="";
        color="white";
        id="AmphoraMVs2";
        Amphora3 [shape=none margin=0 label=
          <<table border="0" cellspacing="0" cellborder="1">
            <tr>
              <td>Amphora</td>
            </tr>
          </table>>];
        Amphora4 [shape=none margin=0 label=
          <<table border="0" cellspacing="0" cellborder="1">
            <tr>
              <td>Amphora</td>
            </tr>
          </table>>];
        Amphora5 [shape=none margin=0 label=
          <<table border="0" cellspacing="0" cellborder="1">
            <tr>
              <td>Amphora</td>
            </tr>
          </table>>];
      };

      subgraph cluster_Network {
        label="LB Network";
        color="gray";
        bgcolor="gray";

        Stuff [style=invis shape=none margin=0 label=
          <<table border="0" cellspacing="0" cellborder="1">
            <tr>
              <td>Stuff<br/></td>
            </tr>
          </table>>];
        LBNetwork [shape=none margin=0 label=""];
        Things [style=invis shape=none margin=0 label=
          <<table border="0" cellspacing="0" cellborder="1">
            <tr>
              <td>Things<br/><br/></td>
            </tr>
          </table>>];
      };

      OperatorAPIHandler -> Controller [dir=none];
      Controller -> LBNetwork [style=invis];
      LBNetwork -> {Amphora3 Amphora4 Amphora5} [style=invis];
      Controller -> {Amphora3 Amphora4 Amphora5} [constraint=false dir=none];
      Controller -> NetworkingDriver [constraint=false dir=none];
      Controller -> Database [constraint=false dir=none];

    };

  UserAPIHandler:driver -> Controller [dir=none];
  NetworkingServices -> NetworkingDriver [dir=none];

}