11 Commits

Author SHA1 Message Date
Benedikt Trefzer
0b1ea47ed2 rework service and fix service for debian jessie
- use ::vswitch::params for service parameters
- on debian jessie openvswitch has now proper init scripts
  with status. This patch avoids restarting ovs on each
  puppet run on jessie.
- this patch breaks debian versions older than wheezy
  (which are not supported by debian anymore)

Change-Id: I48c81b9987935c848009b4bf3ed010c70ab1a404
Co-Authored-By:  Alex Schultz <aschultz@redhat.com>
2016-11-30 23:26:36 -07:00
Saravanan KR
56b2aaa931 Modify the OVS DPDK package name to openvswitch
For Red Hat family, the OVS with DPDK will be provided
in the same package as OVS, named as openvswitch. This
is applicable for OVS2.5 version onwards, targeted for
newton. As of now, Ubuntu is packaging DPDK separately.
After getting clarity on Ubuntu DPDK packaging, the
required changes will be done for Ubuntu also, if any.

Change-Id: I91feedd48949aac520c719ab589a1542462ff887
2016-08-05 16:46:49 +05:30
Saravanan KR
f1c5e34409 OVS DPDK package support with basic options
Puppet changes requierd for supporting OVS DPDK packages. Basic
DPDK_OPTIONS parameters are added (more to come).

Implements: blueprint tripleo-ovs-dpdk

Change-Id: I853517247f2892ad27cff179961d1498456d1cb5
2016-07-15 19:28:20 +05:30
Sofer Athlan-Guyot
a4b436b1aa Include openstacklib defaults manifest.
This provides a mechanism for setting default across all modules.

Change-Id: Icf6689a120324c9c933bbd77d6309a208e47db55
Related-Bug: 1599113
2016-07-08 10:50:37 +02:00
Drew Fisher
1794f54fbe Add Solaris support
This patch adds Solaris support for configuration of openvswitch.

Change-Id: I9372eae6d084443f8e6bc7110b566e69b92d2a99
2016-03-22 12:56:59 -06:00
Athanasios Douitsis
55637faa6f Support for FreeBSD
Experimental support for FreeBSD. Requires a fairly recent version
of FreeBSD with pkgng installed. The ovs commands remain exactly
the same, however it is necessary to replace invocations of the
ip command with and equivalent ifconfig command in FreeBSD. Also,
appropriate setting of the datapath is also required to make a
bridge actually appear as an interface.

Specified the default expected parameters for vswitch::ovs when
used under FreeBSD. Also, some minor changes were made to the
vswitch::ovs parameters, most notably the addition of a status
parameter for the required services (ovs-vswitchd,ovsdb-server).

Change-Id: I4c3923d17ac04402ac94ccea01e1d8ffcb5c0e4f
2015-09-17 17:32:33 +03:00
Benedikt Trefzer
8bdf36261b make dkms on Debian/Ubuntu optional, add tests
Adds a parameter to turn off dkms for kernel
module.
By default the old behaviour of the modules stays.
On RedHat this parameter has no function.

Dkms Package for openvswitch are not available
on Debian newer than wheezy and Ubuntu newer
than utopic (or on backports). Which makes
the manifests fail on these systems whithout
setting dkms_ensure to false.

Add some initial rspec tests.

Change-Id: Id20ed728e9ed416ae0ff40e26d61ba3ca022355c
2015-05-12 03:36:48 +00:00
Sebastien Badia
34694cbb60 Update repo for stackforge migration
* Add gerrit configuration
  * s/Puppetfile/Gemfile: puppetfile with this content is a mistake
  * Fix puppet modulefile (stackforge migration)
  * Add puppet-lint configuration like other puppet projects on stackforge
  * Add Gemlock file
  * And update gitingore
  * Solve lint issues, and minors improvments

    [lint issues]
    * class not documented
    * variable not enclosed in {}
    * double quoted string containing no variables
    * case statement without a default case
    * indentation of => is not properly aligned
    * soft and hard tabs

    [improvments]
    * Use a case instead of a if/if

Change-Id: I58614f7995e6b8f3f7f6426269077810962cc682
2013-10-25 15:34:14 +02:00
Gilles Dubreuil
4923055ae7 Not using Puppet Boolean for now 2013-09-20 16:43:20 +10:00
Gilles Dubreuil
02cbd77594 fixed provider parameter 2013-09-20 15:25:05 +10:00
Dan Bode
9ef62597c8 refactor of ovs module
- remove the port and bridge defines b/c they
created useless abstraction layers.
- add redhat support
2013-04-19 14:32:56 -07:00