Diagram the nova net multinode network setup

The nova net multinode network setup is relatively non trivial and a
good diagram goes a long way to helping understand what the network
looks like. Add some ascii art that depicts the network setup to aid in
documentation.

Change-Id: If6ef61b664baec1a6e46eed99f4f2b61f3f29358
This commit is contained in:
Clark Boylan
2015-02-06 11:55:33 -08:00
parent 491e5ade3b
commit a1b5c4f978
2 changed files with 30 additions and 0 deletions

View File

@@ -786,6 +786,9 @@ function remote_copy_file {
# above.
# host_ip: ip address of the bridge host which is reachable for all peer
# every additinal paramater is considered as a peer host
#
# See the nova_network_multihost_diagram.txt file in this repo for an
# illustration of what the network ends up looking like.
function gre_bridge {
local flat_if_name=$1
local pub_if_name=$2

View File

@@ -0,0 +1,27 @@
(172.24.4.2/23)
pub_if Subnode1 flat_if
| |
----------|---------------------------------------------|----------
| g g |
| r r |
gretap_pub_if2 e-pub_if_br_if e gretap_flat_if1
\ | | | /
\p pub_if(172.24.4.1/23) f/
u l
b Primary Node a
| t
/i flat_if |\
/ f | i \
gretap_pub_if4 | flat_if_br_if-f gretap_flat_if3
| b | |
| r b |
| r |
----------|---------------------------------------------|----------
| |
pub_if Subnode2 flat_if
(172.24.4.4/23)
Diagram shows how the primary node acts as two separate network bridges
for all of the subnodes. Note spanning tree is not necessary because no
there is no loop between the flat interface bridge and the pub interface
bridge and there are no loops within each bridge.