cosmetic
This commit is contained in:
1 parent
0c02e0ac12
commit
1dde9bfe0b
1 file changed
+15
-15
+15
-15
@@ -107,8 +107,8 @@ MAC discovery.
|
|||||||
|
|
||||||
### <a name="topology"></a>Topology Communication
|
### <a name="topology"></a>Topology Communication
|
||||||
|
|
||||||
Topology is communicated over the TCP links between peers.
|
Topology is communicated over the TCP links between peers. There are
|
||||||
There are two message types:
|
two message types:
|
||||||
|
|
||||||
##### FetchAll
|
##### FetchAll
|
||||||
This carries no payload. The receiver responds with the entire
|
This carries no payload. The receiver responds with the entire
|
||||||
@@ -126,23 +126,23 @@ that have just connected
|
|||||||
* when a connection is deleted - the update contains just the peer
|
* when a connection is deleted - the update contains just the peer
|
||||||
that lost the connection
|
that lost the connection
|
||||||
|
|
||||||
The receiver merges it with its own topology model. If the payload is a
|
The receiver merges it with its own topology model. If the payload is
|
||||||
subset of the receiver's topology, no further action is
|
a subset of the receiver's topology, no further action is
|
||||||
taken. Otherwise, the receiver sends out to all its connections an
|
taken. Otherwise, the receiver sends out to all its connections an
|
||||||
"improved" update:
|
"improved" update:
|
||||||
|
|
||||||
- elements which the original payload added to the
|
- elements which the original payload added to the receiver are
|
||||||
receiver are included
|
included
|
||||||
- elements which the original payload updated in the
|
- elements which the original payload updated in the receiver are
|
||||||
receiver are included
|
included
|
||||||
- elements which are equal between the receiver and
|
- elements which are equal between the receiver and the payload are
|
||||||
the payload are not included
|
not included
|
||||||
- elements where the payload was older than the
|
- elements where the payload was older than the receiver's version
|
||||||
receiver's version are updated
|
are updated
|
||||||
|
|
||||||
If the update mentions a peer that the receiver does not know,
|
If the update mentions a peer that the receiver does not know, then
|
||||||
then the entire update is rejected and the receiver sends a
|
the entire update is rejected and the receiver sends a FetchAll
|
||||||
FetchAll message back to the sender.
|
message back to the sender.
|
||||||
|
|
||||||
#### Message details
|
#### Message details
|
||||||
A topology update message is laid out like this:
|
A topology update message is laid out like this:
|
||||||
|
|||||||
Reference in new issue
Block a user