In case the ubuntu:16.04 docker image already exists, update
apt cache before installing packages, to prevent stale entries
(packages that meanwhile were bumped to a newer version) from
breaking the build.
Change-Id: Ide95c1ecc76ee542b22f16df0b8d5fc603b4503d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Append "_amd64" (or "_arm64" for binaries built on AArch64) to
the names of plugin archives containing DEB binaries.
E.g. <ovs-dpdk.tar.gz> for <amd64> becomes <ovs-dpdk_amd64.tar.gz>
Change-Id: Ib54e56ad9cc764cf4260b72236e306aaa8857c0e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
- ovs-dpdk/debian/control: Add arm64 to supported arch list
- Dockerfile: For AArch64 native builds, pull Docker image from
"aarch64/ubuntu:16.04".
- install.sh: Simplify and remove version harcodes
Since only one set of packages (DPDK/OVS/OVS-DPDK) is shipped per
archive, we can safely wildcard the installed versions in
install.sh, which previously hardcoded DPDK and OVS versions.
This is helpful for arm64, which has a custom deb subversion
for DPDK and also has different package names ("*_arm64.deb").
- build-ovs-*.sh: Fix debian changelog date formatting (two spaces)
Change-Id: I0f2ade6516040ae6295ca61c37beba1fd87d28c1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
For arm64 builds, some packages are fetched from linux.enea.com,
leading to package version being reported as "older", although in
fact it is newer (dpkg version comparison is not that great with
suffixes). Also, since we don't explicitly add the GPG key of
the linux.enea.com repo yet, apt is complaining about unverified
package sources.
Bypass the above by using "--force-yes", next to "-y".
Change-Id: I4899fe62aaad9a13f8b2f9ffbdf2f3631ecba164
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
ovs with dpdk installation fails due to dpdk dependency change.
To fix this issue, dpdk is built from mos debian. with this fix,
ovs with dpdk can be installed. Another fix is expected to fix new
issue after ovs with dpdk installation.
Change-Id: Ia69bfbf64a820575fd5453f18ad33052a3a490af
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
1. rebase to ovs commit 92043ab8ffd449dfd50c3e716d6db06d04af70d7
2. add DPDK for ovs with NSH
3. clean up later for easy code review
a) change openvswitch-dpdk_2.5.90 to openvswitch_2.6-dpdk_16.07
a) delete dpdk_2.2.0
b) delete openvswitch-nsh-dpdk_2.5.90
Change-Id: I4d8b16a1c2517dba2b9356e6436885b65ac4b307
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Allow configuration to set the core(s) used DPDK PMD threads.
Found in https://jira.opnfv.org/browse/OVSNFV-44
Change-Id: Ia66b42c8ea41af8422e7fc1d3c88e106b7774289
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
$install_on_controller was being compared to a quoted true, and since
true != 'true', the expression always evaluated to false, regardless of
whether the feature was enabled.
Also update the urls from where the scripts are pulled to point to 1.0
version of the plugin.
Change-Id: Ifa961240d1ccd53e56b93d5afae7da0df26c1e34
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
In order to use ODL Boron with the OPNFV SDNVPN features, a newer
version of ovs is required in the controller node, otherwise the DHCP
does not work.
Also, it does not make sense to have 2 different ovs
versions in one deployment.
Change-Id: I454a9e6e577bca65a8ac54a55b44cc40b7f238fa
This should give a good balance between optimization while still
supporting common hardware. See
https://jira.opnfv.org/browse/FUEL-193 for details.
Change-Id: Ide33d56ba1567544b61512d24e2ce5519f23d9b0
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
Post install update all standard flavors to have memory backed with
large pages otherwise they will not run with DPDK-enabled OVS.
Change-Id: I171fbda0e750237dee3c2b8278d4c3354a9378e9
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Remove AVX2 feature usage on non-haswell processors.
Another option supposes to bring in cpu dispatcher in code.
Change-Id: Id28a54fac2c1149636db368c03b2e84f4ed4323a
Rely on fuel allocate_hugepages task and use dpdk init script only for
mounting hugepages.
Change-Id: Id561effae09aca21d82868424f61794e8fb03c32
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit c1e14c9412)
Rely on fuel allocate_hugepages task and use dpdk init script only for
mounting hugepages.
Change-Id: Id561effae09aca21d82868424f61794e8fb03c32
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
See [1] for debian/changelog format.
Signature line should contain the date, separated with 2 spaces,
in RFC 2822 format.
[1] https://www.debian.org/doc/debian-policy/ch-source.html
Change-Id: I1eb79b5f425a1e632588e309a2cc8b0781766131
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>