aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-networking
AgeCommit message (Collapse)Author
2016-04-19openvswitch: ptest: Fix python pathHe Zhe
Set PYTHON to TARGET_PYTHON for running on target Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-05openvswitch: Fix ptest for v2.5He Zhe
- Copy certain files from srcdir since it has been different from build directory. - Copy more necessary files for new added test cases. - Modify config files for running on target. - Add necessary RDEPENDS Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-31openvswitch: Uprev to latest version 2.5.0He Zhe
Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.5.0) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15openvswitch: enable systemd supportMark Asselstine
Make the necessary updates to get openvswitch to be compatible with systemd. Up to now if you built a systemd supported image openvswitch was using the systemd sysvinit wrappers, by making these changes we now support systemd natively. Note that there is no equivalent systemd support for openvswitch-testcontroller. Following the lead of upstream this is not something that should be run by the init system. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15openvswitch: rename openvswitch-controllerMark Asselstine
As of version 2.4.0 openvswitch-controller has been renamed to openvswitch-testcontroller. This was documented in the upstream 'NEWS': - test-controller has been renamed ovs-testcontroller at request of users who find it useful for testing basic OpenFlow setups. It is still not a necessary or desirable part of most Open vSwitch deployments. Our initscripts and such have continued to reference the old name despite the application name name changing and so openvswitch-controller packaging has been broken for some time now. We rename the openvswitch-controller package to reflect the upstream name change and apply this name change throughout. We also drop the RDEPENDS as the upstream comments also indicate that this package is not needed for a normal openvswitch deployment. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15openvswitch: drop version 1.10.0 and 2.1.3Mark Asselstine
There are some changes that we need to make in the .inc file to properly support more recent releases of openvswitch. These changes are not compatible with these older versions of openvswitch, so rather than make accommodations in the .inc file to continue to support this version we will simply drop them. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-11-03openvswitch: Uprev to latest stable version 2.4.0Jianchuan Wang
Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.4.0) - Remove non_reproducible_builds_cleanup.patch since it have been in the version 2.4.0. Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-26openvsitch: set CONFIGUREOPT_DEPTRACK to emptyRoy Li
compilation failed since the needed dirs maybe not created when make ".in" target, fix it by creating the needed dirs before, but mainstream thinks the needed dirs should be created when do configuration. at last, find CONFIGUREOPT_DEPTRACK disable the creation, so empty it http://openvswitch.org/pipermail/dev/2015-August/059189.html set CONFIGUREOPT_DEPTRACK to empty, is lower effective, but harmless, and can fix the parallel building issue; see oe-core 970e0ae6108[autotools: Disable dependency tracking Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-22openvswitch: add bash rdependsBruce Ashfield
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>
2015-02-20openvswitch: don't pass kernel source or build artifactsBruce Ashfield
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>
2015-02-20ovs: disable dpdk by defaultBruce Ashfield
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>
2015-02-03openvswitch: restructure recipesAmy Fong
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>
2015-02-03Package openvswitch gitAmy Fong
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>
2014-12-02openvswitch: uprev to latest stable update - v2.1.3Mark Asselstine
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>
2014-07-29netcf: remove recipeMaxin B. John
meta-networking layer includes a newer version (0.2.3) of netcf recipe. Since meta-virtualization layer depends on meta-oe/meta-networking layer, we can avoid duplication by removing this recipe. Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-05-14openvswitch: uprev to v2.1.2Bruce Ashfield
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>
2014-05-14netcf: fix autotools B != S build failureBruce Ashfield
For now adding netcf to the list of "brokensep" packages. The install phase fails when autotools split directories are used, so we inherit brokensep to get things building again. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-01openvswitch: add ptest supportRadu Patriu
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>
2014-02-05openvswitch: add more target python substitutionsJim Somerville
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>
2013-12-18openvswitch: add missing inheritMark Asselstine
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>
2013-11-19openvswitch: deal with missing RDEPENDS of libpcapMark Asselstine
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>
2013-11-13openvswitch: make postinst indentation consistentBruce Ashfield
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>
2013-11-13ovs: uprev to 2.0.0Bruce Ashfield
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>
2013-11-03openflow: remove recipe in favour of meta-networking versionBruce Ashfield
An updated version of the openflow recipe has been added to meta-openembedded in the meta-networking layer. commit: 37660c [openflow: import and tweak] in git://git.openembedded.org/meta-openembedded So we can safely remove the meta-virt variant of this recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-26openvswitch: fix RDEPENDS issue for installers.Paul Barrette
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>
2013-08-25Fixed Q&A error for OpenFlow recipeDavid Nyström
Signed-off-by: David Nyström <david.nystrom@enea.com>
2013-08-15ovs: add /run to main packageBruce Ashfield
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>
2013-07-30openvswitch: Ensure pki directory creationMihai Prica
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>
2013-07-30openvswitch: Add coreutils runtime dependencyMihai Prica
The install and nice programs from coreutils are required by openvswitch. Signed-off-by: Mihai Prica <mihai.prica@intel.com>
2013-06-27openvswitch: add split between host and target python and perl pathsMark Asselstine
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>
2013-06-20openvswitch: remove 1.9 recipeBruce Ashfield
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>
2013-06-11openvswitch: Checksum missmatch fixAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-06-03openvswitch: uprev to 1.10 and documentation update.Paul Barrette
-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>
2013-05-24netcf: fix network driver check issue on opensuseTing Liu
Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-04-28openvswitch: update to version 1.9.0dylanJoe Slater
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>
2013-02-01openvswtich: start openvswitch at the boot timeLei Yang
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>
2013-01-18Removed openbsd-netcat since it now recides in meta-networkingDavid Nyström
Signed-off-by: David Nyström <david.nystrom@enea.com>
2012-12-07Added openvswitch recipeDavid Nyström
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-12-07Added openflow recipeDavid Nyström
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-12-07Added openbsd-netcat recipe, libvirt dependencyDavid Nyström
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-12-07Added netcf recipe, libvirt dependencyDavid Nyström
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>