summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch
Commit message (Collapse)AuthorAgeFilesLines
* openvswitch: add bash rdependsBruce Ashfield2015-02-221-1/+2
| | | | | | | | Fix the following QA warning: WARNING: QA Issue: openvswitch requires /bin/bash, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: don't pass kernel source or build artifactsBruce Ashfield2015-02-201-1/+1
| | | | | | | | | | | Like the previous versions of OVS, we rely on the virtual/kernel provider to build the appropriate modules. Passing the --with-linux and --with-linux-source breaks builds when the split source/build/build-artifacts are not as expected (and modules are attempted to be built from the wrong directory). To fix this, we simply don't enable those options, and all is well. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ovs: disable dpdk by defaultBruce Ashfield2015-02-201-1/+1
| | | | | | | The dpdk recipes are not commonly available, so we shouldn't have dpdk in the PACKAGECONFIG by default. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: restructure recipesAmy Fong2015-02-034-320/+151
| | | | | | | Add openvswitch.inc, removing common parts out of openvswitch*.bb Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Package openvswitch gitAmy Fong2015-02-035-0/+268
| | | | | | | | This revision corresponds to git rev 1667bb34988358aaf1c92d0d21fad4b1c8698780 (based on 2.3.90) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to latest stable update - v2.1.3Mark Asselstine2014-12-021-2/+2
| | | | | | | | v2.1.3 is listed upstream as "contains only bug fixes for the 2.1.2 release". The only update to the recipe is updated checksums. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to v2.1.2Bruce Ashfield2014-05-143-69/+57
| | | | | | | Updating to the latest OVS 2.x. Only minor patch refreshes required, and no regressions were found during sanity testing. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add ptest supportRadu Patriu2014-04-013-2/+85
| | | | | | | Install openvswitch test suite and run it as ptest. Signed-off-by: Radu Patriu <radu.patriu@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add more target python substitutionsJim Somerville2014-02-052-0/+51
| | | | | | | | | The TARGET_PYTHON variable is used for script substitutions to ensure the scripts will be able to properly execute if the target system has a different path for the python. Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add missing inheritMark Asselstine2013-12-181-1/+1
| | | | | | | | | | | openvswitch requires pkgconfig or you may see an error: configure.ac:53: error: Please install pkg-config. during configure. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: deal with missing RDEPENDS of libpcapMark Asselstine2013-11-192-1/+72
| | | | | | | | | | | | | | | Bitbake was properly detecting a dependency on libpcap but since it was not an explicit RDEPENDS the libpcap package was not being built in all cases which had the potential to break rootfs image building. The obvious solution was to add libpcap to the RDEPENDS but looking upstream it was found that they have removed the use of this library for all but FreeBSD since for other systems it is unused. So using the upstream patch here eliminates the dependency and in turn the issue described above. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: make postinst indentation consistentBruce Ashfield2013-11-131-25/+25
| | | | | | | right or wrong, we shouldn't have a mix of tabs or spaces, so in this cleanup, we'll make them all tabs. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ovs: uprev to 2.0.0Bruce Ashfield2013-11-132-23/+127
| | | | | | | | | | | | | | We update to the latest 2.0 OVS, but we'll keep the existed (better tested) version around until this proves to be stable. As part of this update the openvswitch-add-target-perl-handling.patch has been refreshed, since one of the scripts it patched is no longer part of the package. Finally, we drop PR from the recipe as part of the larger move to PRSERVER based revision numbers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: fix RDEPENDS issue for installers.Paul Barrette2013-10-261-1/+5
| | | | | | | | | | | Make sure openvswitch has all the runtime dependencies defined. Without e.g. sed, an installer may calculate dependencies and order packages based on the deps, which may install openvswitch before sed. This would result in an install failure, when the post install step calls ovs-pki, which uses sed. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ovs: add /run to main packageBruce Ashfield2013-08-151-0/+1
| | | | | | | | In a systemd based build, /var/run is translated to /run. Since ovs doesn't currently package this directory, it results in a QA error. Adding it to the main ovs package fixes the QA issue and provides the proper runtime support. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Ensure pki directory creationMihai Prica2013-07-301-1/+5
| | | | | | | RPM doesn't guarantee the order in which postinstalls are ran. Added code to ensure the pki directory is initialized. Signed-off-by: Mihai Prica <mihai.prica@intel.com>
* openvswitch: Add coreutils runtime dependencyMihai Prica2013-07-301-2/+2
| | | | | | The install and nice programs from coreutils are required by openvswitch. Signed-off-by: Mihai Prica <mihai.prica@intel.com>
* openvswitch: add split between host and target python and perl pathsMark Asselstine2013-06-273-0/+216
| | | | | | | | | | | | | | | | Openvswitch is built with the assumption that the PYTHON and PERL variables are common between the host and target. This can result in improper paths used for script substitutions which in turn causes scripts which will fail to run on the target and the generated packages to have improper REQUIRES, making them impossible to install. These are usually not an issue since python and perl are found in the same location on the host and target, but there is no guarantee of this so the possibility of failure exists. By explicitly defining the location of the python and perl on the target we can avoid these assumptions and possibility of failure. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: remove 1.9 recipeBruce Ashfield2013-06-201-99/+0
| | | | | | | The OVS 1.10 integration has soaked for long enough to be stable, so we can remove the old 1.9 recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Checksum missmatch fixAnders Roxell2013-06-111-2/+2
| | | | | Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to 1.10 and documentation update.Paul Barrette2013-06-031-0/+102
| | | | | | | | | -Uprev to 1.10 -removed vswitch_test.sh -added openvswitch.txt. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: update to version 1.9.0dylanJoe Slater2013-04-281-3/+3
| | | | | | | | | Update recipe to version 1.9.0. Refer to docs/vswitch_test.sh for a sanity test. This package will not be functional unless the openvswitch kernel module is configured into the kernel. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswtich: start openvswitch at the boot timeLei Yang2013-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | When I define the bridge, I get below error root@intel_5500_server:~# ovs-vsctl add-br ovsbr0 Jan 25 17:34:07|00002|stream_unix|ERR|/tmp/stream-unix.1487.0: connection to /var/run/openvswitch/db.sock failed: No such file or directory ........ ........ This is because openvswitch damon isn't running,so we'd better start it at the boot time. The split-package ${PN}-switch ${PN}-controller provide us to start necessary daemon with update-rc.d so we add them to the RDEPENDS. Since openvswitch depends on openvswtich kernel module, so auto load the kernel module too. Signed-off-by: Lei Yang <lei.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added openvswitch recipeDavid Nyström2012-12-076-0/+614
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>