diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-03-01 17:57:57 +0100 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-03-01 17:57:57 +0100 |
commit | 83223ea442960ca67bdac18c6c9add79e45e6b84 (patch) | |
tree | 8804fdf8418cf2d5525353af170b1ed654b28753 /doc/handbook | |
parent | c666bf95d0ba0a6eddcf0e6953b05ef375f6a75e (diff) | |
download | gnunet-83223ea442960ca67bdac18c6c9add79e45e6b84.tar.gz gnunet-83223ea442960ca67bdac18c6c9add79e45e6b84.zip |
-handbook: add TNG graphics. Minor fixes
Diffstat (limited to 'doc/handbook')
-rw-r--r-- | doc/handbook/chapters/developer.texi | 30 | ||||
-rw-r--r-- | doc/handbook/images/tng.dot | 55 | ||||
-rw-r--r-- | doc/handbook/images/tng.png | bin | 0 -> 75821 bytes |
3 files changed, 63 insertions, 22 deletions
diff --git a/doc/handbook/chapters/developer.texi b/doc/handbook/chapters/developer.texi index 0d3b4739b..8bc8c8005 100644 --- a/doc/handbook/chapters/developer.texi +++ b/doc/handbook/chapters/developer.texi | |||
@@ -9485,18 +9485,6 @@ of using plugins for the actual transmission operations and the ATS subsystem | |||
9485 | to select a plugin and allocate bandwidth. The following key issues have been | 9485 | to select a plugin and allocate bandwidth. The following key issues have been |
9486 | identified with this design: | 9486 | identified with this design: |
9487 | 9487 | ||
9488 | @menu | ||
9489 | * Issues with TRANSPORT:: | ||
9490 | * Design goals of TNG:: | ||
9491 | * HELLO-NG:: | ||
9492 | * Priorities and preferences:: | ||
9493 | * Communicators:: | ||
9494 | @end menu | ||
9495 | |||
9496 | @node Issues with TRANSPORT | ||
9497 | @subsection Issues with TRANSPORT | ||
9498 | |||
9499 | |||
9500 | @itemize @bullet | 9488 | @itemize @bullet |
9501 | @item Bugs in one plugin can affect the TRANSPORT service and other plugins. | 9489 | @item Bugs in one plugin can affect the TRANSPORT service and other plugins. |
9502 | There is at least one open bug that affects sockets, where the origin is | 9490 | There is at least one open bug that affects sockets, where the origin is |
@@ -9531,6 +9519,13 @@ identified with this design: | |||
9531 | @end itemize | 9519 | @end itemize |
9532 | 9520 | ||
9533 | 9521 | ||
9522 | @menu | ||
9523 | * Design goals of TNG:: | ||
9524 | * HELLO-NG:: | ||
9525 | * Priorities and preferences:: | ||
9526 | * Communicators:: | ||
9527 | @end menu | ||
9528 | |||
9534 | @node Design goals of TNG | 9529 | @node Design goals of TNG |
9535 | @subsection Design goals of TNG | 9530 | @subsection Design goals of TNG |
9536 | 9531 | ||
@@ -9564,17 +9559,8 @@ In order to address the above issues, we want to: | |||
9564 | 9559 | ||
9565 | The new architecture is planned as follows: | 9560 | The new architecture is planned as follows: |
9566 | 9561 | ||
9567 | @verbatim | ||
9568 | |||
9569 | APPLICATIONS | ||
9570 | | | ||
9571 | | | ||
9572 | CORE -- TRANSPORT -- COMMUNICATOR(S) -- NAT | ||
9573 | \ / | ||
9574 | \ / | ||
9575 | PEERSTORE | ||
9576 | 9562 | ||
9577 | @end verbatim | 9563 | @image{images/tng,5in,,TNG architecture.} |
9578 | 9564 | ||
9579 | TRANSPORT's main objective is to establish bi-directional virtual links using a | 9565 | TRANSPORT's main objective is to establish bi-directional virtual links using a |
9580 | variety of possibly uni-directional communicators. Links undergo the following | 9566 | variety of possibly uni-directional communicators. Links undergo the following |
diff --git a/doc/handbook/images/tng.dot b/doc/handbook/images/tng.dot new file mode 100644 index 000000000..14e72ee04 --- /dev/null +++ b/doc/handbook/images/tng.dot | |||
@@ -0,0 +1,55 @@ | |||
1 | // house = application | ||
2 | // circle (default) = service | ||
3 | // box = daemon | ||
4 | // diamond = library | ||
5 | // black line = dependency | ||
6 | // blue line = extension via plugin | ||
7 | // red line = possibly useful | ||
8 | // dashed = in planning | ||
9 | |||
10 | // this is what we have...o | ||
11 | digraph tng { | ||
12 | // splines = true; | ||
13 | compound=true; | ||
14 | subgraph cluster0 { | ||
15 | label="Our peer"; | ||
16 | style=dashed; | ||
17 | color=black; | ||
18 | subgraph cluster1 { | ||
19 | style=solid; | ||
20 | color=black; | ||
21 | tcp; | ||
22 | udp; | ||
23 | others [style=dotted]; | ||
24 | label="Communicators"; | ||
25 | } | ||
26 | subgraph cluster2 { | ||
27 | style=solid; | ||
28 | color=black; | ||
29 | dht; | ||
30 | fs; | ||
31 | cadet; | ||
32 | label="Applications"; | ||
33 | } | ||
34 | cadet -> core [ltail=cluster2,label="Communicate with peers"]; | ||
35 | dht -> transport [ltail=cluster2,label="Suggest connection to peer"]; | ||
36 | core -> transport [label="Send/receive messages via secure channel"]; | ||
37 | transport -> tcp [lhead=cluster1,dir=both,label="Offer connectivity/channel to other peer"]; | ||
38 | udp -> nat [label="Get addresses"]; | ||
39 | tcp -> nat; | ||
40 | } | ||
41 | subgraph cluster3 { | ||
42 | rank = sink; | ||
43 | style=dashed; | ||
44 | color=black; | ||
45 | peer3; | ||
46 | peer1; | ||
47 | peer2; | ||
48 | label="Other peers"; | ||
49 | } | ||
50 | |||
51 | |||
52 | tcp -> peer1 [dir=both]; | ||
53 | udp -> peer2; | ||
54 | transport->peer1 [style=invis]; | ||
55 | } | ||
diff --git a/doc/handbook/images/tng.png b/doc/handbook/images/tng.png new file mode 100644 index 000000000..3b93b77cc --- /dev/null +++ b/doc/handbook/images/tng.png | |||
Binary files differ | |||