From: Hanoh Haim Date: Wed, 16 Nov 2016 16:02:41 +0000 (+0200) Subject: update topology chart X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=3a0fbd6173971cf7a0923614bbdca7b6721703c4;p=trex.git update topology chart Signed-off-by: Hanoh Haim --- diff --git a/doc/images/topology.png b/doc/images/topology.png new file mode 100644 index 00000000..4e2ee65b Binary files /dev/null and b/doc/images/topology.png differ diff --git a/doc/trex_book.asciidoc b/doc/trex_book.asciidoc index fc69bdf4..a681821d 100755 --- a/doc/trex_book.asciidoc +++ b/doc/trex_book.asciidoc @@ -874,7 +874,8 @@ This feature allows more detailed clustering of clients. Let's look at the following topology: -image:images/client_clustering_topology.png[title="Client Clustering"] +.Topology Example +image:images/topology.png[title="Client Clustering",width=850] We would like to configure two clusters and direct traffic to them. @@ -980,15 +981,22 @@ MACs will be allocated incrementaly, with a wrap around. e.g. -* 16.0.0.1 --> 00:00:00:01:00:00 -* 16.0.0.2 --> 00:00:00:01:00:01 -* 16.0.0.3 --> 00:00:00:01:00:02 -* 16.0.0.4 --> 00:00:00:01:00:03 -* 16.0.0.5 --> 00:00:00:01:00:00 -* 16.0.0.6 --> 00:00:00:01:00:01 +* 16.0.0.1 --> dst_mac: 00:00:00:01:00:00 valn: 100 +* 16.0.0.2 --> dst_mac: 00:00:00:01:00:01 valn: 100 +* 16.0.0.3 --> dst_mac: 00:00:00:01:00:02 valn: 100 +* 16.0.0.4 --> dst_mac: 00:00:00:01:00:03 valn: 100 +* 16.0.0.5 --> dst_mac: 00:00:00:01:00:00 valn: 100 +* 16.0.0.6 --> dst_mac: 00:00:00:01:00:01 valn: 100 + +responder side (from server that was choosen for this client) +* 16.0.0.1 <--- dst_mac(from responder) : "01:00:00:00:02:01" , valn:201 +* 16.0.0.2 <--- dst_mac(from responder) : "01:00:00:00:02:02" , valn:201 and so on. +With this model every client (e.g. 16.0.0.1) will always have the same path, e.g. +c->s side will always have initiator VLAN and init-destination MAC and in the response side (s->c) alway responder-VLAN and responder-MAC + *Usage:* [source,bash] diff --git a/doc/visio_drawings/topology.vsd b/doc/visio_drawings/topology.vsd new file mode 100644 index 00000000..d076023e Binary files /dev/null and b/doc/visio_drawings/topology.vsd differ