From: Ben Warren <b...@skyportsystems.com> This patch set is an attempt at making a 'dev' distribution for OpenVswitch The goal is to provide shared libraries and header files so that third party applications can link in OVS rather than always using the command line utilities.
Changes in v7: - Rebased against TOT Changes in v6: - Rebased against TOT - Squashed several of the intermediate commits, as they provided no real value - Re-ordered patches to hopefully seem more logical - Removed the Debian packaging commits. These will be submitted separately Changes in v5: - Rebased against TOT - Moved the following header files into include/openvswitch: ofp-msgs.h ofp-actions.h ofp-prop.h ofp-print.h Changes in V4: - Fixed up a couple of places where header files in "include/openvswitch" were including non-system files not in that directory. (patches 11, 13 and 14) - Rebased against TOT (affects patches 1 and 3) Changes in V3: - Removed patches that have been applied - Added 'ovs_' prefix to all functions in openvswitch/list.sh - Rebased against TOT Changes in V2: - Work to move all of ofp-util to public include directory - Rebased against TOT Design: Two patterns have been created: - some header files have been broken up into private (lib dir) and public (include/openvswitch dir). - some header files have been moved from 'lib' to 'include/openvswitch'. All header files in 'include' are considered appropriate for third-party inclusion. Caveats: - The header files that have been moved to 'include/openvswitch' are the ones that I'm using in my current project. I'm willing to do the work to move others, but am looking for direction on what should be moved. - Little effort has gone into restricting the list of objects that are exported. All public functions make it into the appropriate .so libraries - This has only been tested on Linux, although I have it running both against an x86_64 target as well as cross-compiled for MIPS64 (Cavium). Ben Warren (3): Move lib/ofp-actions.h to include/openvswitch directory Move lib/ofp-prop.h to include/openvswitch directory Move lib/ofp-print.h to include/openvswitch directory include/openvswitch/automake.mk | 3 + include/openvswitch/ofp-actions.h | 1046 +++++++++++++++++++++++++++++++++++++ include/openvswitch/ofp-print.h | 58 ++ include/openvswitch/ofp-prop.h | 138 +++++ lib/automake.mk | 3 - lib/bundle.c | 10 +- lib/dpif-netdev.c | 11 +- lib/dpif.c | 2 +- lib/learn.c | 8 +- lib/learning-switch.c | 4 +- lib/multipath.c | 8 +- lib/netdev-dpdk.c | 6 +- lib/netdev-dummy.c | 8 +- lib/nx-match.c | 10 +- lib/ofp-actions.c | 12 +- lib/ofp-actions.h | 1046 ------------------------------------- lib/ofp-parse.c | 12 +- lib/ofp-print.c | 10 +- lib/ofp-print.h | 58 -- lib/ofp-prop.c | 3 +- lib/ofp-prop.h | 138 ----- lib/ofp-util.c | 8 +- lib/stream.c | 8 +- lib/vconn.c | 2 +- ofproto/bond.c | 21 +- ofproto/bundles.c | 5 +- ofproto/connmgr.c | 9 +- ofproto/fail-open.c | 12 +- ofproto/in-band.c | 8 +- ofproto/ofproto-dpif-rid.h | 4 +- ofproto/ofproto-dpif-xlate.c | 16 +- ofproto/ofproto-dpif.c | 26 +- ofproto/ofproto-provider.h | 4 +- ofproto/ofproto.c | 11 +- ovn/controller/lflow.c | 4 +- ovn/controller/ofctrl.c | 6 +- ovn/controller/physical.c | 8 +- ovn/controller/pinctrl.c | 4 +- ovn/lib/actions.c | 6 +- ovn/lib/expr.c | 6 +- tests/test-bundle.c | 4 +- tests/test-flows.c | 8 +- tests/test-multipath.c | 4 +- tests/test-ovn.c | 8 +- third-party/ofp-tcpdump.patch | 2 +- utilities/ovs-ofctl.c | 6 +- vswitchd/bridge.c | 22 +- 47 files changed, 1404 insertions(+), 1412 deletions(-) create mode 100644 include/openvswitch/ofp-actions.h create mode 100644 include/openvswitch/ofp-print.h create mode 100644 include/openvswitch/ofp-prop.h delete mode 100644 lib/ofp-actions.h delete mode 100644 lib/ofp-print.h delete mode 100644 lib/ofp-prop.h -- 2.5.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev