-
Notifications
You must be signed in to change notification settings - Fork 27
Plotnetcfg
Nicolas Bonnand edited this page Aug 29, 2018
·
9 revisions
In this example, we have 4 docker containers ( from 10.0.0.2 to 10.0.0.5 ) connected via br0 bridge.
- 10.0.0.2 is connected via P02 port (vlan tag 100)
- 10.0.0.3 is connected via P03 port (vlan tag 200)
- 10.0.0.4 is connected via P04 port (vlan tag 300)
- 10.0.0.5 is connected via P05 (trunk with allowed tags 100 and 200)
In order to automatically generate a nice network graph, we are going to use a third party tool called Plotnetcfg. Please note that Plotnetcfg is not provided with ovs-toolbox. You need to download and install it ! You will also need Graphviz library . See installation notes.
Once this preliminary installation is done, you can use it through ovs-toolbox like this:
- a Select Plotnetcfg tab.
- b Select refresh button to generate and display the graph.
- You can tweak font size, rank separation size, node separation size if you want.
- You can filter out some annoying information that you don't want to display by adding keywords in the filter out field c. After that you need to refresh again by pressing b to recalculate new image.
- If you need generated image for your documentation, you can directly copy it from path d
© 2018 Nicolas Bonnand, licensed under the Apache License, Version 2.0