mirror of
https://github.com/openvswitch/ovs
synced 2025-09-04 16:25:17 +00:00
python: ovs: flowviz: Add datapath graph format.
Graph view leverages the TreeFlow hierarchy and uses graphviz library to build a visual graph of the datapath tree. Conntrack zones are shown in random colors to help visualize connection tracking interdependencies. An html flag builds an HTML page with both the html flows and the graph (in svg) that enables navigation. Examples: $ ovs-appctl dpctl/dump-flows -m | ovs-flowviz datapath graph | dot -Tpng -o graph.png $ ovs-appctl dpctl/dump-flows -m | ovs-flowviz datapath graph --html > flows.html Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Adrian Moreno <amorenoz@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
f36b06510d
commit
4214bf4b28
@@ -106,7 +106,7 @@ setup_args = dict(
|
||||
'dns': ['unbound'],
|
||||
'flow': flow_extras_require,
|
||||
'flowviz':
|
||||
[*flow_extras_require, 'click', 'rich'],
|
||||
[*flow_extras_require, 'click', 'rich', 'graphviz'],
|
||||
},
|
||||
scripts=["ovs/flowviz/ovs-flowviz"],
|
||||
data_files=["ovs/flowviz/ovs-flowviz.conf"],
|
||||
|
Reference in New Issue
Block a user