Initial commit
[ta/distributed-state-server.git] / docs / dss.txt
1 # Copyright 2019 Nokia
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15
16
17        .--------------------------------------------------------------------------.
18        |        .-------------.    .------------.          .---------.            |
19        |        | <<library>> |    | <<module>> |<---------| <<cli>> |            |
20        |        | dssserver   |    | dssclient  |          | dsscli  |            |
21        |        '-------------'    '------------'          '---------'            |
22        |               |                |                                         |
23        |               |                |                 set                     |
24        |               |                v                 get                     |
25        |               '--------------> O  uds (json-rpc) get-domain              |
26        |                                ^                 get-domains             |
27        |                                |                 delete                  |
28        |        ___                     |                 delete-domain           |
29        |       |   |\     read    .------------.                                  |
30        |       |   '-|<-----------| <<daemon>> |                                  |
31        |       |     |            | dssserver  |                                  |
32        |       |_____|            '------------'                                  |
33        |       config.ini               |                                         |
34        |                     .----------'-----------.                             |
35        |                     |     load-plugin      |                             |
36        |                     |                      |                             |
37        |                     |                      |                             |
38        |                     v                      v                             |
39        |              .-------------.         .-------------.                     |
40        | for multi    | <<plugin>>  |         | <<plugin>>  | for single          |
41        | management   | etcd-plugin |         | file-plugin | management          |
42        |              '-------------'         '-------------'                     |
43        |                     |                      |                             |
44        |                     |                      |                             |
45        |                     |                      |                             |
46        |                     |                      |                             |
47        |                     v                    __v                             |
48        |              .------------.             |   |\                           |
49        |              | etcd       |             |   '-|                          |
50        |              '------------'             |     |                          |
51        |                                         |_____|                          |
52        |                                           fs                             |
53        |                                                                          |
54        |                                                                          |
55        |                            management-x                                  |
56        '--------------------------------------------------------------------------'