2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00

debian: Move ovs-flowviz to openvswitch-common.

The ovs-flowviz executable Python script is expected to be
executed by the end user.

Surveying where current executable binaries are installed for the
package, the placement of ovs-flowviz in python3-openvswitch
is unexpected to me, other client binaries are shipped inside the
openvswitch-common package.

To me, the python3-openvswitch package represents a library
dependency, which you would install to get the Python ovs module
for your Python application to consume.

This is also the current choice of placement for the downstream
Debian / Ubuntu package [0].

Consequently this patch proposes to move ovs-flowviz and its
manual page to openvswitch-common.

The Python dependencies are added as recommended dependencies,
which will retain good interactive UX, and at the same time allow
non-interactive users to opt out.

0: 353e3d71cc
Signed-off-by: Frode Nordahl <fnordahl@ubuntu.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
Frode Nordahl 2025-01-14 16:03:03 +01:00 committed by Ilya Maximets
parent 96d5bcf991
commit 4ce47bbccf
3 changed files with 6 additions and 5 deletions

6
debian/control.in vendored
View File

@ -47,6 +47,7 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Recommends:
python3-openvswitch (= ${binary:Version}),
${python3:Depends},
Suggests:
ethtool,
@ -283,12 +284,13 @@ Depends:
${misc:Depends},
${python3:Depends},
${shlibs:Depends},
Suggests:
Recommends:
python3-click,
python3-graphviz,
python3-netaddr,
python3-pyparsing,
python3-rich,
Suggests:
python3-graphviz,
python3-unbound,
Description: Python 3 bindings for Open vSwitch
Open vSwitch is a production quality, multilayer, software-based,

View File

@ -1,6 +1,7 @@
etc/bash_completion.d/ovs-appctl-bashcomp.bash usr/share/bash-completion/completions
usr/bin/ovs-appctl
usr/bin/ovs-docker
usr/bin/ovs-flowviz
usr/bin/ovs-ofctl
usr/bin/ovs-parse-backtrace
usr/bin/ovs-pki
@ -20,6 +21,7 @@ usr/share/man/man7/ovsdb-server.7
usr/share/man/man7/ovsdb.7
usr/share/man/man8/ovs-appctl.8
usr/share/man/man8/ovs-bugtool.8
usr/share/man/man8/ovs-flowviz.8
usr/share/man/man8/ovs-ofctl.8
usr/share/man/man8/ovs-parse-backtrace.8
usr/share/man/man8/ovs-pki.8

View File

@ -4,6 +4,3 @@
# dh_python will consolidate into usr/lib/python3/dist-packages retaining
# version specific shared object files.
usr/lib/python3* usr/lib/
usr/bin/ovs-flowviz
usr/share/man/man8/ovs-flowviz.8